Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random SIGSEGVs after porting from Xamarin to net8-android #98933

Closed
divil5000 opened this issue Feb 26, 2024 · 10 comments
Closed

Random SIGSEGVs after porting from Xamarin to net8-android #98933

divil5000 opened this issue Feb 26, 2024 · 10 comments

Comments

@divil5000
Copy link

divil5000 commented Feb 26, 2024

Description

The last major release of our software followed our porting of the software from Xamarin.Android to net8.0-android. Everything appeared to go well in our own tests, but we are getting a lot of reports of crashes out in the wild. We have been unable to reproduce any problem in our office, but with tens of thousands of customers using the software every day, this crashing is a major problem for us.

We've been receiving no managed crash reports via our own telemetry, so we suspected this was a runtime issue. Finally a tech-savvy customer has sent us some debug output, which I'll paste below. We also have some sample stack traces from the Play Store telemetry which I will also paste below.

What I urgently need is for someone knowledgeable on runtime issues to advise if there's a component clearly at fault that we can temporarily turn off or avoid, so we can get back to having a stable app. I could roll back to Xamarin.Android but that is not sustainable long term.

Reproduction Steps

We cannot reproduce this issue ourselves.

Expected behavior

No crash

Actual behavior

Some crash output below.

02-25 13:55:14.628 10119  7876 10006 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x37 in tid 10006 (.NET TP Worker), pid 7876 (appnameandroid)
02-25 13:55:15.006 10119 10070 10070 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-25 13:55:15.006 10119 10070 10070 F DEBUG   : Build fingerprint: 'Lenovo/LenovoTB-8705F-EEA/8705F:10/QP1A.190711.020/S300111_220228_BMP:user/release-keys'
02-25 13:55:15.006 10119 10070 10070 F DEBUG   : Revision: '0'
02-25 13:55:15.006 10119 10070 10070 F DEBUG   : ABI: 'arm64'
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : Timestamp: 2024-02-25 13:55:15+0000
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : pid: 7876, tid: 10006, name: .NET TP Worker  >>> com.appname.appnameandroid <<<
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : uid: 10119
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x37
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : Cause: null pointer dereference
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x0  000000784797c138  x1  00000000000002f9  x2  0000000000000000  x3  000000785c149f80
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x4  000000785c14a000  x5  0000000000000004  x6  0000007959e93000  x7  000000000008654a
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x8  0000000000000000  x9  0000000000000000  x10 00000000000017c0  x11 0000000000000000
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x12 0000000000000000  x13 0000000000000000  x14 0021b0bd841fa880  x15 000031785cec5b6f
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x16 00000078c7b4c3c8  x17 00000079559c0440  x18 000000784b69e000  x19 000000784797c138
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x20 0000007847856a80  x21 00000078c7b5b000  x22 000000785c151758  x23 00000078c7b5b000
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x24 0000000000000010  x25 00000078c7b5b000  x26 00000078c7b5bcb8  x27 000000007c000000
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x28 0000000004000000  x29 00000078580427d0
02-25 13:55:15.009 10119 10070 10070 F DEBUG   :     sp  00000078580427d0  lr  00000078c7ae8dac  pc  00000078c7ae9e60
02-25 13:55:15.497 10119 10070 10070 F DEBUG   : 
02-25 13:55:15.497 10119 10070 10070 F DEBUG   : backtrace:
02-25 13:55:15.497 10119 10070 10070 F DEBUG   :       #00 pc 00000000002a3e60  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.497 10119 10070 10070 F DEBUG   :       #01 pc 00000000002a2da8  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #02 pc 000000000029db70  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #03 pc 00000000002c6bc0  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #04 pc 00000000002c5d5c  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #05 pc 00000000002c20f0  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #06 pc 00000000002c1ebc  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #07 pc 00000000002be6cc  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #08 pc 00000000002a7048  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #09 pc 000000000000ff48  <anonymous:78caecf000>
02-25 14:55:49.657 10119 10151 10170 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2000 in tid 10170 (SGen worker), pid 10151 (appnameandroid)
02-25 14:55:49.747 10119 10151 10785 I appnameandroi: Explicit concurrent copying GC freed 438(109KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 1488KB/3024KB, paused 75us total 16.194ms
02-25 14:55:49.868 10119 10818 10818 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
02-25 14:55:49.871 10119 10818 10818 I crash_dump64: performing dump of process 10151 (target tid = 10170)
02-25 14:55:49.891 10119 10818 10818 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-25 14:55:49.891 10119 10818 10818 F DEBUG   : Build fingerprint: 'Lenovo/LenovoTB-8705F-EEA/8705F:10/QP1A.190711.020/S300111_220228_BMP:user/release-keys'
02-25 14:55:49.891 10119 10818 10818 F DEBUG   : Revision: '0'
02-25 14:55:49.891 10119 10818 10818 F DEBUG   : ABI: 'arm64'
02-25 14:55:49.892 10119 10818 10818 F DEBUG   : Timestamp: 2024-02-25 14:55:49+0000
02-25 14:55:49.892 10119 10818 10818 F DEBUG   : pid: 10151, tid: 10170, name: SGen worker  >>> com.appname.appnameandroid <<<
02-25 14:55:49.892 10119 10818 10818 F DEBUG   : uid: 10119
02-25 14:55:49.892 10119 10818 10818 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2000
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x0  0000007860217808  x1  0000007856d28710  x2  0000007954af3010  x3  0000000000000000
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x4  0000007953e07668  x5  0000000000000004  x6  00000000ffffffff  x7  0000000000156516
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x8  000000786c800000  x9  0000007855000000  x10 00000078553c4080  x11 0000000000000001
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x12 0000000000000000  x13 0000000040000000  x14 0000000040300033  x15 0000000000000001
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x16 00000078c7b4f4f8  x17 0000007955a25330  x18 000000786ba70000  x19 00000078553c4078
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x20 ffffffffffffffff  x21 0000000000002000  x22 00000078553c4080  x23 0000000000000018
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x24 000000000000a6d0  x25 0000000000000003  x26 000000000000a6d8  x27 00000078c7b6af90
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x28 00000078c7b6af40  x29 00000078c2c1fb20
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     sp  00000078c2c1fad0  lr  00000078c7b24c50  pc  00000078c7b24bb4
02-25 14:55:49.895 10119 10818 10818 F DEBUG   : 
02-25 14:55:49.895 10119 10818 10818 F DEBUG   : backtrace:
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #00 pc 00000000002dbbb4  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #01 pc 00000000002dd92c  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #02 pc 00000000002fbe58  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #03 pc 00000000002faee4  /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #04 pc 00000000000e2364  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 2a5abdc9c768b33656f7aa8d9ce5cf54)
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #05 pc 0000000000083d98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 2a5abdc9c768b33656f7aa8d9ce5cf54)
02-25 14:55:50.627 10119 10818 10818 I crash_dump: crash_mini_dump_notify exit
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 24884 >>> com.appname.appnameandroid <<<

backtrace:
  #00  pc 0x00000000002a3e30  /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #01  pc 0x00000000002a2da8  /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #02  pc 0x000000000029db70  /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #03  pc 0x00000000002c6bc0  /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #04  pc 0x00000000002c5d5c  /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #05  pc 0x00000000002c20f0  /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #06  pc 0x00000000002c1ebc  /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #07  pc 0x00000000002be6cc  /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #08  pc 0x00000000002a7048  /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #09  pc 0x000000000000ff48 
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 28340 >>> com.appname.appnameandroid <<<

backtrace:
  #00  pc 0x00000000002a3e30  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #01  pc 0x00000000002a3148  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #02  pc 0x000000000029db70  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #03  pc 0x00000000002c6bc0  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #04  pc 0x00000000002c5d5c  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #05  pc 0x00000000002c20f0  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #06  pc 0x00000000002c1ebc  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #07  pc 0x00000000002be688  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #08  pc 0x00000000002a722c  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #09  pc 0x000000000025fe48  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #10  pc 0x0000000000268988  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #11  pc 0x0000000000231550  /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
  #12  pc 0x00000000000073ec 

Regression?

Definite regression from Xamarin.Android to net8.0-android

Known Workarounds

No response

Configuration

We have noticed nothing in common between the devices this is happening on, nor the Android versions being used.

Other information

No response

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Feb 26, 2024
@ghost
Copy link

ghost commented Feb 26, 2024

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

The last major release of our software followed our porting of the software from Xamarin.Android to net8.0-android. Everything appeared to go well in our own tests, but we are getting a lot of reports of crashes out in the wild. We have been unable to reproduce any problem in our office, but with tens of thousands of customers using the software every day, this crashing is a major problem for us.

We've been receiving no managed crash reports via our own telemetry, so we suspected this was a runtime issue. Finally a tech-savvy customer has sent us some debug output, which I'll paste below. We also have some sample stack traces from the Play Store telemetry which I will also paste below.

What I urgently need is for someone knowledgeable on runtime issues to advise if there's a component clearly at fault that we can temporarily turn off or avoid, so we can get back to having a stable app. I could roll back to Xamarin.Android but that is not sustainable long term.

Reproduction Steps

We cannot reproduce this issue ourselves.

Expected behavior

No crash

Actual behavior

Some crash output below.

02-25 13:55:14.628 10119 7876 10006 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x37 in tid 10006 (.NET TP Worker), pid 7876 (appnameandroid) 02-25 13:55:15.006 10119 10070 10070 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 02-25 13:55:15.006 10119 10070 10070 F DEBUG : Build fingerprint: 'Lenovo/LenovoTB-8705F-EEA/8705F:10/QP1A.190711.020/S300111_220228_BMP:user/release-keys' 02-25 13:55:15.006 10119 10070 10070 F DEBUG : Revision: '0' 02-25 13:55:15.006 10119 10070 10070 F DEBUG : ABI: 'arm64' 02-25 13:55:15.008 10119 10070 10070 F DEBUG : Timestamp: 2024-02-25 13:55:15+0000 02-25 13:55:15.008 10119 10070 10070 F DEBUG : pid: 7876, tid: 10006, name: .NET TP Worker >>> com.appname.appnameandroid <<< 02-25 13:55:15.008 10119 10070 10070 F DEBUG : uid: 10119 02-25 13:55:15.008 10119 10070 10070 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x37 02-25 13:55:15.008 10119 10070 10070 F DEBUG : Cause: null pointer dereference 02-25 13:55:15.008 10119 10070 10070 F DEBUG : x0 000000784797c138 x1 00000000000002f9 x2 0000000000000000 x3 000000785c149f80 02-25 13:55:15.008 10119 10070 10070 F DEBUG : x4 000000785c14a000 x5 0000000000000004 x6 0000007959e93000 x7 000000000008654a 02-25 13:55:15.008 10119 10070 10070 F DEBUG : x8 0000000000000000 x9 0000000000000000 x10 00000000000017c0 x11 0000000000000000 02-25 13:55:15.008 10119 10070 10070 F DEBUG : x12 0000000000000000 x13 0000000000000000 x14 0021b0bd841fa880 x15 000031785cec5b6f 02-25 13:55:15.008 10119 10070 10070 F DEBUG : x16 00000078c7b4c3c8 x17 00000079559c0440 x18 000000784b69e000 x19 000000784797c138 02-25 13:55:15.008 10119 10070 10070 F DEBUG : x20 0000007847856a80 x21 00000078c7b5b000 x22 000000785c151758 x23 00000078c7b5b000 02-25 13:55:15.008 10119 10070 10070 F DEBUG : x24 0000000000000010 x25 00000078c7b5b000 x26 00000078c7b5bcb8 x27 000000007c000000 02-25 13:55:15.008 10119 10070 10070 F DEBUG : x28 0000000004000000 x29 00000078580427d0 02-25 13:55:15.009 10119 10070 10070 F DEBUG : sp 00000078580427d0 lr 00000078c7ae8dac pc 00000078c7ae9e60 02-25 13:55:15.497 10119 10070 10070 F DEBUG : 02-25 13:55:15.497 10119 10070 10070 F DEBUG : backtrace: 02-25 13:55:15.497 10119 10070 10070 F DEBUG : #00 pc 00000000002a3e60 /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 13:55:15.497 10119 10070 10070 F DEBUG : #01 pc 00000000002a2da8 /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 13:55:15.498 10119 10070 10070 F DEBUG : #02 pc 000000000029db70 /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 13:55:15.498 10119 10070 10070 F DEBUG : #03 pc 00000000002c6bc0 /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 13:55:15.498 10119 10070 10070 F DEBUG : #04 pc 00000000002c5d5c /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 13:55:15.498 10119 10070 10070 F DEBUG : #05 pc 00000000002c20f0 /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 13:55:15.498 10119 10070 10070 F DEBUG : #06 pc 00000000002c1ebc /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 13:55:15.498 10119 10070 10070 F DEBUG : #07 pc 00000000002be6cc /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 13:55:15.498 10119 10070 10070 F DEBUG : #08 pc 00000000002a7048 /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 13:55:15.498 10119 10070 10070 F DEBUG : #09 pc 000000000000ff48 <anonymous:78caecf000>

02-25 14:55:49.657 10119 10151 10170 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2000 in tid 10170 (SGen worker), pid 10151 (appnameandroid) 02-25 14:55:49.747 10119 10151 10785 I appnameandroi: Explicit concurrent copying GC freed 438(109KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 1488KB/3024KB, paused 75us total 16.194ms 02-25 14:55:49.868 10119 10818 10818 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone 02-25 14:55:49.871 10119 10818 10818 I crash_dump64: performing dump of process 10151 (target tid = 10170) 02-25 14:55:49.891 10119 10818 10818 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 02-25 14:55:49.891 10119 10818 10818 F DEBUG : Build fingerprint: 'Lenovo/LenovoTB-8705F-EEA/8705F:10/QP1A.190711.020/S300111_220228_BMP:user/release-keys' 02-25 14:55:49.891 10119 10818 10818 F DEBUG : Revision: '0' 02-25 14:55:49.891 10119 10818 10818 F DEBUG : ABI: 'arm64' 02-25 14:55:49.892 10119 10818 10818 F DEBUG : Timestamp: 2024-02-25 14:55:49+0000 02-25 14:55:49.892 10119 10818 10818 F DEBUG : pid: 10151, tid: 10170, name: SGen worker >>> com.appname.appnameandroid <<< 02-25 14:55:49.892 10119 10818 10818 F DEBUG : uid: 10119 02-25 14:55:49.892 10119 10818 10818 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2000 02-25 14:55:49.892 10119 10818 10818 F DEBUG : x0 0000007860217808 x1 0000007856d28710 x2 0000007954af3010 x3 0000000000000000 02-25 14:55:49.892 10119 10818 10818 F DEBUG : x4 0000007953e07668 x5 0000000000000004 x6 00000000ffffffff x7 0000000000156516 02-25 14:55:49.892 10119 10818 10818 F DEBUG : x8 000000786c800000 x9 0000007855000000 x10 00000078553c4080 x11 0000000000000001 02-25 14:55:49.892 10119 10818 10818 F DEBUG : x12 0000000000000000 x13 0000000040000000 x14 0000000040300033 x15 0000000000000001 02-25 14:55:49.892 10119 10818 10818 F DEBUG : x16 00000078c7b4f4f8 x17 0000007955a25330 x18 000000786ba70000 x19 00000078553c4078 02-25 14:55:49.892 10119 10818 10818 F DEBUG : x20 ffffffffffffffff x21 0000000000002000 x22 00000078553c4080 x23 0000000000000018 02-25 14:55:49.892 10119 10818 10818 F DEBUG : x24 000000000000a6d0 x25 0000000000000003 x26 000000000000a6d8 x27 00000078c7b6af90 02-25 14:55:49.892 10119 10818 10818 F DEBUG : x28 00000078c7b6af40 x29 00000078c2c1fb20 02-25 14:55:49.892 10119 10818 10818 F DEBUG : sp 00000078c2c1fad0 lr 00000078c7b24c50 pc 00000078c7b24bb4 02-25 14:55:49.895 10119 10818 10818 F DEBUG : 02-25 14:55:49.895 10119 10818 10818 F DEBUG : backtrace: 02-25 14:55:49.896 10119 10818 10818 F DEBUG : #00 pc 00000000002dbbb4 /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 14:55:49.896 10119 10818 10818 F DEBUG : #01 pc 00000000002dd92c /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 14:55:49.896 10119 10818 10818 F DEBUG : #02 pc 00000000002fbe58 /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 14:55:49.896 10119 10818 10818 F DEBUG : #03 pc 00000000002faee4 /data/app/com.appname.appnameandroid-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b) 02-25 14:55:49.896 10119 10818 10818 F DEBUG : #04 pc 00000000000e2364 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 2a5abdc9c768b33656f7aa8d9ce5cf54) 02-25 14:55:49.896 10119 10818 10818 F DEBUG : #05 pc 0000000000083d98 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 2a5abdc9c768b33656f7aa8d9ce5cf54) 02-25 14:55:50.627 10119 10818 10818 I crash_dump: crash_mini_dump_notify exit

`*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 24884 >>> com.appname.appnameandroid <<<

backtrace:
#00 pc 0x00000000002a3e30 /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#1 pc 0x00000000002a2da8 /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#2 pc 0x000000000029db70 /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#3 pc 0x00000000002c6bc0 /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#4 pc 0x00000000002c5d5c /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#5 pc 0x00000000002c20f0 /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#6 pc 0x00000000002c1ebc /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#7 pc 0x00000000002be6cc /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#8 pc 0x00000000002a7048 /data/app/~~KH4vQPfH4SrHsY7gYsofsQ==/com.appname.appnameandroid-rH6WHxAlPx2r3PyHecByRw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#9 pc 0x000000000000ff48 `

`*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 28340 >>> com.appname.appnameandroid <<<

backtrace:
#00 pc 0x00000000002a3e30 /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#1 pc 0x00000000002a3148 /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#2 pc 0x000000000029db70 /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#3 pc 0x00000000002c6bc0 /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#4 pc 0x00000000002c5d5c /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#5 pc 0x00000000002c20f0 /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#6 pc 0x00000000002c1ebc /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#7 pc 0x00000000002be688 /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#8 pc 0x00000000002a722c /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#9 pc 0x000000000025fe48 /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#10 pc 0x0000000000268988 /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#11 pc 0x0000000000231550 /data/app/~~Itg3job7sHE6VEGOAE_muw==/com.appname.appnameandroid-oGWiZ-IwTaneghf_BM2BSw==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
#12 pc 0x00000000000073ec `

Regression?

Definite regression from Xamarin.Android to net8.0-android

Known Workarounds

No response

Configuration

We have noticed nothing in common between the devices this is happening on, nor the Android versions being used.

Other information

No response

Author: divil5000
Assignees: -
Labels:

os-android, untriaged, area-VM-meta-mono

Milestone: -

@lambdageek
Copy link
Member

@divil5000 Was your app built with .NET 8.0.0 or .NET 8.0.1? There was a regression that was only fixed in .NET8.0.2 #96872

Do you have complete ADB logs of the crashes? Could you check if there are any "assertion failed" messages in the logs?

@lambdageek
Copy link
Member

It doesn't look like #96872.

There's a couple of separate problems here:

  1. Some kind of null pointer deref in a threadpool worker:
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : pid: 7876, tid: 10006, name: .NET TP Worker  >>> com.appname.appnameandroid <<<
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : uid: 10119
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x37
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : Cause: null pointer dereference
  1. Something in a GC worker
02-25 14:55:49.657 10119 10151 10170 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2000 in tid 10170 (SGen worker), pid 10151 (appnameandroid)
02-25 14:55:49.747 10119 10151 10785 I appnameandroi: Explicit concurrent copying GC freed 438(109KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 1488KB/3024KB, paused 75us total 16.194ms

@divil5000
Copy link
Author

It looks like I've got 8.0.101 installed on the machine used to produce the software.

I don't have complete ADB logs. I do have quite a comprehensive log sent by the customer, but I am not familiar with the format. Some of it seems to be normal log output, and it's where I got a couple of my stack traces from above. I've searched the whole thing, and there is no instance of "assertion failed".

@divil5000
Copy link
Author

divil5000 commented Feb 27, 2024

More further crash information received overnight from one customer. I have a more comprehensive log output from them but can't upload it here. I'm happy to send it zipped to somewhere secure for Microsoft to reference it though, in case its contents (which is far more than I have pasted here) are helpful.

02-25 13:55:14.628 10119  7876 10006 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x37 in tid 10006 (.NET TP Worker), pid 7876 (appname)
02-25 13:55:15.006 10119 10070 10070 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-25 13:55:15.006 10119 10070 10070 F DEBUG   : Build fingerprint: 'Lenovo/LenovoTB-8705F-EEA/8705F:10/QP1A.190711.020/S300111_220228_BMP:user/release-keys'
02-25 13:55:15.006 10119 10070 10070 F DEBUG   : Revision: '0'
02-25 13:55:15.006 10119 10070 10070 F DEBUG   : ABI: 'arm64'
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : Timestamp: 2024-02-25 13:55:15+0000
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : pid: 7876, tid: 10006, name: .NET TP Worker  >>> com.appname <<<
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : uid: 10119
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x37
02-25 13:55:15.008 10119 10070 10070 F DEBUG   : Cause: null pointer dereference
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x0  000000784797c138  x1  00000000000002f9  x2  0000000000000000  x3  000000785c149f80
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x4  000000785c14a000  x5  0000000000000004  x6  0000007959e93000  x7  000000000008654a
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x8  0000000000000000  x9  0000000000000000  x10 00000000000017c0  x11 0000000000000000
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x12 0000000000000000  x13 0000000000000000  x14 0021b0bd841fa880  x15 000031785cec5b6f
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x16 00000078c7b4c3c8  x17 00000079559c0440  x18 000000784b69e000  x19 000000784797c138
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x20 0000007847856a80  x21 00000078c7b5b000  x22 000000785c151758  x23 00000078c7b5b000
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x24 0000000000000010  x25 00000078c7b5b000  x26 00000078c7b5bcb8  x27 000000007c000000
02-25 13:55:15.008 10119 10070 10070 F DEBUG   :     x28 0000000004000000  x29 00000078580427d0
02-25 13:55:15.009 10119 10070 10070 F DEBUG   :     sp  00000078580427d0  lr  00000078c7ae8dac  pc  00000078c7ae9e60
02-25 13:55:15.497 10119 10070 10070 F DEBUG   : 
02-25 13:55:15.497 10119 10070 10070 F DEBUG   : backtrace:
02-25 13:55:15.497 10119 10070 10070 F DEBUG   :       #00 pc 00000000002a3e60  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.497 10119 10070 10070 F DEBUG   :       #01 pc 00000000002a2da8  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #02 pc 000000000029db70  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #03 pc 00000000002c6bc0  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #04 pc 00000000002c5d5c  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #05 pc 00000000002c20f0  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #06 pc 00000000002c1ebc  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #07 pc 00000000002be6cc  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #08 pc 00000000002a7048  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 13:55:15.498 10119 10070 10070 F DEBUG   :       #09 pc 000000000000ff48  <anonymous:78caecf000>

02-25 14:55:49.657 10119 10151 10170 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2000 in tid 10170 (SGen worker), pid 10151 (appname)
02-25 14:55:49.891 10119 10818 10818 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-25 14:55:49.891 10119 10818 10818 F DEBUG   : Build fingerprint: 'Lenovo/LenovoTB-8705F-EEA/8705F:10/QP1A.190711.020/S300111_220228_BMP:user/release-keys'
02-25 14:55:49.891 10119 10818 10818 F DEBUG   : Revision: '0'
02-25 14:55:49.891 10119 10818 10818 F DEBUG   : ABI: 'arm64'
02-25 14:55:49.892 10119 10818 10818 F DEBUG   : Timestamp: 2024-02-25 14:55:49+0000
02-25 14:55:49.892 10119 10818 10818 F DEBUG   : pid: 10151, tid: 10170, name: SGen worker  >>> com.appname <<<
02-25 14:55:49.892 10119 10818 10818 F DEBUG   : uid: 10119
02-25 14:55:49.892 10119 10818 10818 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2000
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x0  0000007860217808  x1  0000007856d28710  x2  0000007954af3010  x3  0000000000000000
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x4  0000007953e07668  x5  0000000000000004  x6  00000000ffffffff  x7  0000000000156516
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x8  000000786c800000  x9  0000007855000000  x10 00000078553c4080  x11 0000000000000001
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x12 0000000000000000  x13 0000000040000000  x14 0000000040300033  x15 0000000000000001
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x16 00000078c7b4f4f8  x17 0000007955a25330  x18 000000786ba70000  x19 00000078553c4078
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x20 ffffffffffffffff  x21 0000000000002000  x22 00000078553c4080  x23 0000000000000018
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x24 000000000000a6d0  x25 0000000000000003  x26 000000000000a6d8  x27 00000078c7b6af90
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     x28 00000078c7b6af40  x29 00000078c2c1fb20
02-25 14:55:49.892 10119 10818 10818 F DEBUG   :     sp  00000078c2c1fad0  lr  00000078c7b24c50  pc  00000078c7b24bb4
02-25 14:55:49.895 10119 10818 10818 F DEBUG   : 
02-25 14:55:49.895 10119 10818 10818 F DEBUG   : backtrace:
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #00 pc 00000000002dbbb4  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #01 pc 00000000002dd92c  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #02 pc 00000000002fbe58  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #03 pc 00000000002faee4  /data/app/com.appname-IzOZkzKPSzXS2dPXYPDCww==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #04 pc 00000000000e2364  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 2a5abdc9c768b33656f7aa8d9ce5cf54)
02-25 14:55:49.896 10119 10818 10818 F DEBUG   :       #05 pc 0000000000083d98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 2a5abdc9c768b33656f7aa8d9ce5cf54)

02-26 17:41:15.692 10119 28647 28647 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x37 in tid 28647 (appname), pid 28647 (appname)
02-26 17:41:16.103 10119 30466 30466 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
02-26 17:41:16.109  1058   667   667 I /system/bin/tombstoned: received crash request for pid 28647
02-26 17:41:16.112 10119 30466 30466 I crash_dump64: performing dump of process 28647 (target tid = 28647)
02-26 17:41:16.170 10119 30466 30466 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-26 17:41:16.170 10119 30466 30466 F DEBUG   : Build fingerprint: 'Lenovo/LenovoTB-8705F-EEA/8705F:10/QP1A.190711.020/S300111_220228_BMP:user/release-keys'
02-26 17:41:16.171 10119 30466 30466 F DEBUG   : Revision: '0'
02-26 17:41:16.171 10119 30466 30466 F DEBUG   : ABI: 'arm64'
02-26 17:41:16.172 10119 30466 30466 F DEBUG   : Timestamp: 2024-02-26 17:41:16+0000
02-26 17:41:16.172 10119 30466 30466 F DEBUG   : pid: 28647, tid: 28647, name: appname  >>> com.appname <<<
02-26 17:41:16.172 10119 30466 30466 F DEBUG   : uid: 10119
02-26 17:41:16.172 10119 30466 30466 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x37
02-26 17:41:16.172 10119 30466 30466 F DEBUG   : Cause: null pointer dereference
02-26 17:41:16.172 10119 30466 30466 F DEBUG   :     x0  000000785833bfb0  x1  000000000000034c  x2  0000000000000000  x3  0000007877db5f80
02-26 17:41:16.173 10119 30466 30466 F DEBUG   :     x4  0000007877db6000  x5  0000000000000004  x6  0000007959e93000  x7  00000000003b9456
02-26 17:41:16.173 10119 30466 30466 F DEBUG   :     x8  0000000000000000  x9  0000000000000000  x10 0000000000001a58  x11 0000000000000000
02-26 17:41:16.173 10119 30466 30466 F DEBUG   :     x12 0000000000000000  x13 0000000000000000  x14 003867bb7687f720  x15 00004cfe5627762c
02-26 17:41:16.173 10119 30466 30466 F DEBUG   :     x16 00000078c2de03c8  x17 00000079559c0440  x18 00000078663dc630  x19 000000785833bfb0
02-26 17:41:16.173 10119 30466 30466 F DEBUG   :     x20 0000007859b998b8  x21 00000078c2def000  x22 0000007877dbdd58  x23 00000078c2def000
02-26 17:41:16.173 10119 30466 30466 F DEBUG   :     x24 000000787867e058  x25 00000078c2def000  x26 00000078c2defcb8  x27 000000007c000000
02-26 17:41:16.173 10119 30466 30466 F DEBUG   :     x28 0000000004000000  x29 0000007fdfaddd10
02-26 17:41:16.173 10119 30466 30466 F DEBUG   :     sp  0000007fdfaddd10  lr  00000078c2d7cdac  pc  00000078c2d7de60
02-26 17:41:16.392 10119 30466 30466 F DEBUG   : 
02-26 17:41:16.392 10119 30466 30466 F DEBUG   : backtrace:
02-26 17:41:16.392 10119 30466 30466 F DEBUG   :       #00 pc 00000000002a3e60  /data/app/com.appname-b3NIt0pfJwxzYQTouT6irg==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-26 17:41:16.392 10119 30466 30466 F DEBUG   :       #01 pc 00000000002a2da8  /data/app/com.appname-b3NIt0pfJwxzYQTouT6irg==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-26 17:41:16.392 10119 30466 30466 F DEBUG   :       #02 pc 000000000029db70  /data/app/com.appname-b3NIt0pfJwxzYQTouT6irg==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-26 17:41:16.392 10119 30466 30466 F DEBUG   :       #03 pc 00000000002c6bc0  /data/app/com.appname-b3NIt0pfJwxzYQTouT6irg==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-26 17:41:16.392 10119 30466 30466 F DEBUG   :       #04 pc 00000000002c5d5c  /data/app/com.appname-b3NIt0pfJwxzYQTouT6irg==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-26 17:41:16.393 10119 30466 30466 F DEBUG   :       #05 pc 00000000002c20f0  /data/app/com.appname-b3NIt0pfJwxzYQTouT6irg==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-26 17:41:16.393 10119 30466 30466 F DEBUG   :       #06 pc 00000000002c1ebc  /data/app/com.appname-b3NIt0pfJwxzYQTouT6irg==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-26 17:41:16.393 10119 30466 30466 F DEBUG   :       #07 pc 00000000002be688  /data/app/com.appname-b3NIt0pfJwxzYQTouT6irg==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-26 17:41:16.393 10119 30466 30466 F DEBUG   :       #08 pc 00000000002a7048  /data/app/com.appname-b3NIt0pfJwxzYQTouT6irg==/lib/arm64/libmonosgen-2.0.so (BuildId: 11a0fd48aa8dd5b9333e07aa1e2ee0534b59e31b)
02-26 17:41:16.393 10119 30466 30466 F DEBUG   :       #09 pc 000000000001ff48  <anonymous:78cae3a000>

@lambdageek
Copy link
Member

Cc @vitek-karas

@lambdageek
Copy link
Member

@divil5000 please open an issue on Developer Community https://developercommunity.microsoft.com/dotnet/report and attach the full logs there, the send us the link here.

I think that we will likely also need a copy of your .apk to try to reproduce the issue

@vitek-karas
Copy link
Member

@simonrozsival

@divil5000
Copy link
Author

@simonrozsival
Copy link
Member

I reviewed the provided logs (in this issue and in the Develper Community toolkit) and there isn't enough information to identify where the null pointer dereference occurred. We would need some actionable information to address this issue (repro app, symbilicated backtrace).

@divil5000 I'm closing this issue now. If you have more information you could share, please reopen this issue or open a new one and we will look into it.

@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Jul 12, 2024
@simonrozsival simonrozsival closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants