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

Signal 5 (SIGTRAP) code 1 (TRAP_BRKPT) error on android #326

Open
XLIVE99 opened this issue Jan 8, 2024 · 5 comments
Open

Signal 5 (SIGTRAP) code 1 (TRAP_BRKPT) error on android #326

XLIVE99 opened this issue Jan 8, 2024 · 5 comments
Labels
bug Something isn't working stale This isue has been inactive

Comments

@XLIVE99
Copy link

XLIVE99 commented Jan 8, 2024

MAX Plugin Version

6.1.2

Unity Version

2021.3.18f1

Device/Platform Info

Galaxy J7(2016)

Current Behavior

The game crashes when:

  • Before watching rewarded ads sometimes
  • After watching rewarded ads
  • Loading banner while switching scenes sometimes (We might diagnosed this wrong)
  • Switching banner (We are not sure about this)

If we disable initialization of all the ads. The crash immediately dissappears.

Expected Behavior

Not crashing the game

How to Reproduce

  • Obtain Galaxy J7 (2016)
  • Add Applovin banner, interstitial, rewarded
  • Try to watch rewarded

We are not sure if this cause from some mediation. We will test this further. Currently installed mediations:
Facebook, Google Ad Manager, Google AdMob, InMobi, ironSource, Liftoff Monetize, Mintegral, Ogury, Pangle, Smaato, Unity Ads

Additional Info

We got different error logs each time. Logs from ADB:

Build fingerprint: 'samsung/j7xeltexx/j7xelte:7.0/NRD90M/J710FXXU5BRC2:user/release-keys'
Revision: '7'
ABI: 'arm'
pid: 13860, tid: 14404, name: ThreadPoolForeg  >>> com.wombatgames.paintnumbersrainbow <<<
signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0xe01475c8
Abort message: 'art/runtime/indirect_reference_table.cc:129] JNI ERROR (app bug): local reference table overflow (max=512)'
    r0 870242cc  r1 00003868  r2 5bb36448  r3 00000001
    r4 00200000  r5 870242f8  r6 20202020  r7 87024398
    r8 d891886c  r9 d8918878  sl 00000000  fp d8918028
    ip d87080d0  sp 870242c8  lr d4b28b5d  pc d4b28b5c  cpsr 400b0030

backtrace:
    #00 pc 00c5eb5c  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #01 pc 00c5eb6b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #02 pc 036932f9  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #03 pc 0369318b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #04 pc 00c5f043  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #05 pc 00c5eeb3  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #06 pc 02494281  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #07 pc 024c9367  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #08 pc 023da65f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #09 pc 023ed42f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #10 pc 0275dbff  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #11 pc 03e9ac01  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #12 pc 024df21b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #13 pc 024dfcc1  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #14 pc 024dfc91  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #15 pc 024dfaed  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #16 pc 024df367  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #17 pc 024ded0f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #18 pc 02508591  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #19 pc 02508543  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #20 pc 02490dbd  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #21 pc 00047f93  /system/lib/libc.so (_ZL15__pthread_startPv+22)
    #22 pc 0001a161  /system/lib/libc.so (__start_thread+6)

From trying to watch rewarded:

Build fingerprint: 'samsung/j7xeltexx/j7xelte:7.0/NRD90M/J710FXXU5BRC2:user/release-keys'
Revision: '7'
ABI: 'arm'
pid: 27668, tid: 28260, name: Chrome_InProcRe  >>> com.wombatgames.paintnumbersrainbow <<<
signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0xd7aad474
Abort message: 'Encountered EGL error 12291 EGL_BAD_ALLOC during rendering'
    r0 868d0e1c  r1 00000000  r2 0063fec8  r3 00000001
    r4 0020c000  r5 868d0e48  r6 20202020  r7 868d0ee8
    r8 d891886c  r9 d8918878  sl d8918888  fp d8918848
    ip d63d296d  sp 868d0e18  lr d4b28b5d  pc d4b28b5c  cpsr 880b0030

backtrace:
    #00 pc 00c5eb5c  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #01 pc 00c5eb6b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #02 pc 036932f9  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #03 pc 0369318b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #04 pc 00c5f043  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #05 pc 00c5eeb3  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #06 pc 024942a9  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #07 pc 024c9367  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #08 pc 02443585  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #09 pc 027cd5a3  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #10 pc 025550e5  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #11 pc 023ccaab  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #12 pc 0222735d  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #13 pc 027393d5  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #14 pc 02739211  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #15 pc 02738bc7  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #16 pc 023b6fed  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #17 pc 023b680d  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #18 pc 023b5693  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #19 pc 023b588f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #20 pc 02360ff9  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #21 pc 024df21b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #22 pc 019f43a5  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #23 pc 024df21b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #24 pc 024dda71  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #25 pc 019f50bf  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #26 pc 0252dd45  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #27 pc 024e7f01  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #28 pc 024e7c2d  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #29 pc 024e7b2f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #30 pc 02424997  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #31 pc 02490dbd  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #32 pc 00047f93  /system/lib/libc.so (_ZL15__pthread_startPv+22)
    #33 pc 0001a161  /system/lib/libc.so (__start_thread+6)
Build fingerprint: 'samsung/j7xeltexx/j7xelte:7.0/NRD90M/J710FXXU5BRC2:user/release-keys'
Revision: '7'
ABI: 'arm'
pid: 2612, tid: 3583, name: Compositor  >>> com.wombatgames.paintnumbersrainbow <<<
signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0xd6856a1a
    r0 82dfe7fc  r1 00000001  r2 00000000  r3 0000c520
    r4 0000fa00  r5 54bafc40  r6 54bafc40  r7 00000000
    r8 82dfe89c  r9 82dfe880  sl 00000000  fp 82dfef84
    ip d8707f78  sp 82dfe7f8  lr d4b28b5d  pc d4b28b5c  cpsr 800e0030

backtrace:
    #00 pc 00c5eb5c  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #01 pc 0238a79b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #02 pc 02a2ba41  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #03 pc 00d7b4b3  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #04 pc 00dda525  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #05 pc 029f6683  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #06 pc 01e69b19  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #07 pc 033f756f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #08 pc 034e5117  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #09 pc 032cc03f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #10 pc 01e9093b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #11 pc 01e908fb  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #12 pc 034dd2c5  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #13 pc 038aec3f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #14 pc 032c1cc9  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #15 pc 032ac745  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #16 pc 032a31eb  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #17 pc 018a65c7  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #18 pc 026dbffd  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #19 pc 026d8b2f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #20 pc 026d89a3  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #21 pc 02594a5b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #22 pc 026e38ed  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #23 pc 03620d45  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #24 pc 0362c5c9  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #25 pc 0362c627  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #26 pc 018a697b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #27 pc 018a6a0d  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #28 pc 03efecb3  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #29 pc 014d35f9  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #30 pc 025219f7  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #31 pc 025213f1  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #32 pc 02521727  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #33 pc 02544049  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #34 pc 02543d99  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #35 pc 025213f1  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #36 pc 02520d65  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #37 pc 0252041d  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #38 pc 02520383  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #39 pc 020d1025  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #40 pc 02520269  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #41 pc 024df21b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #42 pc 024dda71  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #43 pc 019f50bf  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #44 pc 0252dd45  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #45 pc 024e7f01  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #46 pc 024e7c2d  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #47 pc 0240ec0d  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #48 pc 02490dbd  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #49 pc 00047f93  /system/lib/libc.so (_ZL15__pthread_startPv+22)
    #50 pc 0001a161  /system/lib/libc.so (__start_thread+6)
Build fingerprint: 'samsung/j7xeltexx/j7xelte:7.0/NRD90M/J710FXXU5BRC2:user/release-keys'
Revision: '7'
ABI: 'arm'
pid: 30540, tid: 32525, name: Chrome_InProcRe  >>> com.wombatgames.paintnumbersrainbow <<<
signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0x908e3c52
    r0 a26d708c  r1 00000000  r2 56884d88  r3 00000001
    r4 00200000  r5 a26d70b8  r6 20202020  r7 a26d7158
    r8 d891886c  r9 d8918878  sl 00000000  fp d89184a8
    ip d63d296d  sp a26d7088  lr d4b28b5d  pc d4b28b5c  cpsr 800f0030

backtrace:
    #00 pc 00c5eb5c  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #01 pc 00c5eb6b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #02 pc 036932f9  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #03 pc 0369318b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #04 pc 00c5f043  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #05 pc 00c5eeb3  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #06 pc 02494281  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #07 pc 024c9367  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #08 pc 02443585  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #09 pc 024435c7  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #10 pc 02443551  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #11 pc 03edd49d  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #12 pc 023f9b15  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #13 pc 025219f7  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #14 pc 0252142f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #15 pc 02521727  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #16 pc 02547271  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #17 pc 02547207  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #18 pc 024df21b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #19 pc 019f43a5  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #20 pc 024df21b  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #21 pc 024dda71  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #22 pc 019f50bf  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #23 pc 0252dd45  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #24 pc 024e7f01  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #25 pc 024e7c2d  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #26 pc 024e7b2f  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #27 pc 02424997  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #28 pc 02490dbd  /data/app/com.android.chrome-2/base.apk (offset 0xe3a000)
    #29 pc 00047f93  /system/lib/libc.so (_ZL15__pthread_startPv+22)
    #30 pc 0001a161  /system/lib/libc.so (__start_thread+6)

All the pid is the unity itself, but couldn't find which process is the tid.

@XLIVE99 XLIVE99 added the bug Something isn't working label Jan 8, 2024
@JonathanLiuApp
Copy link
Contributor

Hi @XLIVE99, could you enable verbose logging and share the full logs for the session so we can investigate?

@XLIVE99
Copy link
Author

XLIVE99 commented Jan 9, 2024

There are some logs from our side as well, I couldn't see much difference from disabled verbose logging. File has 500 lines so i will just drop the .txt file. Crashed after successfully watched rewarded ads:
AfterRewardedCrash.txt

@KelpieT
Copy link

KelpieT commented May 13, 2024

Same issue here at SDK 6.4.4.
I receive many errors SIGTRAP , SIGABRT , SIGSEGV in crashlitycs after update from 6.4.0 to 6.4.4

@cihadturhan
Copy link

I received some crash logs on android and I'm suspecting of Applovin Admob adapter but couldn't get any meaningful info from google play console. I integrated backtrace so I'll submit a detailed crash log after that.

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale This isue has been inactive label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale This isue has been inactive
Projects
None yet
Development

No branches or pull requests

4 participants