Search Issue Tracker
Fixed
Fixed in 2021.3.35f1, 2022.3.18f1
Votes
7
Found in
2021.3.33f1
2022.3.14f1
Issue ID
UUM-57566
Regression
No
[Android] Virtual device crashes with "Scudo ERROR: invalid chunk state when deallocating address" error in Firebase Test Lab when Optimized Frame Pacing is enabled
Steps to reproduce
1. Open the attached “PreLaunchErrorBug” in the Android platform
2. Ensure Build App Bundle is enabled and Build the project
3. Create a Firebase account and project if not created
4. Open Firebase → Test Lab
5. Press Run A Test → Robo
6. Add the created AAB file and press Continue
7. Click Customize and add any device that the issue is reproducible with
8. Press the Confirm button at the top of the screen
9. Start 1 test and wait for report
Expected result: The app passed testing
Actual result: The app crashed during testing
Reproducible with: 2021.3.33f1, 2022.3.14f1
Not reproducible with: 2023.1.0a1, 2023.2.2f1, 2023.3.0a16
Testing environment: macOS Sonoma 14 (Intel)
Not reproducible on: No other environment tested
Reproducible with devices:
Pixel 2 (Arm), Virtual, API Level 33
Medium Tablet, 10in/25cm (Arm), Virtual, API Level 33
Medium Tablet, 10in/25cm (Arm), Virtual, API Level 34
Small Phone, 4.7in/12cm (Arm), Virtual, API Level 33
Small Phone, 4.7in/12cm (Arm), Virtual, API Level 34
Not reproducible with devices:
Pixel 2 (Arm), Virtual, API Level 31
Pixel 2 (Arm), Virtual, API Level 32
Medium Phone, 6.4in/16cm (Arm), Virtual, API Level 33
Medium Phone, 6.4in/16cm (Arm), Virtual, API Level 34
Medium Tablet, 10in/25cm (Arm), Virtual, API Level 32
Notes:
- Not reproducible when Project settings → Player → Resolution and Presentation → Optimized Frame Pacing is disabled
- Couldn’t find any physical devices, that the issue would reproduce
- Reproducible with only >=33 API level
- Not reproducible with Android Studio virtual devices
First few lines of crash stack trace:
11-28 02:48:52.207: E/CRASH(9666): #00 pc 0000000000051994 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 01331f74b0bb2cb958bdc15282b8ec7b)
11-28 02:48:52.207: E/CRASH(9666): #01 pc 0000000000041814 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::map(void*, unsigned long, char const*, unsigned long, scudo::MapPlatformData*)) (BuildId: 01331f74b0bb2cb958bdc15282b8ec7b)
11-28 02:48:52.207: E/CRASH(9666): #02 pc 0000000000041ec0 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportError(char const*)) (BuildId: 01331f74b0bb2cb958bdc15282b8ec7b)
11-28 02:48:52.207: E/CRASH(9666): #03 pc 0000000000042220 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::stringifyAction(scudo::AllocatorAction)) (BuildId: 01331f74b0bb2cb958bdc15282b8ec7b)
11-28 02:48:52.207: E/CRASH(9666): #04 pc 0000000000043a20 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator<scudo::AndroidConfig, &(scudo_malloc_postinit)>::deallocate(void*, scudo::Chunk::Origin, unsigned long, unsigned long)+308) (BuildId: 01331f74b0bb2cb958bdc15282b8ec7b)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment