Android Question S6 Edge App crash report - can't find where to look for bug?

affable

Member
Licensed User
Longtime User
Two users have submitted this crash report via google play, they are the first I've received (only 50 installs so far) and this is my first Android App. I'm having trouble working out where to start looking for the bug?

This first S6Edge user gets the problem simply selecting menu items, other than that the app is working ok. I've looked and there was an 2013 bug in this area, however Erel said it would be fixed and I can't see any similar threads.

B4X:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/zeroltexx/zerolte:5.1.1/LMY47X/G925FXXU3COI9:user/release-keys'
Revision: '10'
ABI: 'arm64'
pid: 788, tid: 788, name: <<SUPPRESSED MY APP>>
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6c0061006e0072
    x0   0000000000000001  x1   0000007f7e06dea8  x2   0000000000000001  x3   0000007f8b08a2ac
    x4   0000000000000000  x5   0000007f8b08a2a8  x6   0000000000000000  x7   0000000000430000
    x8   0000000000000000  x9   d46581aa260cec6f  x10  0000000000000000  x11  0000000000430000
    x12  0000000000550000  x13  0000000000430000  x14  0000000000000000  x15  0000007f8affb000
    x16  006c0061006e0072  x17  000000000000002f  x18  0000007f8af42000  x19  0000007f8b0684a0
    x20  0000007fe17cc1c8  x21  0000007f7e06de98  x22  0000000000000001  x23  0000000000000026
    x24  0000007f8b068540  x25  00000000fffffffe  x26  0000000000000000  x27  0000007f8eb9e7f0
    x28  0000007f7e06dea8  x29  0000007fe17cc100  x30  0000007f8eb9fdd0
    sp   0000007fe17cc100  pc   0000007f8eb9fd2c  pstate 0000000060000000

backtrace:
    #00 pc 000000000001ad2c  /system/lib64/libutils.so (android::Looper::pollInner(int)+740)
    #01 pc 000000000001ae5c  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+76)
    #02 pc 00000000000dcf7c  /system/lib64/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+48)
    #03 pc 000000000010a0f4  /system/framework/arm64/boot.oat

The only other crash report I have received is from a Nexus7 user who has not made contact with me so I don't know the cause, however it looks similar -

B4X:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/razorg/deb:6.0.1/MMB29O/2459718:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 18272, tid: 18272, name: <<SUPPRESSED MY APP>>
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x54
    r0 00000001  r1 9ea2ef24  r2 b6e9854f  r3 00000054
    r4 aee44e00  r5 9ea2ef10  r6 00000000  r7 0000001b
    r8 aee44e4c  r9 00000000  sl 00000001  fp b6f11c11
    ip b6eb188c  sp bea18078  lr b6e52c99  pc b6f0de18  cpsr 000d0030

backtrace:
    #00 pc 00012e18  /system/lib/libutils.so (android::Looper::pollInner(int)+551)
    #01 pc 00012ed3  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+130)
    #02 pc 00081ce1  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, _jobject*, int)+22)
    #03 pc 7327456d  /data/dalvik-cache/arm/system@[email protected] (offset 0x1ec9000)

Here is the menu code (abbreviated) which caused the 1st crash report when selecting "Preferences" -

B4X:
Sub OpenMenu
    Try

        Dim MenuPreferences As String = "Preferences"
        Dim MenuAbout As String = "About XXX"
        Dim res As Int
      
        MainMenu.Initialize
        MainMenu.Add(MenuAbout)      
        MainMenu.Add(MenuPreferences)          

        res = InputList(MainMenu,"Main Menu", -1)
        If res <> DialogResponse.CANCEL Then
            Exception.WriteDebugInfo("Main.OpenMenu." & res)
            Select MainMenu.Get(res)
                  
                Case MenuPreferences
                    StartActivity(Preferences)
                    CallSubDelayed( Preferences,"ShowPreferences")
                  
                Case MenuAbout
                    ShowAbout

            End Select
        End If
      
    Catch
        Exception.show(strClass,"OpenMenu",LastException)
    End Try      
End Sub
 
Last edited:
Top