Forums - Adreno Profiler v2.8 crash on Android

6 posts / 0 new
Last post
Adreno Profiler v2.8 crash on Android
LeighMcRae
Join Date: 24 Oct 11
Posts: 1
Posted: Wed, 2012-10-17 07:12

Hi,

I get a crash when trying to profile my Android OpenGL ES 2.0 native app.  The profiler connects fine but when I try and create a Grapher the driver crashes in eglSwapBuffers.  Scrubber v2.x works somewhat.  All the API calls and data are capture but the actual screen shows black. Tried toggling stuff and checking for EGL or GL error codes. Below is some info. I will email a detailed hardware report if requested.

Thanks


 

PC:

================

Adreno Profiler Version 2.8.4666.18363

Windows 7 Home Premium

Version 6.1.7601 SP 1 Build 7601

Intel i7-2600K CPU

NVIDIA GeForce GTX 550 Ti (Driver 8.17.13.142)


 

Phone:

================

HTC One X with Android 4.0.3

NDK r8b

Targeting Android 2.3.3


 

LogCat:

PC:

================


 

10-17 09:25:35.405: I/LocSvc_adapter(444): I/<--- void globalRespCb(void*, uint32_t, locClientRespIndUnionType, void*) line 111 QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_REQ_V02

10-17 09:25:35.405: V/LocSvc_adapter(444): V/void globalRespCb(void*, uint32_t, locClientRespIndUnionType, void*):117] client = 0x1128ac8, resp id = 53, client cookie ptr = 0x11286a8

10-17 09:25:35.405: V/LocSvc_api_v02(444): V/locClientGetSizeByRespIndId:1843]: resp ind Id 53 size = 8

10-17 09:25:35.405: D/LocSvc_api_v02(444): D/loc_free_slot:298]: freeing slot 0

10-17 09:25:35.405: D/LocSvc_adapter(444): D/virtual loc_api_adapter_err LocApiV02Adapter::setXtraData(char*, int):1132]: XTRA injected length: 37888

10-17 09:25:35.405: D/LocSvc_adapter(444): D/[virtual loc_api_adapter_err LocApiV02Adapter::setXtraData(char*, int):1108] part 38/38, len = 602, total injected = 37888

10-17 09:25:35.405: V/LocSvc_api_v02(444): V/validateRequest:1160]: reqId = 53

10-17 09:25:35.405: V/LocSvc_api_v02(444): V/validateRequest:1397]: reqId=53, len = 1044

10-17 09:25:35.405: V/LocSvc_api_v02(444): V/locClientSendReq:1791] sending reqId= 53, len = 1044

10-17 09:25:35.405: I/LocSvc_api_v02(444): I/---> locClientSendReq line 1797 QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_REQ_V02

10-17 09:25:35.405: D/QMI_FW(444): QCCI: Sent[244]: 1060 bytes to port 2816

10-17 09:25:35.405: D/QMI_FW(444): QCCI: reader_thread: Received 14 bytes from 244

10-17 09:25:35.405: D/QMI_FW(444): QCCI: QMI_CCI_RX: cntl_flag - 02, txn_id - 01fc, msg_id - 0035, msg_len - 0007

10-17 09:25:35.405: D/QMI_FW(444): QCCI: reader_thread: Received 19 bytes from 244

10-17 09:25:35.405: D/QMI_FW(444): QCCI: QMI_CCI_RX: cntl_flag - 04, txn_id - 0000, msg_id - 0035, msg_len - 000c

10-17 09:25:35.405: D/QMI_FW(444): QCCI: QMI_CCI_TX: cntl_flag - 00, txn_id - 01fd, msg_id - 0035, msg_len - 0277

10-17 09:25:35.405: D/QMI_FW(444): QCCI: Sent[244]: 638 bytes to port 2816

10-17 09:25:35.415: V/LocSvc_api_v02(444): V/locClientSendReq:1809] qmi_client_send_msg_sync returned 0

10-17 09:25:35.415: V/LocSvc_api_v02(444): V/convertQmiResponseToLocStatus:492]: result = 0, error = 6011, status = 0

10-17 09:25:35.415: D/QMI_FW(444): QCCI: reader_thread: Received 14 bytes from 244

10-17 09:25:35.415: D/QMI_FW(444): QCCI: QMI_CCI_RX: cntl_flag - 02, txn_id - 01fd, msg_id - 0035, msg_len - 0007

10-17 09:25:35.775: V/LocSvc_api_v02(444): V/locClientIndCb:969]: Indication: msg_id=53 buf_len=12 pCallbackData = 0x1128ac8

10-17 09:25:35.775: V/LocSvc_api_v02(444): V/locClientGetSizeByRespIndId:1843]: resp ind Id 53 size = 8

10-17 09:25:35.775: V/LocSvc_api_v02(444): V/locClientGetSizeAndTypeByIndId:410]: indId 53 is a resp size = 8

10-17 09:25:35.775: I/LocSvc_adapter(444): I/<--- void globalRespCb(void*, uint32_t, locClientRespIndUnionType, void*) line 111 QMI_LOC_INJECT_PREDICTED_ORBITS_DATA_REQ_V02

10-17 09:25:35.775: V/LocSvc_adapter(444): V/void globalRespCb(void*, uint32_t, locClientRespIndUnionType, void*):117] client = 0x1128ac8, resp id = 53, client cookie ptr = 0x11286a8

10-17 09:25:35.775: V/LocSvc_api_v02(444): V/locClientGetSizeByRespIndId:1843]: resp ind Id 53 size = 8

10-17 09:25:35.775: D/LocSvc_api_v02(444): D/loc_free_slot:298]: freeing slot 0

10-17 09:25:35.775: D/LocSvc_adapter(444): D/virtual loc_api_adapter_err LocApiV02Adapter::setXtraData(char*, int):1132]: XTRA injected length: 38490

10-17 09:25:35.775: D/LocSvc_eng(444): D/[Loc_eng] HTC_GPS_STATUS_INJECT_XTRA_DATA, status= 0

10-17 09:25:35.775: D/GpsLocationProvider(444): [JNI]htcstatus_callback+

10-17 09:25:35.775: D/GpsLocationProvider(444): reportHTCStatus eventMask= 3 status=0

10-17 09:25:35.775: D/GpsLocationProvider(444): [reportHTCStatus]HTC_GPS_STATUS_INJECT_XTRA_DATA

10-17 09:25:35.775: D/GpsLocationProvider(444): [JNI]htcstatus_callback-

10-17 09:25:35.775: D/LocSvc_eng(444): D/void loc_eng_deferred_action_thread(void*):1443] 13461 listening ...

10-17 09:25:35.775: D/LocSvc_utils_q(444): D/msg_q_rcv: Waiting on message

10-17 09:25:35.775: D/QMI_FW(444): QCCI: reader_thread: Received 19 bytes from 244

10-17 09:25:35.775: D/QMI_FW(444): QCCI: QMI_CCI_RX: cntl_flag - 04, txn_id - 0000, msg_id - 0035, msg_len - 000c

10-17 09:25:37.557: A/libc(12435): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)

10-17 09:25:37.557: I/DEBUG(21121): handle_crashing_process(8)

10-17 09:25:37.557: I/DEBUG(21121): reading tid

10-17 09:25:37.557: I/DEBUG(21121): BOOM: pid=12435 uid=10186 gid=10186 tid=12484

10-17 09:25:37.557: I/DEBUG(21121): not ready yet

10-17 09:25:37.757: I/DEBUG(21121): waitpid: n=12484 status=0000137f

10-17 09:25:37.757: I/DEBUG(21121): stopped -- continuing

10-17 09:25:37.757: I/DEBUG(21121): not ready yet

10-17 09:25:37.927: D/WifiStateMachine(444): fetchRssiAndLinkSpeedNative RSSI = -45

10-17 09:25:37.957: I/DEBUG(21121): waitpid: n=12484 status=00000b7f

10-17 09:25:37.957: I/DEBUG(21121): stopped -- fatal signal

10-17 09:25:37.987: I/DEBUG(21121): debuggerd: 2012-10-17 09:25:37

10-17 09:25:37.987: I/DEBUG(21121): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

10-17 09:25:37.987: I/DEBUG(21121): Build fingerprint: 'rogers_wwe/evita/evita:4.0.3/IML74K/76063.3:user/release-keys'

10-17 09:25:37.987: I/DEBUG(21121): pid: 12435, tid: 12484 >>> com.lonedwarfgames.tankrecon2 <<<

10-17 09:25:37.987: I/DEBUG(21121): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000

10-17 09:25:37.987: I/DEBUG(21121): r0 015af888 r1 00000000 r2 00fc0173 r3 51fdd24d

10-17 09:25:37.997: I/DEBUG(21121): r4 00000000 r5 00000000 r6 00000000 r7 007ede78

10-17 09:25:37.997: I/DEBUG(21121): r8 00000020 r9 015af9b8 10 00000002 fp 015afa18

10-17 09:25:37.997: I/DEBUG(21121): ip ffffffe0 sp 52974824 lr 51fc433d pc 51fdd25e cpsr 60000030

10-17 09:25:37.997: I/DEBUG(21121): d0 0000000000000000 d1 0000000000000000

10-17 09:25:37.997: I/DEBUG(21121): d2 0000000000000000 d3 0000000000000000

10-17 09:25:37.997: I/DEBUG(21121): d4 0000000000000000 d5 0000000000000000

10-17 09:25:37.997: I/DEBUG(21121): d6 0000000000000000 d7 0000000000000000

10-17 09:25:38.007: I/DEBUG(21121): d8 0000000000000000 d9 0000000000000000

10-17 09:25:38.007: I/DEBUG(21121): d10 0000000000000000 d11 0000000000000000

10-17 09:25:38.007: I/DEBUG(21121): d12 0000000000000000 d13 0000000000000000

10-17 09:25:38.007: I/DEBUG(21121): d14 0000000000000000 d15 0000000000000000

10-17 09:25:38.007: I/DEBUG(21121): d16 40c84c75c28f5c29 d17 4073c00000000000

10-17 09:25:38.007: I/DEBUG(21121): d18 4059000000000000 d19 c02c000000000000

10-17 09:25:38.017: I/DEBUG(21121): d20 0000000000000000 d21 0000000000000000

10-17 09:25:38.017: I/DEBUG(21121): d22 0000000000000000 d23 0000000000000000

10-17 09:25:38.017: I/DEBUG(21121): d24 0000000000000000 d25 0000000000000000

10-17 09:25:38.017: I/DEBUG(21121): d26 0000000000000000 d27 0000000000000000

10-17 09:25:38.017: I/DEBUG(21121): d28 0100010001000100 d29 0100010001000100

10-17 09:25:38.017: I/DEBUG(21121): d30 0000000000000000 d31 0000000000000000

10-17 09:25:38.017: I/DEBUG(21121): scr 60000012

10-17 09:25:38.298: I/DEBUG(21121): #00 pc 0005525e /system/lib/egl/libGLESv2_adreno200.so (leia_perfcounter_fetch_results)

10-17 09:25:38.298: I/DEBUG(21121): #01 pc 0003c33a /system/lib/egl/libGLESv2_adreno200.so (rb_perfcounter_fetch_results)

10-17 09:25:38.298: I/DEBUG(21121): #02 pc 0003c68a /system/lib/egl/libGLESv2_adreno200.so (rb_perfcounter_getdata)

10-17 09:25:38.298: I/DEBUG(21121): #03 pc 0002afe2 /system/lib/egl/libGLESv2_adreno200.so (qgl2DrvAPI_glGetPerfMonitorCounterDataAMD)

10-17 09:25:38.298: I/DEBUG(21121): #04 pc 0000e2ca /system/lib/egl/libq3dtools_adreno200.so (q3dToolsDrvGetCounterData)

10-17 09:25:38.298: I/DEBUG(21121): #05 pc 0000e7d8 /system/lib/egl/libq3dtools_adreno200.so

10-17 09:25:38.298: I/DEBUG(21121): #06 pc 0000e83c /system/lib/egl/libq3dtools_adreno200.so (q3dToolsMonitorQueueFlush)

10-17 09:25:38.298: I/DEBUG(21121): #07 pc 0000ce58 /system/lib/egl/libq3dtools_adreno200.so (q3dToolsSync)

10-17 09:25:38.298: I/DEBUG(21121): #08 pc 0000d1f8 /system/lib/egl/libq3dtools_adreno200.so (q3dToolsNewFrame)

10-17 09:25:38.298: I/DEBUG(21121): #09 pc 000119b4 /system/lib/egl/libq3dtools_adreno200.so (qeglShimAPI_eglSwapBuffers)

10-17 09:25:38.298: I/DEBUG(21121): #10 pc 000055f8 /system/lib/egl/libEGL_adreno200.so (eglSwapBuffers)

10-17 09:25:38.308: I/DEBUG(21121): #11 pc 0000cc80 /system/lib/libEGL.so (eglSwapBuffers)

10-17 09:25:38.308: I/DEBUG(21121): #12 pc 00076fec /data/data/com.lonedwarfgames.tankrecon2/lib/libtankrecon2.so (_ZN5dwarf8graphics21AndroidGraphicsDevice10swapBufferEv)

10-17 09:25:38.308: I/DEBUG(21121): #13 pc 00094b58 /data/data/com.lonedwarfgames.tankrecon2/lib/libtankrecon2.so (_ZN10tankrecon213TanksSceneJob5onRunERN5dwarf8graphics14GraphicsDeviceE)

10-17 09:25:38.308: I/DEBUG(21121): code around pc:

10-17 09:25:38.308: I/DEBUG(21121): 51fdd23c bf00bd10 00038cdc 0003800e 000381dc ................

10-17 09:25:38.308: I/DEBUG(21121): 51fdd24c 43f0e92d 0654f8d0 6901e015 68062400 -..C..T....i.$.h

10-17 09:25:38.308: I/DEBUG(21121): 51fdd25c 680969c5 f851e00b 22007c08 3c04f851 .i.h..Q..|."Q..<

10-17 09:25:38.308: I/DEBUG(21121): 51fdd26c 0807eb12 0900f143 e8e53401 31088902 ....C....4.....1

10-17 09:25:38.308: I/DEBUG(21121): 51fdd27c dbf042b4 28006a80 e8bdd1e7 bf0083f0 .B...j.(........

10-17 09:25:38.308: I/DEBUG(21121): code around lr:

10-17 09:25:38.308: I/DEBUG(21121): 51fc431c 699b4623 d403065b 37f8f8d0 e0014798 #F.i[......7.G..

10-17 09:25:38.308: I/DEBUG(21121): 51fc432c 30fff04f bf00bd70 f8d0b510 479837fc O..0p........7.G

10-17 09:25:38.308: I/DEBUG(21121): 51fc433c bf00bd10 f8d0b510 46084800 461a4611 .........H.F.F.F

10-17 09:25:38.308: I/DEBUG(21121): 51fc434c bd1047a0 9c05b513 f8d09400 46084804 .G...........H.F

10-17 09:25:38.308: I/DEBUG(21121): 51fc435c 461a4611 47a09b04 bf00bd1c f8d0b510 .F.F...G........

10-17 09:25:38.308: I/DEBUG(21121): stack:

10-17 09:25:38.318: I/DEBUG(21121): 529747e4 00000000

10-17 09:25:38.318: I/DEBUG(21121): 529747e8 0000003f

10-17 09:25:38.318: I/DEBUG(21121): 529747ec 51d1b4b4 /system/lib/libgsl.so

10-17 09:25:38.318: I/DEBUG(21121): 529747f0 51d24114 /system/lib/libgsl.so

10-17 09:25:38.318: I/DEBUG(21121): 529747f4 ffffffff

10-17 09:25:38.318: I/DEBUG(21121): 529747f8 520152d8 /system/lib/egl/libGLESv2_adreno200.so

10-17 09:25:38.318: I/DEBUG(21121): 529747fc ffffffe0

10-17 09:25:38.318: I/DEBUG(21121): 52974800 52974870

10-17 09:25:38.318: I/DEBUG(21121): 52974804 00e28400 [heap]

10-17 09:25:38.318: I/DEBUG(21121): 52974808 00fc0173 [heap]

10-17 09:25:38.318: I/DEBUG(21121): 5297480c 00000002

10-17 09:25:38.318: I/DEBUG(21121): 52974810 52019108

10-17 09:25:38.318: I/DEBUG(21121): 52974814 00000020

10-17 09:25:38.318: I/DEBUG(21121): 52974818 df0027ad

10-17 09:25:38.318: I/DEBUG(21121): 5297481c 00000000

10-17 09:25:38.318: I/DEBUG(21121): 52974820 015afa18 [heap]

10-17 09:25:38.318: I/DEBUG(21121): #00 52974824 00e28400 [heap]

10-17 09:25:38.328: I/DEBUG(21121): 52974828 015b0140 [heap]

10-17 09:25:38.328: I/DEBUG(21121): 5297482c 00000002

10-17 09:25:38.328: I/DEBUG(21121): 52974830 007ede78 [heap]

10-17 09:25:38.328: I/DEBUG(21121): 52974834 00000020

10-17 09:25:38.328: I/DEBUG(21121): 52974838 015af9b8 [heap]

10-17 09:25:38.328: I/DEBUG(21121): 5297483c 51fc433d /system/lib/egl/libGLESv2_adreno200.so

10-17 09:25:38.328: I/DEBUG(21121): #01 52974840 00e28400 [heap]

10-17 09:25:38.328: I/DEBUG(21121): 52974844 51fc468f /system/lib/egl/libGLESv2_adreno200.so

10-17 09:25:40.891: I/BootReceiver(444): Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)

10-17 09:25:40.901: I/DEBUG(21121): detaching

10-17 09:25:40.911: I/DEBUG(21121): waiting for connection

  • Up0
  • Down0
Dave Astle
Profile picture
Join Date: 19 Oct 12
Location: San Diego, CA
Posts: 99
Posted: Fri, 2012-10-19 10:53

Hi! Sorry you're having problems. We'll look into this. Can you send me your contact details? [email protected]. We may need to get your .apk to duplicate the problem. 

Thanks!

  • Up0
  • Down0
Vitaly
Join Date: 17 Oct 12
Posts: 6
Posted: Sun, 2012-10-21 07:56

Hi,

get crash on win7 x64 when adrenoprofiler tries to connect to the device. Tested on two devices(HTC Sensation, Sony Xperia Neo) both have android 4.0.3 installed.

Thanks.

  • Up0
  • Down0
Dave Astle
Profile picture
Join Date: 19 Oct 12
Location: San Diego, CA
Posts: 99
Posted: Mon, 2012-10-22 07:33

Hi Vitaly,

Can you try updating your .NET runtime, and see if that fixes it?

  • Up0
  • Down0
Manjuladevi Kuttuva
Profile picture
Join Date: 26 Oct 12
Location: San Diego
Posts: 5
Posted: Fri, 2012-10-26 16:22

Hi Vitaly,

What is your system Locale set to? You could check it by going to Control Panel -> Region and Language -> Formats tab and check what is chosen for Format. If it is anything other than "English (United States)" please try the following:

1. Close Adreno Profiler if it is open.

2. Open Control Panel and change the format mentioned above to "English (United States)". 

3. Press "Apply"

4. Start Adreno Profiler and try connecting to the device.

 

 

  • Up0
  • Down0
Vitaly
Join Date: 17 Oct 12
Posts: 6
Posted: Sat, 2012-10-27 02:28

Hi Dave!

I've changed the format to English and it solved my problem, thank you very much!

 

  • 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.