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

Crashes in native code #2315

Open
westnordost opened this issue Feb 7, 2022 · 3 comments
Open

Crashes in native code #2315

westnordost opened this issue Feb 7, 2022 · 3 comments

Comments

@westnordost
Copy link
Contributor

westnordost commented Feb 7, 2022

There have been a number of crashes in native tangram code. These don't appear that often, about 1.5% of user sessions are affected by any of those. I have no more information about this, because (I think) it never occured to me.

However, I am not sure if these backtraces are helpful at all. The addresses after # 00 pc are consistent across different devices and crash reports though.

There seem to be various issues and it varies how often each happen.
If they are not useful like this, is there something that can be done to make (future) backtraces more useful? E.g. would it be possible to release debug symbols or something together with each release?

signal 7 (SIGBUS), code 1 (BUS_ADRALN)

Happened so far on

  • Samsung Galaxy A22, Redmi Note 9S, Samsung Galaxy A40, Sony Xperia XZ3, Samsung Galaxy M22, Redmi 9, Xiaomi MI 8 Lite, Redmi Note 8 Pro, Huawei HUAWEI Mate 20 lite, Samsung Galaxy Tab S5e, Xiaomi Mi A1, Redmi Note 10T
  • Android 9, 10, 11
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> de.westnordost.streetcomplete <<<

backtrace:
  #00  pc 0000000900000000  <unknown>
  #00  pc 0000000000223a5c  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001c3c1c  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001c9c2c  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001ca040  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019b340  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019b9b8  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019c598  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000113e78  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010dc58  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010e198  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000175aac  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000176288  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011eba4  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011f354  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011fcb4  /data/app/~~hqBhp2P4UnAeNtPcGfNJ4Q==/de.westnordost.streetcomplete-VmDpSZUMY9QQ9_6kKDeKew==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000000ed098  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008cb10  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

Happened so far on

  • Google Pixel 5, Google Pixel 4a (5G), Google Pixel 3a
  • Android 12
  • new since tangram 0.17.1
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> de.westnordost.streetcomplete <<<

backtrace:
  #00  pc 00000000004ab340  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 00000000001a9a90  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 00000000001abc3c  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 00000000001cb2e4  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 00000000001969d0  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000019b904  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000019c598  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 0000000000113e78  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000010dc58  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000010e198  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 0000000000175aac  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 0000000000176288  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000011eba4  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000011f354  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000011fcb4  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #00  pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Same as above but addresses in first few lines are different

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> de.westnordost.streetcomplete <<<

backtrace:
  #00  pc 00000000001f2610  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 00000000001c94b8  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 00000000001c9d68  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 00000000001ca028  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000019b340  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000019b9b8  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000019c598  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 0000000000113e78  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000010dc58  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000010e198  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 0000000000175aac  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 0000000000176288  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000011eba4  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000011f354  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 000000000011fcb4  /data/app/~~tUh07mtuiofKhEnlxuqcEw==/de.westnordost.streetcomplete-04Ooy5mQjW435mSC5PEBNA==/split_config.arm64_v8a.apk!libtangram.so
  #00  pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
  #00  pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

signal 4 (SIGILL), code 1 (ILL_ILLOPC)

Happened so far on

  • Redmi Note 9, Xiaomi MI 9, POCO X3 NFC, Nokia 5.4, Xiaomi Mi A3, Sony Xperia 5, ZTE Jasper LTE, Redmi Note 9T, Motorola moto g(9) power, Samsung Galaxy A40
  • Android 10, 11
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> de.westnordost.streetcomplete <<<

backtrace:
  #00  pc 00000000004aa320  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001a9a6c  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001abc18  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001cb2c0  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001969ac  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019b8e0  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019c574  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000113e60  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010dc40  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010e180  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000175a88  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000176264  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011eb8c  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011f33c  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011fc9c  /data/app/de.westnordost.streetcomplete-CDSgVT2BqTyDpuErNWUACA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000000d6cb0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
  #00  pc 0000000000074eac  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Same as above but addresses in first few lines are different

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> de.westnordost.streetcomplete <<<

backtrace:
  #00  pc 00000000001f25ec  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001c9494  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001c9d44  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001ca004  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019b31c  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019b994  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019c574  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000113e60  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010dc40  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010e180  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000175a88  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000176264  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011eb8c  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011f33c  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011fc9c  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Same as above but addresses in first few lines are different

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> de.westnordost.streetcomplete <<<

backtrace:
  #00  pc 00000000004ab340  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001a9a90  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001abc3c  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001cb2e4  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001969d0  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019b904  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019c598  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000113e78  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010dc58  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010e198  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000175aac  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000176288  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011eba4  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011f354  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011fcb4  /data/app/de.westnordost.streetcomplete-ecA1qNXA6Tp9PVCIBn34YA==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000000e3614  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
  #00  pc 0000000000084e98  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)

Happened so far on

  • Samsung Galaxy A40, Lenovo Tab M10 FHD Plus, Samsung Galaxy M31s,Samsung Galaxy A51 5G, Motorola moto g(8) plus
  • Android 10, 11
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> de.westnordost.streetcomplete <<<

backtrace:
  #00  pc 0000000000091440  [anon:libc_malloc]
  #00  pc 0000000000223a5c  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001c3c1c  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001c9c2c  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001ca040  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019b340  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019b9b8  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019c598  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000113e78  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010dc58  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010e198  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000175aac  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000176288  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011eba4  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011f354  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011fcb4  /data/app/de.westnordost.streetcomplete-CzAL5U2txMkLRy4RRXkIDg==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000000e205c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
  #00  pc 0000000000084af0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Same as above but addresses in first few lines are different

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> de.westnordost.streetcomplete <<<

backtrace:
  #00  pc 0000000000268dc0  [anon:libc_malloc]
  #00  pc 0000000000223a38  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001c3bf8  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001c9c08  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000001ca01c  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019b31c  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019b994  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000019c574  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000113e60  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010dc40  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000010e180  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000175a88  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 0000000000176264  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011eb8c  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011f33c  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 000000000011fc9c  /data/app/~~gY48kCHVzELwedyBpXAzDQ==/de.westnordost.streetcomplete-wHkUnapY-_4UeFELoaVnHQ==/split_config.arm64_v8a.apk!lib/arm64-v8a/libtangram.so (offset 0xe0000)
  #00  pc 00000000000eb7a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #00  pc 000000000008bc8c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

Happened so far on:

  • POCO X3 Pro, Fairphone Fairphone3, Redmi Note 10T, Samsung Galaxy A12, Redmi Note 9S, Huawei 华为畅享8, OnePlus 6
  • Android 8, 10, 11
  • hasn't happened since 0.17.1 (but doesn't occur that often anyway)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> de.westnordost.streetcomplete <<<

backtrace:
  #00  pc 0000000000182aac  /data/app/de.westnordost.streetcomplete-_gwBuwKMr0faiG1NAfMEaA==/lib/arm64/libtangram.so
  #00  pc 0000000000182734  /data/app/de.westnordost.streetcomplete-_gwBuwKMr0faiG1NAfMEaA==/lib/arm64/libtangram.so
  #00  pc 00000000000e34f0  /data/app/de.westnordost.streetcomplete-_gwBuwKMr0faiG1NAfMEaA==/lib/arm64/libtangram.so
  #00  pc 00000000001758b0  /data/app/de.westnordost.streetcomplete-_gwBuwKMr0faiG1NAfMEaA==/lib/arm64/libtangram.so
  #00  pc 000000000011f0e4  /data/app/de.westnordost.streetcomplete-_gwBuwKMr0faiG1NAfMEaA==/lib/arm64/libtangram.so
  #00  pc 000000000011fc9c  /data/app/de.westnordost.streetcomplete-_gwBuwKMr0faiG1NAfMEaA==/lib/arm64/libtangram.so
  #00  pc 00000000000678b4  /system/lib64/libc.so (__pthread_start(void*)+36)
  #00  pc 000000000001ef24  /system/lib64/libc.so (__start_thread+68)
@matteblair
Copy link
Member

I'll see if I can translate any of these backtraces into code locations using ndk-stack. Are these crashes all using tangram-es 0.17.1?

Your suggestion about providing debug symbols with releases makes sense to me, if it isn't terribly complicated. It seems like Google Play is able to symbolicate native crash stack traces if you upload a symbols file with the app. So I'll test whether an Android library like tangram-es is able to produce symbols in a way that an app can upload.

@westnordost
Copy link
Contributor Author

Are these crashes all using tangram-es 0.17.1?

Yes, except the last one (so far)

@westnordost
Copy link
Contributor Author

It seems like Google Play is able to symbolicate native crash stack traces if you upload a symbols file with the app.

Yes, exactly. I actually get warnings every time I upload a new release that the app contains native libraries and that it would be advisable to upload debug symbols to be able to make sense of the stack traces.

A quick search in the docs reveal that this might be as easy as adding one property to the build.gradle
https://developer.android.com/studio/build/shrink-code#android_gradle_plugin_version_41_or_later

Obviously didn't test it, so far I stayed cleared from any NDK stuff, so I have no knowledge in this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants