Search Issue Tracker

Not Reproducible

Votes

0

Found in

2019.4

2019.4.35f1

2020.3

2021.2

2022.1

2022.2

Issue ID

1414826

Regression

No

[Android] App crashes with signal 11 error when UnityWebrequest is aborted on devices targeting ARMv7 Architecture

Android

-

How to reproduce:
1. Download the attached project 'uwr_test.zip'
2. Build and Run on Android
3. Press the button to start the download (device needs to be connected to the internet)
4. When the download starts (response code will be shown as 200), wait 2-3 seconds and abort it by pressing the same button

Expected result: The app does not crash
Actual result: The app crashes with stacktrace:
libunity.block_merge_next(block_merge_next:18)
libunity.tlsf_free(tlsf_free:92)
libunity.DynamicHeapAllocator::Deallocate(void*)(Deallocate:408)
libunity.DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate(void*)(TryDeallocate:134)
libunity.MemoryManager::Deallocate(void*, MemLabelId const&, char const*, int)(Deallocate:180)

Reproducible with: 2019.4.37f1, 2020.3.32f1, 2021.2.17f1, 2022.1.0b14, 2022.2.0a9

Reproducible with:
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
N/A, Huawei - (NOH-NX9), Android 10, CPU: NOT FOUND, GPU: Mali-G78

Note:
- The download can also crash without aborting but it does not show any stacktrace
- In Unity 2020.3.32f1, 2021.2.17f1 and 2022.1.0b14 the crash does not produce stacktrace and the app crashes without aborting download more frequently
- Reproducible with IL2CPP and Mono Scripting backends
- Reproducible when targeting ARMv7 Architecture, does not reproduce when targeting ARM64

  1. Resolution Note (2022.2.X):

    This project is downloading Ubuntu installer (at least looks like from it) and keeps whole of it in memory.
    The link in project was down for me, so I switched to one from ubuntu.com.
    The ISO file is 3.1GB in size, which should be impossible on ARMv7, where app is limited to 4GB total. Out of memory is expected here.
    The actual stacktrace looks a bit suspicious though.
    Can you try reproducing this downloading something that is few hundred MB in size. If it doesn't repro with such sizes, then pretty sure it's out of memory.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.