Our Xamarin app runs on Android, iOS and UWP. On a Moto Z phone, I'm attempting to profile allocations the Android which runs fine on it's own. As soon as the profiler starts it fails with errors that I don't see running in the Visual Studio debugger. The first error it shows is :
E/adbd ( 3034): failed to connect to socket 'tcp:9600': Connection refused
This is shown several times, but I'm not sure how relevant it is. Then is stops with a signal:
F/libc ( 6808): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x60 in tid 6808 (etua.ERPXamarin), pid 6808 (etua.ERPXamarin)
08-03 09:04:17.949 I/crash_dump64( 6838): obtaining output fd from tombstoned, type: kDebuggerdTombstone
08-03 09:04:17.949 I//system/bin/tombstoned( 1438): received crash request for pid 6808
08-03 09:04:17.950 I/crash_dump64( 6838): performing dump of process 6808 (target tid = 6808)
08-03 09:04:17.956 F/DEBUG ( 6838):
08-03 09:04:17.956 F/DEBUG ( 6838): Build fingerprint: 'motorola/messi_verizon/messi:9/PDX29.84-51-11-7/fb4f7:user/release-keys'
08-03 09:04:17.956 F/DEBUG ( 6838): Revision: 'pvt'
08-03 09:04:17.956 F/DEBUG ( 6838): ABI: 'arm64'
08-03 09:04:17.956 F/DEBUG ( 6838): pid: 6808, tid: 6808, name: etua.ERPXamarin >>> com.perpetua.ERPXamarin <<<
08-03 09:04:17.956 F/DEBUG ( 6838): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x60
08-03 09:04:17.956 F/DEBUG ( 6838): Cause: null pointer dereference
08-03 09:04:17.956 F/DEBUG ( 6838): x0 00000077de2faa08 x1 0000007fcc405780 x2 0000000000000000 x3 00000077e5d47cb0
08-03 09:04:17.956 F/DEBUG ( 6838): x4 0000007fcc405698 x5 0000007fcc404f90 x6 000000786beca000 x7 0000000001382e6a
08-03 09:04:17.956 F/DEBUG ( 6838): x8 0000000000000000 x9 00000000ffffffff x10 0000000000000001 x11 0000000000000001
08-03 09:04:17.956 F/DEBUG ( 6838): x12 0000000000000000 x13 00000077dd197adc x14 0036551b354d576c x15 0000000000000001
08-03 09:04:17.956 F/DEBUG ( 6838): x16 00000077cc98f448 x17 0000007866e061f0 x18 0000000000000008 x19 0000007fcc405cd0
08-03 09:04:17.956 F/DEBUG ( 6838): x20 00000077cb000ed8 x21 00000077cb0006d0 x22 00000077cb0005a8 x23 00000077cb0005a8
08-03 09:04:17.956 F/DEBUG ( 6838): x24 00000077cb001628 x25 00000077cb0005a8 x26 00000077e6593410 x27 0000000000000000
08-03 09:04:17.956 F/DEBUG ( 6838): x28 000000786bedc5e0 x29 0000007fcc4057a0
08-03 09:04:17.956 F/DEBUG ( 6838): sp 0000007fcc4057a0 lr 00000077dd19c064 pc 00000077cc452610
08-03 09:04:17.958 F/DEBUG ( 6838):
08-03 09:04:17.958 F/DEBUG ( 6838): backtrace:
08-03 09:04:17.958 F/DEBUG ( 6838): #00 pc 0000000000009610 /data/app/com.perpetua.ERPXamarin-0nqYv19ba2wF43wSZAXE4Q==/lib/arm64/libxa-internal-api.so (_monodroid_gref_get+12)
08-03 09:04:17.958 F/DEBUG ( 6838): #01 pc 000000000000c060 <anonymous:00000077dd190000>
08-03 09:04:18.088 E//system/bin/tombstoned( 1438): Tombstone written to: /data/tombstones/tombstone_06
08-03 09:04:18.090 W/ActivityManager( 1889): Force finishing activity com.perpetua.ERPXamarin/crc642ee174e4c755c01e.SplashActivity