How to Handle App Startup Crashes

I'm having a little trouble diagnosing an issue with an app running in test cloud. I've got a user who is experiencing a crash and I see the same thing when I run on a similar device on test cloud. The issue is occurring with an HTC A9 running Marshmallow. Short of going out and buying the device, does anyone have a recommendation on where to start debugging the issue? I'm not seeing it in Xamarin Android Player with a Marshmallow build, didn't get the issue on my Nexus 5X physical and in test cloud so it seems to be something with the HTC.

Best Answer

Answers

  • JamesAltJamesAlt USUniversity ✭✭

    I'm still digging through everything, but this is what comes up. There might be some more but the log is pretty long. I'll post more if I find something else of note.

    Fatal signal 11 (SIGSEGV), code 1, fault addr 0x592 in tid 9413 (hwuiTask2)
    *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Build fingerprint: 'htc/hiaeuhl_00401/htc_hiaeuhl:6.0/MRA58K/656287.5:user/release-keys'
    Revision: '0'
    ABI: 'arm'
    pid: 9367, tid: 9413, name: hwuiTask2 >>> com.alterity.schilling.mobile.droid <<<
    signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x592
    r0 000000b2 r1 00000001 r2 00000002 r3 000000b2
    r4 000000b3 r5 000000b1 r6 00000016 r7 d58e9f30
    r8 000000af r9 d58ea268 sl d58e95f0 fp 00000023
    ip 00000034 sp 00000000 lr f5f95df3 pc f5f9575e cpsr 000f0030
    backtrace:
    #00 pc 0005875e /system/lib/libhwui.so
    #01 pc 00059839 /system/lib/libhwui.so
    #02 pc 00054381 /system/lib/libhwui.so
    #03 pc 0005a8d9 /system/lib/libhwui.so
    #04 pc 0001f979 /system/lib/libhwui.so
    #05 pc 00011b95 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
    #06 pc 0005e5fd /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+108)
    #07 pc 00042143 /system/lib/libc.so (__pthread_start(void*)+30)
    #08 pc 00019305 /system/lib/libc.so (__start_thread+6)
    
  • JamesAltJamesAlt USUniversity ✭✭

    Thanks again for all the help Glenn! It looks like the problem had to do with an OpenGL error that was only affecting the HTC devices (might be others I haven't tested yet). This was caused from some animations I was performing on the first screen so it would never properly start up. I removed those animations and everything started working again so now I need to go back and figure out why the animations weren't working.

    The hint from the stack trace was:
    E/OpenGLRenderer( 9367): resultIndex is -1, the polygon must be invalid!

  • An exhibit of Markdown

    This note demonstrates some of what [Markdown][1] is capable of doing.

    Note: Feel free to play with this page. Unlike regular notes, this doesn't automatically save itself.

    Basic formatting

    Paragraphs can be written like so. A paragraph is the basic block of Markdown. A paragraph is what text will turn into when there is no reason it should become anything else.

    Paragraphs must be separated by a blank line. Basic formatting of italics and bold is supported. This can be nested like so.

Sign In or Register to comment.