Cannot launch gdbserver

Hi~
My Visual Studio Edition version is 3.2
I can’t debug on my rooted device
“Cannot launch gdbserver: all options have failed.”
“Failed to attch: Failed to start debug server on the device”


2015-11-19 15:04:23.4341|INFO|Nvidia.PentaK.Utilities.RedirProcess|1213-exited: code 0, finished in 94 ms
2015-11-19 15:04:23.4341|INFO|Nvidia.PentaK.Target.Android.AndroidDevice|gdbserver connection type: cable
2015-11-19 15:04:23.4341|INFO|Nvidia.PentaK.Utilities.RedirProcess|1214-launch: D:\SDK\NVPACK\android-sdk-windows\platform-tools\adb.exe “-s PR6PWKTK99999999 forward tcp:2020 tcp:2020” [D:\SDK\NVPACK\android-sdk-windows\platform-tools]
2015-11-19 15:04:23.4821|INFO|Nvidia.PentaK.Utilities.RedirProcess|1214-stdout:

2015-11-19 15:04:23.4821|INFO|Nvidia.PentaK.Utilities.RedirProcess|1214-stderr:

2015-11-19 15:04:23.4821|INFO|Nvidia.PentaK.Utilities.RedirProcess|1214-exited: code 0, finished in 46 ms
2015-11-19 15:04:23.4821|INFO|Nvidia.PentaK.Utilities.RedirProcess|1215-launch: D:\SDK\NVPACK\android-sdk-windows\platform-tools\adb.exe “-s PR6PWKTK99999999 push “E:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\NVIDIA\NSIGHT TEGRA\3.2\Debuggers\arm\gdbserver” “/data/local/tmp/gdbserver”” [D:\SDK\NVPACK\android-sdk-windows\platform-tools]
2015-11-19 15:04:23.8942|INFO|Nvidia.PentaK.Utilities.RedirProcess|1215-stdout:

2015-11-19 15:04:23.8942|INFO|Nvidia.PentaK.Utilities.RedirProcess|1215-stderr:
3184 KB/s (1161108 bytes in 0.356s)

2015-11-19 15:04:23.8942|INFO|Nvidia.PentaK.Utilities.RedirProcess|1215-exited: code 0, finished in 406 ms
2015-11-19 15:04:23.8942|INFO|Nvidia.PentaK.Utilities.RedirProcess|1216-launch: D:\SDK\NVPACK\android-sdk-windows\platform-tools\adb.exe “-s PR6PWKTK99999999 shell chmod 777 /data/local/tmp/gdbserver” [D:\SDK\NVPACK\android-sdk-windows\platform-tools]
2015-11-19 15:04:23.9572|INFO|Nvidia.PentaK.Utilities.RedirProcess|1216-stdout:

2015-11-19 15:04:23.9572|INFO|Nvidia.PentaK.Utilities.RedirProcess|1216-stderr:

2015-11-19 15:04:23.9572|INFO|Nvidia.PentaK.Utilities.RedirProcess|1216-exited: code 0, finished in 62 ms
2015-11-19 15:04:23.9572|INFO|Nvidia.PentaK.Target.Android.AndroidDebuggingStrategy|Trying /data/local/tmp/gdbserver
2015-11-19 15:04:24.0222|WARN|Nvidia.PentaK.Target.Android.AndroidDebuggingStrategy|Failed: Unknown id: :2020
2015-11-19 15:04:24.0222|INFO|Nvidia.PentaK.Utilities.RedirProcess|1217-launch: D:\SDK\NVPACK\android-sdk-windows\platform-tools\adb.exe “-s PR6PWKTK99999999 shell su -c cp /data/local/tmp/gdbserver /data/data/com.YourCompany.Mobile/gdbserver” [D:\SDK\NVPACK\android-sdk-windows\platform-tools]
2015-11-19 15:04:24.0882|INFO|Nvidia.PentaK.Utilities.RedirProcess|1217-stdout:
Unknown id: /data/local/tmp/gdbserver

2015-11-19 15:04:24.0882|INFO|Nvidia.PentaK.Utilities.RedirProcess|1217-stderr:

2015-11-19 15:04:24.0882|INFO|Nvidia.PentaK.Utilities.RedirProcess|1217-exited: code 0, finished in 63 ms
2015-11-19 15:04:24.0882|INFO|Nvidia.PentaK.Utilities.RedirProcess|1218-launch: D:\SDK\NVPACK\android-sdk-windows\platform-tools\adb.exe “-s PR6PWKTK99999999 shell su -c chmod 777 /data/data/com.YourCompany.Mobile/gdbserver” [D:\SDK\NVPACK\android-sdk-windows\platform-tools]
2015-11-19 15:04:24.1672|INFO|Nvidia.PentaK.Utilities.RedirProcess|1218-stderr:

2015-11-19 15:04:24.1672|INFO|Nvidia.PentaK.Utilities.RedirProcess|1218-stdout:
Usage: chmod [OPTION]
-R, --recursive change files and directories recursively
–help display this help and exit

2015-11-19 15:04:24.1672|INFO|Nvidia.PentaK.Utilities.RedirProcess|1218-exited: code 0, finished in 78 ms
2015-11-19 15:04:24.1672|INFO|Nvidia.PentaK.Target.Android.AndroidDebuggingStrategy|Trying /data/data/com.YourCompany.Mobile/gdbserver
2015-11-19 15:04:24.2332|WARN|Nvidia.PentaK.Target.Android.AndroidDebuggingStrategy|Failed: Unknown id: :2020
2015-11-19 15:04:24.2332|INFO|Nvidia.PentaK.Utilities.RedirProcess|1219-launch: D:\SDK\NVPACK\android-sdk-windows\platform-tools\adb.exe “-s PR6PWKTK99999999 shell cat /data/local/tmp/gdbserver | run-as com.YourCompany.Mobile sh -c ‘cat > /data/data/com.YourCompany.Mobile/gdbserver’” [D:\SDK\NVPACK\android-sdk-windows\platform-tools]
2015-11-19 15:04:24.4452|INFO|Nvidia.PentaK.Utilities.RedirProcess|1219-stdout:
/system/bin/sh: can’t create /data/data/com.YourCompany.Mobile/gdbserver’: Permission denied
/system/bin/sh: cat: : Broken pipe

2015-11-19 15:04:24.4582|INFO|Nvidia.PentaK.Utilities.RedirProcess|1219-exited: code 0, finished in 234 ms
2015-11-19 15:04:24.4582|INFO|Nvidia.PentaK.Utilities.RedirProcess|1220-launch: D:\SDK\NVPACK\android-sdk-windows\platform-tools\adb.exe “-s PR6PWKTK99999999 shell su -c chmod 777 /data/data/com.YourCompany.Mobile/gdbserver” [D:\SDK\NVPACK\android-sdk-windows\platform-tools]
2015-11-19 15:04:24.4582|INFO|Nvidia.PentaK.Utilities.RedirProcess|1219-stderr:

2015-11-19 15:04:24.6772|INFO|Nvidia.PentaK.Utilities.RedirProcess|1220-stderr:

2015-11-19 15:04:24.6772|INFO|Nvidia.PentaK.Utilities.RedirProcess|1220-stdout:
Usage: chmod [OPTION]
-R, --recursive change files and directories recursively
–help display this help and exit

2015-11-19 15:04:24.6772|INFO|Nvidia.PentaK.Utilities.RedirProcess|1220-exited: code 0, finished in 219 ms
2015-11-19 15:04:24.6772|INFO|Nvidia.PentaK.Target.Android.AndroidDebuggingStrategy|Trying /data/data/com.YourCompany.Mobile/gdbserver
2015-11-19 15:04:24.7622|WARN|Nvidia.PentaK.Target.Android.AndroidDebuggingStrategy|Failed: Unknown id: :2020
2015-11-19 15:04:24.7622|INFO|Nvidia.PentaK.Target.Android.AndroidDebuggingStrategy|Trying /data/data/com.YourCompany.Mobile/lib/gdbserver
2015-11-19 15:04:24.8322|WARN|Nvidia.PentaK.Target.Android.AndroidDebuggingStrategy|Failed: Unknown id: :2020
2015-11-19 15:04:24.8322|WARN|Nvidia.PentaK.Target.Android.AndroidDebuggingStrategy|All options have failed
2015-11-19 15:04:24.8322|INFO|Nvidia.PentaK.Utilities.RedirProcess|1221-launch: D:\SDK\NVPACK\android-sdk-windows\platform-tools\adb.exe “-s PR6PWKTK99999999 shell am force-stop com.YourCompany.Mobile” [D:\SDK\NVPACK\android-sdk-windows\platform-tools]
2015-11-19 15:04:24.8712|INFO|Nvidia.PentaK.PentaKPackage|[PentaKPackage] Mode changed to DBGMODE_Design
2015-11-19 15:04:25.5803|INFO|Nvidia.PentaK.Utilities.RedirProcess|1221-stderr:

2015-11-19 15:04:25.5803|INFO|Nvidia.PentaK.Utilities.RedirProcess|1221-stdout:

2015-11-19 15:04:25.5823|INFO|Nvidia.PentaK.Utilities.RedirProcess|1221-exited: code 0, finished in 748 ms

Any ideas?

Hello, Toony. From the attached logs it’s apparent that a basic shell commands is not working correctly on the device. Please, provide the firmware and device details - along with the ‘adb shell getprop’ output.
Also note that it’s not required to root the device in order to debug the application with Nsight Tegra VS, if the run-as utility is working correctly - so you could just flash the default non-rooted firmware to your device. If you have one of the Samsung devices with a not-working run-as utility, than since Nsight Tegra VS 3.2 release you could still debug your app because we’ve added support for that scenario.

Thanks for your reply, I will uploda full tegra log soon.

Nsight Tegra.log (150 KB)

My device is Xiaomi Redmi Note 2, with Android 5.0.2 (API 21).
My game project is UE4 project, I select Development config and Android platfor to debug.

I have the same basic issue. In my case, I’m debugging (attempting) NDK sample applications (SanAndreas and MoreTeapots).

Here’s some additional observations on this issue:

Using AMIDuos (Android 5.0), which is an x86 based implementation, debugging works flawlessly. Zero issues - breakpoints fire in Java and C++ code.

Using x86 based AVDs (Android 4.01 through Android 5.1, specifically 4.2.2 and 4.4.2, debugging functions correctly.

Using any ARM based AVD (same Android versions) debugging fails with various issues. Sometimes it’s launching that fails, sometimes it’s other issues which are resolved by erasing the partially installed remnants and trying again, only to fail later in the process.

Virtually all ARM based AVD debugging fails to launch GDBServer, or some similar problem.

On AVD 4.01, the target can’t be for multiple architectures (it won’t pass ODEX optimization otherwise) - must be build only from ARMEABI. Other Android versions (4.2.2 and 4.4.2) don’t have the problem.

Note (repeating), on all of the same version AVD’s, if the target is an x86 based machine, debugging functions as expected with little to no issue, even when mixed architectures.

On physical devices (one Android 4.1.2, another Android 4.2.2), GDBServer will not launch. However, the release build of the application can be installed and will run via ADB.

It seems consistent that ARM based target devices or AVD’s can’t be debugged, but x86 devices or virtual machines (like AMIDuos) have no problem.

Edit:

One curious observation based on two late experiments. Based on the notion that some Samsung devices WITHOUT run-as might work, I tried renaming run-as in two tests.

Test one, on a device:

GDBServer couldn’t be launched.

Logcat (partial) from that session below

12-05 09:01:50.745   378   662 I ActivityManager: Start proc com.example.SanAngeles for activity com.example.SanAngeles/.DemoActivity: pid=1409 uid=10049 gids={50049, 1028}
12-05 09:01:50.807  1409  1409 W Trace   : error opening trace file: No such file or directory (2)
12-05 09:01:50.815  1409  1409 W ActivityThread: Application com.example.SanAngeles is waiting for the debugger on port 8100...
12-05 09:01:50.823  1409  1409 I System.out: Sending WAIT chunk
12-05 09:01:54.315   378   380 D dalvikvm: GC_CONCURRENT freed 456K, 17% free 7038K/8444K, paused 15ms+9ms, total 122ms
12-05 09:01:54.885  1450  1450 D su      : su invoked. 
12-05 09:01:54.893  1451  1451 E su      : Unknown id: :2020
12-05 09:01:54.893  1451  1451 E su      :  
12-05 09:01:55.002  1455  1455 D su      : su invoked. 
12-05 09:01:55.018  1456  1456 E su      : Unknown id: /data/local/tmp/gdbserver
12-05 09:01:55.018  1456  1456 E su      :  
12-05 09:01:55.127  1460  1460 D su      : su invoked. 
12-05 09:01:55.135  1461  1461 D su      : Allowing root/system/radio. 
12-05 09:01:55.151  1462  1462 D su      : 0 /system/bin/mksh executing 777 chmod using binary /system/bin/sh : sh -c chmod /data/data/com.example.SanAngeles/gdbserver 
12-05 09:01:55.284  1467  1467 D su      : su invoked. 
12-05 09:01:55.291  1468  1468 E su      : Unknown id: :2020
12-05 09:01:55.291  1468  1468 E su      :  
12-05 09:01:55.385  1471  1471 F libc    : Fatal signal 13 (SIGPIPE) at 0x000005bf (code=0), thread 1471 (sh)
12-05 09:01:55.495   108   108 I DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-05 09:01:55.495   108   108 I DEBUG   : Build fingerprint: 'Android/cm_otter/otter:4.2.2/JDQ39E/eng.jenkins.20130923.174520:userdebug/test-keys'
12-05 09:01:55.495   108   108 I DEBUG   : Revision: '16'
12-05 09:01:55.495   108   108 I DEBUG   : pid: 1471, tid: 1471, name: sh  >>> /system/bin/sh <<<
12-05 09:01:55.495   108   108 I DEBUG   : signal 13 (SIGPIPE), code -6 (?), fault addr --------
12-05 09:01:55.502   108   108 I DEBUG   :     r0 ffffffe0  r1 416d6140  r2 00001000  r3 00001001
12-05 09:01:55.502   108   108 I DEBUG   :     r4 00000000  r5 00000003  r6 416d611c  r7 00000004
12-05 09:01:55.502   108   108 I DEBUG   :     r8 416d6140  r9 416d6090  sl 416d6140  fp 40077e40
12-05 09:01:55.502   108   108 I DEBUG   :     ip 4007cf38  sp be8d36b8  lr 4006465d  pc 4018ed98  cpsr 00070010
12-05 09:01:55.502   108   108 I DEBUG   :     d0  0000000000000000  d1  0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     d2  0000000000000000  d3  0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     d4  0000000000000000  d5  0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     d6  0000000000000000  d7  07728e3c00000000
12-05 09:01:55.502   108   108 I DEBUG   :     d8  0000000000000000  d9  0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     d10 0000000000000000  d11 0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     d12 0000000000000000  d13 0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     d14 0000000000000000  d15 0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     d16 4150243d48544150  d17 6d6f63202e3a4854
12-05 09:01:55.502   108   108 I DEBUG   :     d18 2f6b726f77656d61  d19 7365636976726573
12-05 09:01:55.502   108   108 I DEBUG   :     d20 79732f3a72616a2e  d21 6172662f6d657473
12-05 09:01:55.502   108   108 I DEBUG   :     d22 612f6b726f77656d  d23 6d782d6568636170
12-05 09:01:55.502   108   108 I DEBUG   :     d24 0000000000000000  d25 0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     d26 0000000000000000  d27 0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     d28 0000000000000000  d29 0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     d30 0000000000000000  d31 0000000000000000
12-05 09:01:55.502   108   108 I DEBUG   :     scr 00000010
12-05 09:01:55.510   108   108 I DEBUG   : 
12-05 09:01:55.510   108   108 I DEBUG   : backtrace:
12-05 09:01:55.518   108   108 I DEBUG   :     #00  pc 00016d98  /system/lib/libc.so (write+12)
12-05 09:01:55.518   108   108 I DEBUG   :     #01  pc 0000e659  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :     #02  pc 0000b71f  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :     #03  pc 0000d423  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :     #04  pc 0000c709  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :     #05  pc 00014917  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :     #06  pc 0000c76d  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :     #07  pc 000185f9  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :     #08  pc 0001925b  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :     #09  pc 00012733  /system/lib/libc.so (__libc_init+38)
12-05 09:01:55.518   108   108 I DEBUG   :     #10  pc 000023ac  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   : 
12-05 09:01:55.518   108   108 I DEBUG   : stack:
12-05 09:01:55.518   108   108 I DEBUG   :          be8d3678  0000100b  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d367c  401893d7  /system/lib/libc.so (dlmalloc+5170)
12-05 09:01:55.518   108   108 I DEBUG   :          be8d3680  416d609c  [heap]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d3684  00000000  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d3688  416d60f0  [heap]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d368c  401893d7  /system/lib/libc.so (dlmalloc+5170)
12-05 09:01:55.518   108   108 I DEBUG   :          be8d3690  be8d36b4  [stack]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d3694  4007ce98  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :          be8d3698  00000000  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d369c  416d6140  [heap]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36a0  00001001  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36a4  00000000  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36a8  00000003  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36ac  416d611c  [heap]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36b0  df0027ad  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36b4  00000000  
12-05 09:01:55.518   108   108 I DEBUG   :     #00  be8d36b8  00000000  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36bc  00001000  
12-05 09:01:55.518   108   108 I DEBUG   :     #01  be8d36c0  416d6088  [heap]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36c4  0001382c  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36c8  00000001  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36cc  4007ce98  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36d0  40081d70  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36d4  40081d74  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36d8  40081b9c  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36dc  416d6088  [heap]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36e0  416d2fb4  [heap]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36e4  40081de2  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36e8  00000001  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36ec  40061721  /system/bin/mksh
12-05 09:01:55.518   108   108 I DEBUG   :     #02  be8d36f0  416d6088  [heap]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36f4  0000001f  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36f8  416d610c  [heap]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d36fc  416d5bec  [heap]
12-05 09:01:55.518   108   108 I DEBUG   :          be8d3700  00000000  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d3704  00000000  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d3708  00000004  
12-05 09:01:55.518   108   108 I DEBUG   :          be8d370c  40063427  /system/bin/mksh
12-05 09:01:55.526   108   108 I DEBUG   : 
12-05 09:01:55.526   108   108 I DEBUG   : memory near r1:
12-05 09:01:55.526   108   108 I DEBUG   :     416d6120 6f6c2f61 2f6c6163 2f706d74 73626467  
12-05 09:01:55.534   108   108 I DEBUG   :     416d6130 65767265 00000072 00000000 0000100b  
12-05 09:01:55.534   108   108 I DEBUG   :     416d6140 18bd8070 e59f302c e79f3003 e5933000  
12-05 09:01:55.534   108   108 I DEBUG   :     416d6150 e3530000 08bd8070 e1a01005 e1a00004  
12-05 09:01:55.534   108   108 I DEBUG   :     416d6160 ebfff8a7 e8bd4070 e1a01000 e59f0008  
12-05 09:01:55.534   108   108 I DEBUG   :     416d6170 e08f0000 ea00382e 00056dc8 000437f0  
12-05 09:01:55.534   108   108 I DEBUG   :     416d6180 e92d4010 ebffcd85 e5904020 e3540000  
12-05 09:01:55.534   108   108 I DEBUG   :     416d6190 1a000003 e8bd8010 e5944000 e3540000  
12-05 09:01:55.534   108   108 I DEBUG   :     416d61a0 0a00000a e5943004 e3530001 8afffff9  
12-05 09:01:55.534   108   108 I DEBUG   :     416d61b0 e5943024 e3530000 1afffff6 e1a00004  
12-05 09:01:55.534   108   108 I DEBUG   :     416d61c0 ebfffa99 e5944000 e3540000 1afffff4  
12-05 09:01:55.534   108   108 I DEBUG   :     416d61d0 e8bd8010 e92d41f0 e1a04000 e1a05001  
12-05 09:01:55.534   108   108 I DEBUG   :     416d61e0 ebffcd6e e1a08000 e5b8601c e1a07000  
12-05 09:01:55.534   108   108 I DEBUG   :     416d61f0 e3560000 1a000004 e8bd81f0 e1a08006  
12-05 09:01:55.534   108   108 I DEBUG   :     416d6200 e5966000 e3560000 0a00001a e596c010  
12-05 09:01:55.534   108   108 I DEBUG   :     416d6210 e59c3004 e3530001 8afffff7 e1cc21d0  
12-05 09:01:55.534   108   108 I DEBUG   : 
12-05 09:01:55.534   108   108 I DEBUG   : memory near r2:
12-05 09:01:55.534   108   108 I DEBUG   :     00000fe0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00000ff0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001000 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001010 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001020 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001030 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001040 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001050 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001060 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001070 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001080 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001090 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     000010a0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     000010b0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     000010c0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     000010d0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   : 
12-05 09:01:55.534   108   108 I DEBUG   : memory near r3:
12-05 09:01:55.534   108   108 I DEBUG   :     00000fe0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00000ff0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001000 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001010 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001020 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001030 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001040 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001050 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001060 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001070 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001080 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     00001090 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     000010a0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     000010b0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     000010c0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   :     000010d0 ffffffff ffffffff ffffffff ffffffff  
12-05 09:01:55.534   108   108 I DEBUG   : 
12-05 09:01:55.534   108   108 I DEBUG   : memory near r6:
12-05 09:01:55.534   108   108 I DEBUG   :     416d60fc 401c2c64 00000010 00000012 00000000  
12-05 09:01:55.534   108   108 I DEBUG   :     416d610c 00746163 00000000 0000002b 416d6108  
12-05 09:01:55.534   108   108 I DEBUG   :     416d611c 7461642f 6f6c2f61 2f6c6163 2f706d74  
12-05 09:01:55.541   108   108 I DEBUG   :     416d612c 73626467 65767265 00000072 00000000  
12-05 09:01:55.541   108   108 I DEBUG   :     416d613c 0000100b 18bd8070 e59f302c e79f3003  
12-05 09:01:55.541   108   108 I DEBUG   :     416d614c e5933000 e3530000 08bd8070 e1a01005  
12-05 09:01:55.541   108   108 I DEBUG   :     416d615c e1a00004 ebfff8a7 e8bd4070 e1a01000  
12-05 09:01:55.541   108   108 I DEBUG   :     416d616c e59f0008 e08f0000 ea00382e 00056dc8  
12-05 09:01:55.541   108   108 I DEBUG   :     416d617c 000437f0 e92d4010 ebffcd85 e5904020  
12-05 09:01:55.541   108   108 I DEBUG   :     416d618c e3540000 1a000003 e8bd8010 e5944000  
12-05 09:01:55.541   108   108 I DEBUG   :     416d619c e3540000 0a00000a e5943004 e3530001  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61ac 8afffff9 e5943024 e3530000 1afffff6  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61bc e1a00004 ebfffa99 e5944000 e3540000  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61cc 1afffff4 e8bd8010 e92d41f0 e1a04000  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61dc e1a05001 ebffcd6e e1a08000 e5b8601c  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61ec e1a07000 e3560000 1a000004 e8bd81f0  
12-05 09:01:55.541   108   108 I DEBUG   : 
12-05 09:01:55.541   108   108 I DEBUG   : memory near r8:
12-05 09:01:55.541   108   108 I DEBUG   :     416d6120 6f6c2f61 2f6c6163 2f706d74 73626467  
12-05 09:01:55.541   108   108 I DEBUG   :     416d6130 65767265 00000072 00000000 0000100b  
12-05 09:01:55.541   108   108 I DEBUG   :     416d6140 18bd8070 e59f302c e79f3003 e5933000  
12-05 09:01:55.541   108   108 I DEBUG   :     416d6150 e3530000 08bd8070 e1a01005 e1a00004  
12-05 09:01:55.541   108   108 I DEBUG   :     416d6160 ebfff8a7 e8bd4070 e1a01000 e59f0008  
12-05 09:01:55.541   108   108 I DEBUG   :     416d6170 e08f0000 ea00382e 00056dc8 000437f0  
12-05 09:01:55.541   108   108 I DEBUG   :     416d6180 e92d4010 ebffcd85 e5904020 e3540000  
12-05 09:01:55.541   108   108 I DEBUG   :     416d6190 1a000003 e8bd8010 e5944000 e3540000  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61a0 0a00000a e5943004 e3530001 8afffff9  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61b0 e5943024 e3530000 1afffff6 e1a00004  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61c0 ebfffa99 e5944000 e3540000 1afffff4  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61d0 e8bd8010 e92d41f0 e1a04000 e1a05001  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61e0 ebffcd6e e1a08000 e5b8601c e1a07000  
12-05 09:01:55.541   108   108 I DEBUG   :     416d61f0 e3560000 1a000004 e8bd81f0 e1a08006  
12-05 09:01:55.541   108   108 I DEBUG   :     416d6200 e5966000 e3560000 0a00001a e596c010  
12-05 09:01:55.541   108   108 I DEBUG   :     416d6210 e59c3004 e3530001 8afffff7 e1cc21d0  
12-05 09:01:55.541   108   108 I DEBUG   : 
12-05 09:01:55.541   108   108 I DEBUG   : memory near r9:
12-05 09:01:55.541   108   108 I DEBUG   :     416d6070 00000000 00000004 00000000 0000001b  
12-05 09:01:55.541   108   108 I DEBUG   :     416d6080 416d6118 00000000 416d610c 416d611c  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6090 00000000 00000063 416d6080 416d5ca8  
12-05 09:01:55.549   108   108 I DEBUG   :     416d60a0 be8d3b7c 00000000 00000000 416d2024  
12-05 09:01:55.549   108   108 I DEBUG   :     416d60b0 416d609c 416d5b1c 00000006 00000003  
12-05 09:01:55.549   108   108 I DEBUG   :     416d60c0 416d609c 416d5cac 00000006 00000003  
12-05 09:01:55.549   108   108 I DEBUG   :     416d60d0 00000000 00000000 00000000 00000000  
12-05 09:01:55.549   108   108 I DEBUG   :     416d60e0 00000000 00000000 00000000 00000000  
12-05 09:01:55.549   108   108 I DEBUG   :     416d60f0 00000000 00000011 416d4ce8 401c2c64  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6100 00000010 00000012 00000000 00746163  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6110 00000000 0000002b 416d6108 7461642f  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6120 6f6c2f61 2f6c6163 2f706d74 73626467  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6130 65767265 00000072 00000000 0000100b  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6140 18bd8070 e59f302c e79f3003 e5933000  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6150 e3530000 08bd8070 e1a01005 e1a00004  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6160 ebfff8a7 e8bd4070 e1a01000 e59f0008  
12-05 09:01:55.549   108   108 I DEBUG   : 
12-05 09:01:55.549   108   108 I DEBUG   : memory near sl:
12-05 09:01:55.549   108   108 I DEBUG   :     416d6120 6f6c2f61 2f6c6163 2f706d74 73626467  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6130 65767265 00000072 00000000 0000100b  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6140 18bd8070 e59f302c e79f3003 e5933000  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6150 e3530000 08bd8070 e1a01005 e1a00004  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6160 ebfff8a7 e8bd4070 e1a01000 e59f0008  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6170 e08f0000 ea00382e 00056dc8 000437f0  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6180 e92d4010 ebffcd85 e5904020 e3540000  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6190 1a000003 e8bd8010 e5944000 e3540000  
12-05 09:01:55.549   108   108 I DEBUG   :     416d61a0 0a00000a e5943004 e3530001 8afffff9  
12-05 09:01:55.549   108   108 I DEBUG   :     416d61b0 e5943024 e3530000 1afffff6 e1a00004  
12-05 09:01:55.549   108   108 I DEBUG   :     416d61c0 ebfffa99 e5944000 e3540000 1afffff4  
12-05 09:01:55.549   108   108 I DEBUG   :     416d61d0 e8bd8010 e92d41f0 e1a04000 e1a05001  
12-05 09:01:55.549   108   108 I DEBUG   :     416d61e0 ebffcd6e e1a08000 e5b8601c e1a07000  
12-05 09:01:55.549   108   108 I DEBUG   :     416d61f0 e3560000 1a000004 e8bd81f0 e1a08006  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6200 e5966000 e3560000 0a00001a e596c010  
12-05 09:01:55.549   108   108 I DEBUG   :     416d6210 e59c3004 e3530001 8afffff7 e1cc21d0  
12-05 09:01:55.549   108   108 I DEBUG   : 
12-05 09:01:55.549   108   108 I DEBUG   : memory near fp:
12-05 09:01:55.549   108   108 I DEBUG   :     40077e20 27000a27 49005c00 22005346 27262423  
12-05 09:01:55.549   108   108 I DEBUG   :     40077e30 3a2a2928 3e3d3c3b 605c5b3f 007d7c7b  
12-05 09:01:55.557   108   108 I DEBUG   :     40077e40 203a7325 67007325 68626172 00747369  
12-05 09:01:55.557   108   108 I DEBUG   :     40077e50 20646162 74736968 2079726f 61727261  
12-05 09:01:55.557   108   108 I DEBUG   :     40077e60 20200079 25002020 64252073 20636600  
12-05 09:01:55.557   108   108 I DEBUG   :     40077e70 2420652d 5349567b 3a4c4155 457b242d  
12-05 09:01:55.557   108   108 I DEBUG   :     40077e80 4f544944 762d3a52 207d7d69 1b002d2d  
12-05 09:01:55.557   108   108 I DEBUG   :     40077e90 1b483b5b 0a004a5b 68746f6e 20676e69  
12-05 09:01:55.557   108   108 I DEBUG   :     40077ea0 79206f74 006b6e61 6e61790a 6f73206b  
12-05 09:01:55.557   108   108 I DEBUG   :     40077eb0 6874656d 20676e69 73726966 50460074  
12-05 09:01:55.557   108   108 I DEBUG   :     40077ec0 00485441 656c6966 626f6c67 64616200  
12-05 09:01:55.557   108   108 I DEBUG   :     40077ed0 62757320 74697473 6f697475 7c3b006e  
12-05 09:01:55.557   108   108 I DEBUG   :     40077ee0 60292826 79002000 005e0024 276e6163  
12-05 09:01:55.557   108   108 I DEBUG   :     40077ef0 69622074 202c646e 20746f6e 74742061  
12-05 09:01:55.557   108   108 I DEBUG   :     40077f00 6f740079 6f6c206f 6b20676e 73207965  
12-05 09:01:55.557   108   108 I DEBUG   :     40077f10 65757165 0065636e 203a7325 25207325  
12-05 09:01:55.557   108   108 I DEBUG   : 
12-05 09:01:55.557   108   108 I DEBUG   : memory near ip:
12-05 09:01:55.557   108   108 I DEBUG   :     4007cf18 4018f55c 4019405f 40191109 4018f950  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cf28 4018e970 4018ed70 401b0de0 40184f55  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cf38 4018ed8c 40192f39 4018ec34 40193fa5  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cf48 4018fd98 40193fdd 40190154 4018f524  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cf58 4018ec18 4018ebfc 4018e9fc 4018f738  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cf68 40192a99 4019d1f5 4018f934 401949df  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cf78 40194fd1 40194fe9 4019512f 4018ec6c  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cf88 40194a21 401a1c51 4018ee88 4018a9ab  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cf98 4019d631 4018f378 4018e9e0 40193f1f  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cfa8 4018eac8 4018f47c 40199e11 40190858  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cfb8 4018f0e0 4018f0a4 401967eb 4018e9a8  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cfc8 4018e9c4 4019d225 4018eb70 4018ec50  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cfd8 40194915 4018f404 4018f3e8 4018eb00  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cfe8 40190c21 40191081 4018f4ec 4018f3b0  
12-05 09:01:55.557   108   108 I DEBUG   :     4007cff8 4018ee48 4019d771 00000020 00000020  
12-05 09:01:55.557   108   108 I DEBUG   :     4007d008 4007e215 00000000 00001000 00000000  
12-05 09:01:55.557   108   108 I DEBUG   : 
12-05 09:01:55.557   108   108 I DEBUG   : memory near sp:
12-05 09:01:55.565   108   108 I DEBUG   :     be8d3698 00000000 416d6140 00001001 00000000  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d36a8 00000003 416d611c df0027ad 00000000  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d36b8 00000000 00001000 416d6088 0001382c  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d36c8 00000001 4007ce98 40081d70 40081d74  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d36d8 40081b9c 416d6088 416d2fb4 40081de2  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d36e8 00000001 40061721 416d6088 0000001f  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d36f8 416d610c 416d5bec 00000000 00000000  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d3708 00000004 40063427 416d2048 416d610c  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d3718 f792d809 416d2024 f792d809 4007ce98  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d3728 4007836b 416d2024 416d609c 0001502b  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d3738 00015309 0000001f 00000001 416d2fb4  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d3748 4007ce98 00000000 f792d809 40061d67  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d3758 416d6088 00000000 416d5bec 416d2fb4  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d3768 4007ce98 40081c8c 00000000 4008144c  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d3778 40081454 4006270d be8d37c0 00000000  
12-05 09:01:55.565   108   108 I DEBUG   :     be8d3788 4007ce98 00000004 00000001 b2ed8ac4  
12-05 09:01:55.565   108   108 I DEBUG   : 
12-05 09:01:55.565   108   108 I DEBUG   : code around pc:
12-05 09:01:55.565   108   108 I DEBUG   :     4018ed78 ef000000 e8bd0090 e1b00000 512fff1e  
12-05 09:01:55.565   108   108 I DEBUG   :     4018ed88 ea00944e e92d0090 e3a07004 ef000000  
12-05 09:01:55.565   108   108 I DEBUG   :     4018ed98 e8bd0090 e1b00000 512fff1e ea009447  
12-05 09:01:55.565   108   108 I DEBUG   :     4018eda8 e1a0c00d e92d00f0 e89c0070 e3a070b4  
12-05 09:01:55.565   108   108 I DEBUG   :     4018edb8 ef000000 e8bd00f0 e1b00000 512fff1e  
12-05 09:01:55.565   108   108 I DEBUG   :     4018edc8 ea00943e e1a0c00d e92d00f0 e89c0070  
12-05 09:01:55.565   108   108 I DEBUG   :     4018edd8 e3a070b5 ef000000 e8bd00f0 e1b00000  
12-05 09:01:55.565   108   108 I DEBUG   :     4018ede8 512fff1e ea009435 e92d0090 e3a07005  
12-05 09:01:55.565   108   108 I DEBUG   :     4018edf8 ef000000 e8bd0090 e1b00000 512fff1e  
12-05 09:01:55.565   108   108 I DEBUG   :     4018ee08 ea00942e e92d0090 e59f7010 ef000000  
12-05 09:01:55.565   108   108 I DEBUG   :     4018ee18 e8bd0090 e1b00000 512fff1e ea009427  
12-05 09:01:55.565   108   108 I DEBUG   :     4018ee28 00000142 e92d0090 e3a07006 ef000000  
12-05 09:01:55.565   108   108 I DEBUG   :     4018ee38 e8bd0090 e1b00000 512fff1e ea00941f  
12-05 09:01:55.565   108   108 I DEBUG   :     4018ee48 e92d0090 e3a07013 ef000000 e8bd0090  
12-05 09:01:55.573   108   108 I DEBUG   :     4018ee58 e1b00000 512fff1e ea009418 e1a0c00d  
12-05 09:01:55.573   108   108 I DEBUG   :     4018ee68 e92d00f0 e89c0070 e3a0708c ef000000  
12-05 09:01:55.573   108   108 I DEBUG   : 
12-05 09:01:55.573   108   108 I DEBUG   : code around lr:
12-05 09:01:55.573   108   108 I DEBUG   :     4006463c f7f32401 4631ed36 46584602 fe64f009  
12-05 09:01:55.573   108   108 I DEBUG   :     4006464c b310e023 200146c2 463a4651 ed4cf7f3  
12-05 09:01:55.573   108   108 I DEBUG   :     4006465c bf1c1c43 0707ebc0 d1134482 ece4f7f3  
12-05 09:01:55.573   108   108 I DEBUG   :     4006466c 2a046802 6800d00e ed1af7f3 44794916  
12-05 09:01:55.573   108   108 I DEBUG   :     4006467c 48164602 f0094478 b17dfe47 f7f34628  
12-05 09:01:55.573   108   108 I DEBUG   :     4006468c e00becf8 d1de2f00 b115e7c0 f7f34628  
12-05 09:01:55.573   108   108 I DEBUG   :     4006469c f8d9ecf0 2b003000 e000d196 46402401  
12-05 09:01:55.573   108   108 I DEBUG   :     400646ac ec5cf7f3 e8bd4620 bf008ffe 000187b8  
12-05 09:01:55.573   108   108 I DEBUG   :     400646bc 00014019 00018816 00014014 0001382c  
12-05 09:01:55.573   108   108 I DEBUG   :     400646cc 00013870 00013fd9 00013f46 000137bc  
12-05 09:01:55.573   108   108 I DEBUG   :     400646dc ab01b51f 44784806 e883c807 4a050007  
12-05 09:01:55.573   108   108 I DEBUG   :     400646ec 6812447a 46186010 ff3cf7ff bd00b005  
12-05 09:01:55.573   108   108 I DEBUG   :     400646fc 00018952 000186c4 4604b570 68401d05  
12-05 09:01:55.573   108   108 I DEBUG   :     4006470c 491ab130 f7f34479 b908ec30 0508f104  
12-05 09:01:55.573   108   108 I DEBUG   :     4006471c b1086828 b12c686c 24014815 f0094478  
12-05 09:01:55.573   108   108 I DEBUG   :     4006472c e021fdf3 f9f8f00c b9804606 ec7cf7f3  
12-05 09:01:55.596   378   399 I BootReceiver: Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE)
12-05 09:01:55.713  1477  1477 D su      : su invoked. 
12-05 09:01:55.721  1478  1478 D su      : Allowing root/system/radio. 
12-05 09:01:55.729  1479  1479 D su      : 0 /system/bin/mksh executing 777 chmod using binary /system/bin/sh : sh -c chmod /data/data/com.example.SanAngeles/gdbserver 
12-05 09:01:55.862  1484  1484 D su      : su invoked. 
12-05 09:01:55.870  1485  1485 E su      : Unknown id: :2020
12-05 09:01:55.870  1485  1485 E su      :  
12-05 09:01:55.987  1489  1489 D su      : su invoked. 
12-05 09:01:55.995  1490  1490 E su      : Unknown id: :2020
12-05 09:01:55.995  1490  1490 E su      :  
12-05 09:01:56.291  1493  1493 D AndroidRuntime: 
12-05 09:01:56.291  1493  1493 D AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-05 09:01:56.291  1493  1493 D AndroidRuntime: CheckJNI is OFF

Test two, ARM based AVD on Android 4.2.2

In this test, the GDBServer launched (run-as was renamed). However, there were two “illegal instruction” messages which seemed to be from NSight or VS2015 (pro), and not from the AVD. After hitting “continue” on each popup dialog, the NSight/VS2015 debugging session ended, but the application actually started running (SanAndreas). This scenario is repeatable (consistent).

Logcat from that session follows

12-05 14:11:28.087   954   954 D AndroidRuntime: CheckJNI is ON
12-05 14:11:28.087   954   954 D AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-05 14:11:28.087   954   954 D AndroidRuntime: 
12-05 14:11:28.108   954   954 D dalvikvm: Trying to load lib libjavacore.so 0x0
12-05 14:11:28.118   954   954 D dalvikvm: Added shared lib libjavacore.so 0x0
12-05 14:11:28.128   954   954 D dalvikvm: Added shared lib libnativehelper.so 0x0
12-05 14:11:28.128   954   954 D dalvikvm: Trying to load lib libnativehelper.so 0x0
12-05 14:11:28.458   954   954 D dalvikvm: Note: class Landroid/app/ActivityManagerNative; has 157 unimplemented (abstract) methods
12-05 14:11:28.458   954   954 D AndroidRuntime: Calling main entry com.android.commands.am.Am
12-05 14:11:28.468   276   503 I ActivityManager: Killing proc 922:com.example.SanAngeles/u0a10050: force stop com.example.SanAngeles
12-05 14:11:28.468   276   503 I ActivityManager: Force stopping package com.example.SanAngeles appid=10050 user=0
12-05 14:11:28.478   954   954 D AndroidRuntime: Shutting down VM
12-05 14:11:28.488   954   958 D dalvikvm: GC_CONCURRENT freed 89K, 17% free 455K/548K, paused 0ms+1ms, total 4ms
12-05 14:11:28.927   966   966 D AndroidRuntime: CheckJNI is ON
12-05 14:11:28.927   966   966 D AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-05 14:11:28.927   966   966 D AndroidRuntime: 
12-05 14:11:28.947   966   966 D dalvikvm: Added shared lib libjavacore.so 0x0
12-05 14:11:28.947   966   966 D dalvikvm: Trying to load lib libjavacore.so 0x0
12-05 14:11:28.967   966   966 D dalvikvm: Added shared lib libnativehelper.so 0x0
12-05 14:11:28.967   966   966 D dalvikvm: Trying to load lib libnativehelper.so 0x0
12-05 14:11:29.288   966   966 D dalvikvm: Note: class Landroid/app/ActivityManagerNative; has 157 unimplemented (abstract) methods
12-05 14:11:29.288   966   966 D AndroidRuntime: Calling main entry com.android.commands.am.Am
12-05 14:11:29.308   276   409 W WindowManager: Failure taking screenshot for (246x410) to layer 21005
12-05 14:11:29.308   276   409 I ActivityManager: START u0 {flg=0x10000000 cmp=com.example.SanAngeles/.DemoActivity} from pid 966
12-05 14:11:29.308   276   409 I ActivityManager: Force stopping package com.example.SanAngeles appid=10050 user=-1
12-05 14:11:29.328   976   976 D dalvikvm: Not late-enabling CheckJNI (already on)
12-05 14:11:29.328   966   966 D AndroidRuntime: Shutting down VM
12-05 14:11:29.348   276   416 I ActivityManager: Start proc com.example.SanAngeles for activity com.example.SanAngeles/.DemoActivity: pid=976 uid=10050 gids={50050, 1028}
12-05 14:11:29.358   966   970 D dalvikvm: GC_CONCURRENT freed 91K, 16% free 494K/588K, paused 0ms+0ms, total 6ms
12-05 14:11:29.408    37    37 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
12-05 14:11:29.548   976   976 E Trace   : error opening trace file: No such file or directory (2)
12-05 14:11:29.568   276   373 E ThrottleService: problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
12-05 14:11:29.628   976   976 W ActivityThread: Application com.example.SanAngeles is waiting for the debugger on port 8100...
12-05 14:11:29.668   976   976 I System.out: Sending WAIT chunk
12-05 14:11:29.937    37    79 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
12-05 14:11:29.937   276   293 I Choreographer: Skipped 40 frames!  The application may be doing too much work on its main thread.
12-05 14:11:32.682   976   982 I dalvikvm: Debugger is active
12-05 14:11:33.528   976   976 I System.out: waiting for debugger to settle...
12-05 14:11:33.528   976   976 I System.out: Debugger has connected
12-05 14:11:33.735   976   976 I System.out: waiting for debugger to settle...
12-05 14:11:33.936   976   976 I System.out: waiting for debugger to settle...
12-05 14:11:34.137   976   976 I System.out: waiting for debugger to settle...
12-05 14:11:34.337   976   976 I System.out: waiting for debugger to settle...
12-05 14:11:34.540   976   976 I System.out: waiting for debugger to settle...
12-05 14:11:34.741   976   976 I System.out: waiting for debugger to settle...
12-05 14:11:34.942   976   976 I System.out: debugger has settled (1408)
12-05 14:11:34.978   976   976 D dalvikvm: Trying to load lib /data/app-lib/com.example.SanAngeles-2/libsanangeles.so 0x40cd0b60
12-05 14:11:39.327   276   290 W ActivityManager: Launch timeout has expired, giving up wake lock!
12-05 14:11:39.497   276   290 W ActivityManager: Activity idle timeout for ActivityRecord{40ff7178 u0 com.example.SanAngeles/.DemoActivity}
12-05 14:11:40.718    35    35 I DEBUG   : ptrace attach failed: Operation not permitted
12-05 14:11:40.718   976   976 F libc    : Fatal signal 4 (SIGILL) at 0x40005a52 (code=1), thread 976 (mple.SanAngeles)
12-05 14:11:41.988   276   503 I ActivityManager: Process com.example.SanAngeles (pid 976) has died.
12-05 14:11:41.988    38    38 D Zygote  : Process 976 terminated by signal (4)
12-05 14:11:42.008  1023  1023 D dalvikvm: Not late-enabling CheckJNI (already on)
12-05 14:11:42.028   276   503 I ActivityManager: Start proc com.example.SanAngeles for activity com.example.SanAngeles/.DemoActivity: pid=1023 uid=10050 gids={50050, 1028}
12-05 14:11:42.078  1023  1023 E Trace   : error opening trace file: No such file or directory (2)
12-05 14:11:42.098  1023  1023 D dalvikvm: No JNI_OnLoad found in /data/app-lib/com.example.SanAngeles-2/libsanangeles.so 0x40cd1510, skipping init
12-05 14:11:42.098  1023  1023 D dalvikvm: Added shared lib /data/app-lib/com.example.SanAngeles-2/libsanangeles.so 0x40cd1510
12-05 14:11:42.098  1023  1023 D dalvikvm: Trying to load lib /data/app-lib/com.example.SanAngeles-2/libsanangeles.so 0x40cd1510
12-05 14:11:42.218    37   620 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
12-05 14:11:42.268  1023  1037 D libEGL  : Emulator without GPU support detected. Fallback to software renderer.
12-05 14:11:42.268    37    79 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
12-05 14:11:42.278  1023  1037 D libEGL  : loaded /system/lib/egl/libGLES_android.so
12-05 14:11:42.328  1023  1023 D gralloc_goldfish: Emulator without GPU emulation detected.
12-05 14:11:42.407   276   292 I ActivityManager: Displayed com.example.SanAngeles/.DemoActivity: +13s93ms
12-05 14:11:42.838  1023  1037 I SanAngeles: resize w=480 h=690
12-05 14:11:42.878  1023  1037 I ARMAssembler: generated scanline__00000197:03010102_00000000_00000000 [ 26 ipp] (59 ins) at [0x499be1f0:0x499be2dc] in 3421703 ns
12-05 14:11:42.888  1023  1037 I ARMAssembler: generated scanline__00000177:03202002_00000000_00000000 [ 37 ipp] (54 ins) at [0x499be2e0:0x499be3b8] in 647681 ns

hi Toony,
From the your log, it is the permission issue of your device:" /system/bin/sh: can’t create /data/data/com.YourCompany.Mobile/gdbserver’: Permission denied".
Vendors customized their own ROM,which maybe break original security rules.

There are two solutions:
One simple solution :Update your android os,which maybe have solved the security issues.
Another solution: Modify you build scripts to include gdbserver in your *.apk/libs. so gdbserver would be intalled with you apk.

hi JVene, Could you upload your nsight tegra log at %APPDATA%\NVIDIA Corporation\Nsight Tegra\logs.
Most of debugging issues are caused by permission issues, if it’s true, update your ROM if possible.

  • victor