App on Android crashed on startup after several build
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
Hello Gree. Thank you for this awesome works which being maintained by your team! I found this issue regarding the plugin.
I am using Windows 10, Unity 2017.1 for my development environment and Xiaomi Mi4c for my device. At first the plugin worked well, but after I built the app several times (as I can't use this plugin in Windows), it got crashed on startup.
I was using Build and Run from Unity directly to my device (the webview was running while I built the app). After using adb-logcat I found this crash information
--------- beginning of crash
10-04 08:07:52.914 13149 13165 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xc6800000 in tid 13165 (UnityMain)
10-04 08:07:52.914 380 380 W : debuggerd: handling request: pid=13149 uid=10368 gid=10368 tid=13165
10-04 08:07:53.002 13215 13215 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-04 08:07:53.002 13215 13215 F DEBUG : Build fingerprint: 'Xiaomi/libra/libra:7.0/NRD90M/V8.5.1.0.NXKCNED:user/release-keys'
10-04 08:07:53.002 13215 13215 F DEBUG : Revision: '0'
10-04 08:07:53.002 13215 13215 F DEBUG : ABI: 'arm'
10-04 08:07:53.002 13215 13215 F DEBUG : pid: 13149, tid: 13165, name: UnityMain >>> com.prahasta.webapp <<<
10-04 08:07:53.002 13215 13215 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc6800000
10-04 08:07:53.003 13215 13215 F DEBUG : r0 bdfda100 r1 c67ffff0 r2 00000ec0 r3 00000000
10-04 08:07:53.003 13215 13215 F DEBUG : r4 c6800ed0 r5 bdfdb000 r6 00000001 r7 00001000
10-04 08:07:53.003 13215 13215 F DEBUG : r8 00000001 r9 00001000 sl 00001000 fp e393cd7c
10-04 08:07:53.003 13215 13215 F DEBUG : ip d6a77eb4 sp e393c900 lr d697a30f pc e599658c cpsr 200b0010
10-04 08:07:53.008 13215 13215 F DEBUG :
10-04 08:07:53.008 13215 13215 F DEBUG : backtrace:
10-04 08:07:53.008 13215 13215 F DEBUG : #00 pc 0001758c /system/lib/libc.so (memcpy+100)
10-04 08:07:53.008 13215 13215 F DEBUG : #01 pc 0015630b /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN9BltDevice17ExecFastCopyBlockEPvPKvjjjjPK7BltRectS5_i+106)
10-04 08:07:53.009 13215 13215 F DEBUG : #02 pc 0015678d /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN9BltDevice14ExecFastSwCopyEP13BltExecSwCopy+844)
10-04 08:07:53.009 13215 13215 F DEBUG : #03 pc 0015c4c5 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN9BltDevice18ExecSwCopyInternalEP13BltExecSwCopy+7076)
10-04 08:07:53.009 13215 13215 F DEBUG : #04 pc 0015c60f /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN9BltDevice10ExecSwCopyEP13BltExecSwCopy+174)
10-04 08:07:53.009 13215 13215 F DEBUG : #05 pc 00131ba3 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN9EsxBltLib16CopyHostPtrBltSwEPK17EsxBltCopyHostPtr+1218)
10-04 08:07:53.009 13215 13215 F DEBUG : #06 pc 00105f8b /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN11EsxResource23UpdateSubResourceDirectEP10EsxContextjPK6EsxBoxPK20EsxSurfaceAccessDesci+650)
10-04 08:07:53.009 13215 13215 F DEBUG : #07 pc 000c65d5 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxContext17UpdateSubResourceEP11EsxResourcejPK6EsxBoxPK20EsxSurfaceAccessDesc+788)
10-04 08:07:53.009 13215 13215 F DEBUG : #08 pc 00118513 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN15EsxBufferObject6UpdateEP10EsxContextyjPKv+114)
10-04 08:07:53.009 13215 13215 F DEBUG : #09 pc 000ae985 /system/vendor/lib/egl/libGLESv2_adreno.so (_ZN10EsxContext12GlBufferDataEjlPKvj+100)
10-04 08:07:53.009 13215 13215 F DEBUG : #10 pc 00096c81 /system/vendor/lib/egl/libGLESv2_adreno.so (glBufferData+32)
10-04 08:07:53.009 13215 13215 F DEBUG : #11 pc 005d7cc8 /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.009 13215 13215 F DEBUG : #12 pc 005adbe4 /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.009 13215 13215 F DEBUG : #13 pc 005adb0c /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.009 13215 13215 F DEBUG : #14 pc 005bd6ec /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.009 13215 13215 F DEBUG : #15 pc 005beb80 /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.009 13215 13215 F DEBUG : #16 pc 002b42bc /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.009 13215 13215 F DEBUG : #17 pc 002b33f8 /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.010 13215 13215 F DEBUG : #18 pc 00492764 /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.010 13215 13215 F DEBUG : #19 pc 0025a208 /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.010 13215 13215 F DEBUG : #20 pc 00224194 /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.010 13215 13215 F DEBUG : #21 pc 00634ec0 /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.010 13215 13215 F DEBUG : #22 pc 006373a0 /data/app/com.prahasta.webapp-2/lib/arm/libunity.so
10-04 08:07:53.010 13215 13215 F DEBUG : #23 pc 0004e261 /data/app/com.prahasta.webapp-2/oat/arm/base.odex (offset 0x4d000)
strangely after I rebooted my device, the app survived the startup screen and can be played again. I don't really know whether it caused by this plugin or not, but I found this crash happened after I put this plugin into our project. I hope it could help you out.
Thank you!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the startup crash with Unity 2017.1 using Build and Run on the Xiaomi Mi4c, then collect the output with adb-logcat. Compare runs with and without the plugin to determine whether it is involved; done means the cause is isolated and the repeated-build startup crash is reliably prevented or documented as external.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, unity
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100