Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug LocalFileSystemPosix::Read(FileEntryData&, VFS::FileSize, unsigned long, void*, unsigned long*, File

Discussion in 'Unity Analytics' started by Hariharan5142, Mar 20, 2024.

  1. Hariharan5142

    Hariharan5142

    Joined:
    Apr 20, 2023
    Posts:
    4
    Hi there,

    I encountered a crash with the following stack trace:

    Crashed: Thread: SIGTRAP 0x00002929000057dc
    #00 pc 0xdd9b8 libc.so (BuildId: b1d7ec252d7b460a539cf3a520c06bb8)
    #01 pc 0x65ebcc libunity.so (LocalFileSystemPosix::Read(FileEntryData&, VFS::FileSize, unsigned long, void*, unsigned long*, FileReadFlags)) (BuildId: 253f5c56b953c84e)
    #02 pc 0x15caffd libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #03 pc 0xf4a8dc libunity.so (DebugStringToFile(DebugStringToFileData const&)) (BuildId: 253f5c56b953c84e)
    #04 pc 0x15cdffc libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #05 pc 0x65b0fc libunity.so (ArchiveStorageReader::FillChunkCachedBlock(ArchiveStorageReader::CachedBlock*, ArchiveStorageReader::BatchingFileReader*)) (BuildId: 253f5c56b953c84e)
    #06 pc 0x1713be libunity.so (BuildId: 253f5c56b953c84e)
    #07 pc 0x1713be libunity.so (BuildId: 253f5c56b953c84e)
    #08 pc 0x1713be libunity.so (BuildId: 253f5c56b953c84e)
    #09 pc 0x4bbc20 libunity.so (MemoryManager::Allocate(unsigned long, unsigned long, MemLabelId, AllocateOptions, char const*, int)) (BuildId: 253f5c56b953c84e)
    #10 pc 0x1712fc libunity.so (BuildId: 253f5c56b953c84e)
    #11 pc 0x4658b0 libunity.so (core::StringStorageDefault<char>::grow(unsigned long)) (BuildId: 253f5c56b953c84e)
    #12 pc 0x465738 libunity.so (core::StringStorageDefault<char>::assign(char const*, unsigned long)) (BuildId: 253f5c56b953c84e)
    #13 pc 0xdb966 libunity.so (BuildId: 253f5c56b953c84e)
    #14 pc 0x5d6160 libunity.so (CachedReader::OutOfBoundsError(unsigned long, unsigned long)) (BuildId: 253f5c56b953c84e)
    #15 pc 0x1713be libunity.so (BuildId: 253f5c56b953c84e)
    #16 pc 0x1713be libunity.so (BuildId: 253f5c56b953c84e)
    #17 pc 0x1713be libunity.so (BuildId: 253f5c56b953c84e)
    #18 pc 0x1713be libunity.so (BuildId: 253f5c56b953c84e)
    #19 pc 0x1713be libunity.so (BuildId: 253f5c56b953c84e)
    #20 pc 0x1713be libunity.so (BuildId: 253f5c56b953c84e)
    #21 pc 0x1713be libunity.so (BuildId: 253f5c56b953c84e)
    #22 pc 0x4baffd libunity.so (DynamicHeapAllocator::printDetailedMemoryStatistics(int)) (BuildId: 253f5c56b953c84e)
    #23 pc 0x5d6370 libunity.so (CachedReader::Read(void*, unsigned long)) (BuildId: 253f5c56b953c84e)
    #24 pc 0x4cb5b4 libunity.so (void StreamedBinaryRead::TransferSTLStyleArray<core::string_with_label<1, char> >(core::string_with_label<1, char>&, TransferMetaFlags)) (BuildId: 253f5c56b953c84e)
    #25 pc 0x4c83dc libunity.so (void NamedObject::Transfer<StreamedBinaryRead>(StreamedBinaryRead&)) (BuildId: 253f5c56b953c84e)
    #26 pc 0xf70368 libunity.so (void Shader::Transfer<StreamedBinaryRead>(StreamedBinaryRead&)) (BuildId: 253f5c56b953c84e)
    #27 pc 0xa5a11c libunity.so (PooledFileCacherRead::LockCacheBlock(unsigned long, unsigned char**, unsigned char**)) (BuildId: 253f5c56b953c84e)
    #28 pc 0x5d5ea4 libunity.so (CachedReader::SetPosition(unsigned long)) (BuildId: 253f5c56b953c84e)
    #29 pc 0x710cf4 libunity.so (SerializedFile::ReadObject(long, ObjectCreationMode, bool, TypeTree const**, bool*, Object&, CacheReaderBase*) const) (BuildId: 253f5c56b953c84e)
    #30 pc 0x150efac libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #31 pc 0x150ef0c libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #32 pc 0x54b027 libunity.so (void Renderer::Transfer<StreamedBinaryRead>(StreamedBinaryRead&)) (BuildId: 253f5c56b953c84e)
    #33 pc 0x521afc libunity.so (AsyncUploadTexture(Texture&, unsigned int, bool)) (BuildId: 253f5c56b953c84e)
    #34 pc 0x70a114 libunity.so (PersistentManager::Unlock(PersistentManager::LockFlags)) (BuildId: 253f5c56b953c84e)
    #35 pc 0x70a4f4 libunity.so (PersistentManager::CreateThreadActivationQueueEntry(SerializedFile&, SerializedObjectIdentifier, int, bool, PersistentManager::LockFlags)) (BuildId: 253f5c56b953c84e)
    #36 pc 0x70aad4 libunity.so (PersistentManager::ReadAndActivateObjectThreaded(int, SerializedObjectIdentifier const&, SerializedFile*, bool, bool, PersistentManager::LockFlags)) (BuildId: 253f5c56b953c84e)
    #37 pc 0x70acec libunity.so (PersistentManager::LoadObjectsThreaded(int const*, int, LoadProgress&, bool, PersistentManager::LockFlags, bool)) (BuildId: 253f5c56b953c84e)
    #38 pc 0x5c8254 libunity.so (LoadSceneOperation::perform()) (BuildId: 253f5c56b953c84e)
    #39 pc 0x150fa9c libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #40 pc 0x7075f0 libunity.so (PathNamePersistentManager::InsertPathNameInternal(core::basic_string_ref<char>, bool)) (BuildId: 253f5c56b953c84e)
    #41 pc 0x708b84 libunity.so (PersistentManager::RemoveObjectsFromPath(core::basic_string_ref<char>)) (BuildId: 253f5c56b953c84e)
    #42 pc 0x4bc0e8 libunity.so (MemoryManager::Deallocate(void*, MemLabelId, char const*, int)) (BuildId: 253f5c56b953c84e)
    #43 pc 0x708b98 libunity.so (PersistentManager::RemoveObjectsFromPath(core::basic_string_ref<char>)) (BuildId: 253f5c56b953c84e)
    #44 pc 0x152b322 libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #45 pc 0x1529aec libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #46 pc 0x5baffd libunity.so (PlayerRenderUIEPanelOverlays()) (BuildId: 253f5c56b953c84e)
    #47 pc 0x5c9c54 libunity.so (PreloadManager::processSingleOperation()) (BuildId: 253f5c56b953c84e)
    #48 pc 0x15297bc libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #49 pc 0x5c99dc libunity.so (PreloadManager::Run()) (BuildId: 253f5c56b953c84e)
    #50 pc 0x1549c94 libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #51 pc 0x15297bc libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #52 pc 0x74fbfc libunity.so (PlatformThread::Enter(Thread const*)) (BuildId: 253f5c56b953c84e)
    #53 pc 0x5c9934 libunity.so (PreloadManager::Run(void*)) (BuildId: 253f5c56b953c84e)
    #54 pc 0x15297bc libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #55 pc 0x666f5c libunity.so (Thread::RunThreadWrapper(void*)) (BuildId: 253f5c56b953c84e)
    #56 pc 0x17352a libunity.so (BuildId: 253f5c56b953c84e)
    #57 pc 0x15919c4 libunity.so (__CortexA53843419_1497004) (BuildId: 253f5c56b953c84e)
    #58 pc 0xf4510 libc.so (BuildId: b1d7ec252d7b460a539cf3a520c06bb8)
    #59 pc 0xf44cc libc.so (BuildId: b1d7ec252d7b460a539cf3a520c06bb8)
    #60 pc 0x8ef34 libc.so (BuildId: b1d7ec252d7b460a539cf3a520c06bb8)
    #61 pc 0x666e80 libunity.so (CurrentThreadIsMainThread()) (BuildId: 253f5c56b953c84e)

    The crash was reported on Firebase Crashlytics, and I've already uploaded symbol files to Crashlytics for better symbolication.

    Any assistance in identifying the root cause of this issue would be greatly appreciated. Thank you in advance for your help!
     

    Attached Files: