Forums - Snapdragon Profiler 1.7 Connection Results in App Crashes

4 posts / 0 new
Last post
Snapdragon Profiler 1.7 Connection Results in App Crashes
ryan_dawson
Join Date: 15 May 17
Posts: 1
Posted: Wed, 2017-06-14 14:44

With Snapdragon Profiler 1.7 connected to my development Samsung Galaxy S7 Edge (SM-G935A) running Nougat my Unity game and the Oculus Home app both crash upon launch. Below is an excerpt of the crash information from a logcat capture. I attempted to use the profiler's Submit Feedback functionality but it hanging on Collecting Log and never completes. Is there anyway I can workaround this issue?

In-house App Crash:

06-14 14:27:56.567: E/OpenGLRenderer(12740): GL error:  GL_INVALID_OPERATION

06-14 14:27:56.567: A/OpenGLRenderer(12740): GL errors! frameworks/base/libs/hwui/renderthread/CanvasContext.cpp:544
06-14 14:27:56.567: A/OpenGLRenderer(12740): --------- beginning of crash
06-14 14:27:56.567: A/libc(12740): Fatal signal 6 (SIGABRT), code -6 in tid 12760 (RenderThread)
06-14 14:27:56.569: W/(606): debuggerd: handling request: pid=12740 uid=10217 gid=10217 tid=12760
06-14 14:27:56.639: D/LockSettingsStorage(1556): mSKTLockState = 2
06-14 14:27:56.642: D/LockSettingsStorage(1556): mSKTLockState = 2
06-14 14:27:56.650: A/DEBUG(12768): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-14 14:27:56.650: A/DEBUG(12768): Build fingerprint: 'samsung/hero2qlteuc/hero2qlteatt:7.0/NRD90M/G935AUCU4BQA6:user/release-keys'
06-14 14:27:56.650: A/DEBUG(12768): Revision: '15'
06-14 14:27:56.650: A/DEBUG(12768): ABI: 'arm'
06-14 14:27:56.650: A/DEBUG(12768): pid: 12740, tid: 12760, name: RenderThread  >>> com.petroglyph.vrbasewar <<<
06-14 14:27:56.650: A/DEBUG(12768): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
06-14 14:27:56.654: A/DEBUG(12768): Abort message: 'GL errors! frameworks/base/libs/hwui/renderthread/CanvasContext.cpp:544'
06-14 14:27:56.654: A/DEBUG(12768):     r0 00000000  r1 000031d8  r2 00000006  r3 00000008
06-14 14:27:56.654: A/DEBUG(12768):     r4 df8d2978  r5 00000006  r6 df8d2920  r7 0000010c
06-14 14:27:56.654: A/DEBUG(12768):     r8 ddb16000  r9 00000000  sl ea462fc4  fp ea462fc0
06-14 14:27:56.654: A/DEBUG(12768):     ip 00000000  sp df8d1f40  lr eafe06f7  pc eafe2f78  cpsr 00010010
06-14 14:27:56.663: A/DEBUG(12768): backtrace:
06-14 14:27:56.663: A/DEBUG(12768):     #00 pc 00049f78  /system/lib/libc.so (tgkill+12)
06-14 14:27:56.663: A/DEBUG(12768):     #01 pc 000476f3  /system/lib/libc.so (pthread_kill+34)
06-14 14:27:56.663: A/DEBUG(12768):     #02 pc 0001d829  /system/lib/libc.so (raise+10)
06-14 14:27:56.663: A/DEBUG(12768):     #03 pc 00019321  /system/lib/libc.so (__libc_android_abort+34)
06-14 14:27:56.663: A/DEBUG(12768):     #04 pc 00017388  /system/lib/libc.so (abort+4)
06-14 14:27:56.663: A/DEBUG(12768):     #05 pc 0000c8c9  /system/lib/libcutils.so (__android_log_assert+112)
06-14 14:27:56.663: A/DEBUG(12768):     #06 pc 00024bf5  /system/lib/libhwui.so
06-14 14:27:56.663: A/DEBUG(12768):     #07 pc 00026473  /system/lib/libhwui.so
06-14 14:27:56.663: A/DEBUG(12768):     #08 pc 000298d5  /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+80)
06-14 14:27:56.663: A/DEBUG(12768):     #09 pc 0000e349  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
06-14 14:27:56.663: A/DEBUG(12768):     #10 pc 00069971  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
06-14 14:27:56.663: A/DEBUG(12768):     #11 pc 000471c3  /system/lib/libc.so (_ZL15__pthread_startPv+22)
06-14 14:27:56.663: A/DEBUG(12768):     #12 pc 00019d99  /system/lib/libc.so (__start_thread+6)
 
Oculus Home Crash:
06-14 14:29:04.483: E/OpenGLRenderer(13217): GL error:  GL_INVALID_OPERATION
06-14 14:29:04.483: A/OpenGLRenderer(13217): GL errors! frameworks/base/libs/hwui/renderthread/CanvasContext.cpp:544
06-14 14:29:05.441: A/libc(13217): Fatal signal 6 (SIGABRT), code -6 in tid 13315 (RenderThread)
06-14 14:29:05.546: A/DEBUG(13396): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-14 14:29:05.546: A/DEBUG(13396): Build fingerprint: 'samsung/hero2qlteuc/hero2qlteatt:7.0/NRD90M/G935AUCU4BQA6:user/release-keys'
06-14 14:29:05.546: A/DEBUG(13396): Revision: '15'
06-14 14:29:05.546: A/DEBUG(13396): ABI: 'arm'
06-14 14:29:05.546: A/DEBUG(13396): pid: 13217, tid: 13315, name: RenderThread  >>> com.oculus.vrshell <<<
06-14 14:29:05.546: A/DEBUG(13396): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
06-14 14:29:05.551: A/DEBUG(13396): Abort message: 'GL errors! frameworks/base/libs/hwui/renderthread/CanvasContext.cpp:544'
06-14 14:29:05.551: A/DEBUG(13396):     r0 00000000  r1 00003403  r2 00000006  r3 c7e25c90
06-14 14:29:05.551: A/DEBUG(13396):     r4 c7e25b80  r5 c7e25c00  r6 00003403  r7 0000016b
06-14 14:29:05.551: A/DEBUG(13396):     r8 c7e25c00  r9 c7e25b80  sl 00003403  fp 00000006
06-14 14:29:05.551: A/DEBUG(13396):     ip c7e25b68  sp c7e25b58  lr ed872a9d  pc ed8aac30  cpsr 20010010
06-14 14:29:05.560: A/DEBUG(13396): backtrace:
06-14 14:29:05.561: A/DEBUG(13396):     #00 pc 0003ac30  /system/bin/linker (__dl_syscall+32)
06-14 14:29:05.561: A/DEBUG(13396):     #01 pc 00002a99  /system/bin/linker (__dl__ZL24debuggerd_signal_handleriP7siginfoPv+588)
06-14 14:29:05.561: A/DEBUG(13396):     #02 pc 0000f669  /data/app/com.oculus.vrshell-1/lib/arm/libbreakpad.so
06-14 14:29:05.561: A/DEBUG(13396):     #03 pc 000173f8  /system/lib/libc.so
06-14 14:29:05.561: A/DEBUG(13396):     #04 pc 00049f74  /system/lib/libc.so (tgkill+8)
06-14 14:29:05.561: A/DEBUG(13396):     #05 pc 000476f3  /system/lib/libc.so (pthread_kill+34)
06-14 14:29:05.561: A/DEBUG(13396):     #06 pc 0001d829  /system/lib/libc.so (raise+10)
06-14 14:29:05.561: A/DEBUG(13396):     #07 pc 00019321  /system/lib/libc.so (__libc_android_abort+34)
06-14 14:29:05.561: A/DEBUG(13396):     #08 pc 00017388  /system/lib/libc.so (abort+4)
06-14 14:29:05.561: A/DEBUG(13396):     #09 pc 0000c8c9  /system/lib/libcutils.so (__android_log_assert+112)
06-14 14:29:05.561: A/DEBUG(13396):     #10 pc 00024bf5  /system/lib/libhwui.so
06-14 14:29:05.561: A/DEBUG(13396):     #11 pc 00026473  /system/lib/libhwui.so
06-14 14:29:05.561: A/DEBUG(13396):     #12 pc 000298d5  /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+80)
06-14 14:29:05.561: A/DEBUG(13396):     #13 pc 0000e349  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
06-14 14:29:05.561: A/DEBUG(13396):     #14 pc 00069971  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
06-14 14:29:05.561: A/DEBUG(13396):     #15 pc 000471c3  /system/lib/libc.so (_ZL15__pthread_startPv+22)
06-14 14:29:05.561: A/DEBUG(13396):     #16 pc 00019d99  /system/lib/libc.so (__start_thread+6)
 
  • Up0
  • Down0
chrisvarns
Join Date: 21 Jun 17
Posts: 4
Posted: Thu, 2017-08-31 03:12

I'm getting the same crash. Did you ever get around it?

  • Up0
  • Down0
BenM
Join Date: 12 May 16
Posts: 29
Posted: Thu, 2017-08-31 10:50

Sorry it is crashing on connect for you!  This may be related to an issue regarding the use of binary programs/shaders.  Try clearing the app cache for each these apps before re-starting SDP.  You may have to do this each time.  We are currently working on a more permanent fix for this particular issue (if that is inded the issue you are running into). 

In the meantime, let us know if this helps.

Cheers,

Ben

  • Up0
  • Down0
chrisvarns
Join Date: 21 Jun 17
Posts: 4
Posted: Sat, 2017-10-07 11:27

Hi,

I finally got around to giving this a try. I cleared the data for my app, then on subsequent launches, the behaviour changed; it still crashed, but it said that "Package installer keeps crashing". Once I cleared the data for that as well, it launched successfully.

This worked until the next time I launched Snapdragon Profiler, when it started crashing again. Note I had not cleared the data since the last successful run with Snapdragon Profiler. This time however, it was only necessary to clear the data for my application, NOT Package installer, for it to launch successfully again.

Thanks for the workaround!

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.