1. Download our Official Android App: Forums for Android!

Apps App suddenly crashes

Discussion in 'Android Development' started by derniels, May 29, 2011.

  1. derniels

    derniels Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    May 29, 2011

    May 29, 2011
    1
    0
    5
    Hi all,
    I'm currently developing an application that integrates a native library using NDK. JNI calls are made in both directions. After some time running, the app is suddenly killed with a segmentation fault.

    In LogCat I see no stack trace but only the following output:
    05-29 17:36:11.008: DEBUG/Zygote(31968): Process 11816 terminated by signal (11)
    05-29 17:36:11.008: INFO/ActivityManager(31973): Process com.xxx (pid 11816) has died.
    05-29 17:36:11.012: INFO/WindowManager(31973): WIN DEATH: Window{484c4b60 com.xxx/com.xxx.MainActivity paused=false}

    Normally if a provoke a segmentation fault, I see a full stack trace. I therefor don't understand, why the system behaves different here. I appreciate each idea on how to start investigating.

    Best regards,
    Niels

    PS: I'm using NDK r5b. My development device runs with Android 2.2.1.
     

    Advertisement

  2. Smoker

    Smoker Newbie
    Rank:
    None
    Points:
    15
    Posts:
    15
    Joined:
    May 25, 2011

    May 25, 2011
    15
    0
    15
    I have no experience using the NDK, but you might get some more responses at the Google group: Android Development. Actually, I think there's a specific Google group for the NDK by itself. Best to ask it there.

    Smoker
     

Share This Page

Loading...