Here is the log output for a consistent crash on my device (Google Nexus 5x). If I’m reading the log correctly, it’s trying to allocate memory (this happens as it’s switching scenes), and since libunity.so is the culprit, this isn’t something I can fix?
Per the logs, you can see the game is using ~47mb of memory, which doesn’t seem excessive? Also based on the log screen, you can see the exact adb logcat settings I’m debugging with.
I’ve tried:
Unity 5.6.3f1, 2017.1, 2017.2, it crashes on all versions.
Not doing anything exotic, Internal build system, it’s on Mono2x backend, .Net 2.0 subset, no stripping etc.
I can run the same level for hours no crash, it only happens upon level switch (where it appears to be trying to clear and reallocate memory).
Any ideas? Have I read the logs correctly and this is a Unity bug outside of my control?
Just a bumpity bump, am I correct in the above post in determining it’s a Unity bug that I can’t fix and I should just submit a bug report to Unity?
Can confirm this happens on multiple devices, same crash, same conditions.
Most certainly submit it.
Don’t forget to attach the project that reproduces it (If you’re able, stripping it down to smallest reproducible version really helps), devices that experience this (Sometimes helps to narrow down on the problem) and if there are any special steps to do for reproducing this.
Also, post the Case ID : )
UPDATE: Submitted, Case 947531. I stripped it down to 2gigs from 4gigs so it took hours to send, but I did it!
hi,@valdas_Unity
I met this problem, too.if you have the method to solve please let me know.Thanks a lot.
3436699–271730–error.txt (187 KB)
Stack trace looks different. Crashes in
ZN9BltDevice17ExecFastCopyBlockEPvPKvjjjjPK7BltRectS5
If you have a project and repro steps please submit, and leave case number here so we can check it out : )
akarshj
September 24, 2018, 7:39am
7
Hi,
I met this problem, too.if you have the method to solve please let me know.
Thanks a lot.
akarshj
September 24, 2018, 12:03pm
8
my log are like these:
Build fingerprint: ‘Xiaomi/beryllium/beryllium:8.1.0/OPM1.171019.011/V9.6.14.0.OEJMIFD:user/release-keys’
Revision: ‘0’
ABI: ‘arm’
pid: 20569, tid: 20628, name: UnityGfxDeviceW >>> com.AlgorinTechlabs.bricks.game <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xca280000
r0 bcb9f8a0 r1 ca27fff0 r2 00000740 r3 64646948
r4 492f6e65 r5 7265746e r6 2d6c616e r7 54495547
r8 75747865 r9 00001000 sl 00000001 fp 00000001
ip 6c426572 sp c947e6b4 lr 00007469 pc edb761e6 cpsr 200e0030
backtrace:
#00 pc 000191e6 /system/lib/libc.so (__memcpy_base_aligned+69)
#01 pc 001ecfcf /vendor/lib/egl/libGLESv2_adreno.so (BltDevice::ExecFastSwCopy(BltExecSwCopy*)+346)
#02 pc 001e897b /vendor/lib/egl/libGLESv2_adreno.so (BltDevice::ExecSwCopyInternal(BltExecSwCopy*)+6506)
#03 pc 001f1be1 /vendor/lib/egl/libGLESv2_adreno.so (BltDevice::ExecSwCopy(BltExecSwCopy*)+576)
#04 pc 001ac0c5 /vendor/lib/egl/libGLESv2_adreno.so (EsxBltLib::CopyHostPtrBltSw(EsxBltCopyHostPtr const*)+8852)
#05 pc 001593f1 /vendor/lib/egl/libGLESv2_adreno.so (EsxResource::UpdateSubResourceDirect(EsxContext*, unsigned int, EsxBox const*, EsxSurfaceAccessDesc const*, int)+1648)
#06 pc 000e23ab /vendor/lib/egl/libGLESv2_adreno.so (EsxContext::UpdateSubResource(EsxResource*, unsigned int, EsxBox const*, EsxSurfaceAccessDesc const*)+894)
#07 pc 0017c207 /vendor/lib/egl/libGLESv2_adreno.so (EsxBufferObject::Update(EsxContext*, unsigned long long, unsigned int, void const*)+260)
#08 pc 0009dabf /vendor/lib/egl/libGLESv2_adreno.so (EsxContext::GlBufferData(unsigned int, long, void const*, unsigned int)+338)
#09 pc 000966fd /vendor/lib/egl/libGLESv2_adreno.so (glBufferData+40)
#10 pc 005632f0 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#11 pc 0053b8f4 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#12 pc 0053b804 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#13 pc 0054ad4c /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#14 pc 0054c2a4 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#15 pc 002aa23c /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#16 pc 002a93d4 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#17 pc 004745fc /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#18 pc 005319e0 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#19 pc 00535c64 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#20 pc 0052e10c /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#21 pc 003e7b9c /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#22 pc 000482f3 /system/lib/libc.so (__pthread_start(void*)+22)
#23 pc 0001b5f7 /system/lib/libc.so (__start_thread+32)
akarshj:
my log are like these:
This is a different problem from the once that started the post. Please submit a bug report.
akarshj:
my log are like these:
Build fingerprint: ‘Xiaomi/beryllium/beryllium:8.1.0/OPM1.171019.011/V9.6.14.0.OEJMIFD:user/release-keys’
Revision: ‘0’
ABI: ‘arm’
pid: 20569, tid: 20628, name: UnityGfxDeviceW >>> com.AlgorinTechlabs.bricks.game <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xca280000
r0 bcb9f8a0 r1 ca27fff0 r2 00000740 r3 64646948
r4 492f6e65 r5 7265746e r6 2d6c616e r7 54495547
r8 75747865 r9 00001000 sl 00000001 fp 00000001
ip 6c426572 sp c947e6b4 lr 00007469 pc edb761e6 cpsr 200e0030
backtrace:
#00 pc 000191e6 /system/lib/libc.so (__memcpy_base_aligned+69)
#01 pc 001ecfcf /vendor/lib/egl/libGLESv2_adreno.so (BltDevice::ExecFastSwCopy(BltExecSwCopy*)+346)
#02 pc 001e897b /vendor/lib/egl/libGLESv2_adreno.so (BltDevice::ExecSwCopyInternal(BltExecSwCopy*)+6506)
#03 pc 001f1be1 /vendor/lib/egl/libGLESv2_adreno.so (BltDevice::ExecSwCopy(BltExecSwCopy*)+576)
#04 pc 001ac0c5 /vendor/lib/egl/libGLESv2_adreno.so (EsxBltLib::CopyHostPtrBltSw(EsxBltCopyHostPtr const*)+8852)
#05 pc 001593f1 /vendor/lib/egl/libGLESv2_adreno.so (EsxResource::UpdateSubResourceDirect(EsxContext*, unsigned int, EsxBox const*, EsxSurfaceAccessDesc const*, int)+1648)
#06 pc 000e23ab /vendor/lib/egl/libGLESv2_adreno.so (EsxContext::UpdateSubResource(EsxResource*, unsigned int, EsxBox const*, EsxSurfaceAccessDesc const*)+894)
#07 pc 0017c207 /vendor/lib/egl/libGLESv2_adreno.so (EsxBufferObject::Update(EsxContext*, unsigned long long, unsigned int, void const*)+260)
#08 pc 0009dabf /vendor/lib/egl/libGLESv2_adreno.so (EsxContext::GlBufferData(unsigned int, long, void const*, unsigned int)+338)
#09 pc 000966fd /vendor/lib/egl/libGLESv2_adreno.so (glBufferData+40)
#10 pc 005632f0 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#11 pc 0053b8f4 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#12 pc 0053b804 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#13 pc 0054ad4c /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#14 pc 0054c2a4 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#15 pc 002aa23c /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#16 pc 002a93d4 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#17 pc 004745fc /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#18 pc 005319e0 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#19 pc 00535c64 /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#20 pc 0052e10c /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#21 pc 003e7b9c /data/app/com.algorintechlabs.justkhel-tZLnlvR4NaC7sH9aheeUXA==/lib/arm/libunity.so
#22 pc 000482f3 /system/lib/libc.so (__pthread_start(void*)+22)
#23 pc 0001b5f7 /system/lib/libc.so (__start_thread+32)
I have the same problem, Have you fixed this bug?