Closing map view with back button, crashes app with Fatal signal 11 (SIGSEGV) at 0x00

1986
3
Jump to solution
06-20-2012 08:45 AM
RobertNitzel
New Contributor
Hello,

   I've been having a problem with the new SDk 1.1.1, I recently updated from 1.0.

   I followed the SDK update instructions and have my app displaying the map view correctly.

   This error occurs when the user exits the map and then tries to enter another activity within my app.
   My app is a multi activity application, with a startup menu to allow the user to select the activity they want to view.  One of these activities is the map view.

   I have recreated this error in the ESRI sample HelloWorld. 

   This error happens on: HTC G2 (Android 2.3.4), Nexus 1 (Android 4.0.3), and the local AVD (Android 4.0.3)

Here is a dump of the logCat at the time of this error, appears to be a seg fault dump.  I've also attached the log file of this logCat.

06-20 15:29:35.844: I/GLMapCore(666): TexturesManager::releaseGraphicsHardwareResources
06-20 15:29:35.844: E/libEGL(666): call to OpenGL ES API with no current context (logged once per thread)
06-20 15:29:35.844: A/libc(666): Fatal signal 11 (SIGSEGV) at 0x00000010 (code=1)
06-20 15:29:36.404: I/DEBUG(34): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-20 15:29:36.404: I/DEBUG(34): Build fingerprint: 'generic/sdk/generic:4.0.4/MR1/302030:eng/test-keys'
06-20 15:29:36.404: I/DEBUG(34): pid: 666, tid: 680  >>> com.esri.arcgis.android.samples.helloworld <<<
06-20 15:29:36.404: I/DEBUG(34): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000010
06-20 15:29:36.404: I/DEBUG(34):  r0 00181610  r1 00000000  r2 00181610  r3 00000011
06-20 15:29:36.404: I/DEBUG(34):  r4 44e2a130  r5 000bcbe0  r6 00000000  r7 4ac2aea8
06-20 15:29:36.404: I/DEBUG(34):  r8 4ad2abdc  r9 4ac2ae9c  10 00000000  fp 4ad2abf4
06-20 15:29:36.404: I/DEBUG(34):  ip 4004c498  sp 4ad2ab48  lr 4a147fa8  pc 00000010  cpsr 20000030
06-20 15:29:36.404: I/DEBUG(34):  d0  7149f2ca427c0000  d1  428100007149f2ca
06-20 15:29:36.404: I/DEBUG(34):  d2  3ff0000000000000  d3  4050000000000000
06-20 15:29:36.404: I/DEBUG(34):  d4  bff0000000000000  d5  3ff0000000000000
06-20 15:29:36.404: I/DEBUG(34):  d6  41731bf8457c0e39  d7  3f8000003f800000
06-20 15:29:36.404: I/DEBUG(34):  d8  0000000000000000  d9  0000000000000000
06-20 15:29:36.404: I/DEBUG(34):  d10 0000000000000000  d11 0000000000000000
06-20 15:29:36.404: I/DEBUG(34):  d12 0000000000000000  d13 0000000000000000
06-20 15:29:36.424: I/DEBUG(34):  d14 0000000000000000  d15 0000000000000000
06-20 15:29:36.424: I/DEBUG(34):  scr 60000012
06-20 15:29:36.994: I/DEBUG(34):          #00  pc 00000010 
06-20 15:29:36.994: I/DEBUG(34):          #01  pc 002aefa4  /data/data/com.esri.arcgis.android.samples.helloworld/lib/libGLMapCore.so
06-20 15:29:36.994: I/DEBUG(34):          #02  pc 003d28d4  /data/data/com.esri.arcgis.android.samples.helloworld/lib/libGLMapCore.so
06-20 15:29:36.994: I/DEBUG(34): code around pc:
06-20 15:29:36.994: I/DEBUG(34): 00000000 ffffffff ffffffff ffffffff ffffffff  ................
06-20 15:29:36.994: I/DEBUG(34): 00000010 ffffffff ffffffff ffffffff ffffffff  ................
06-20 15:29:36.994: I/DEBUG(34): 00000020 ffffffff ffffffff ffffffff ffffffff  ................
06-20 15:29:36.994: I/DEBUG(34): 00000030 ffffffff ffffffff ffffffff ffffffff  ................
06-20 15:29:36.994: I/DEBUG(34): 00000040 ffffffff ffffffff ffffffff ffffffff  ................
06-20 15:29:37.005: I/DEBUG(34): code around lr:
06-20 15:29:37.005: I/DEBUG(34): 4a147f88 e5933000 e5933000 e2833004 e5933000  .0...0...0...0..
06-20 15:29:37.005: I/DEBUG(34): 4a147f98 e59d2004 e5922000 e1a00002 e12fff33  . ... ......3./.
06-20 15:29:37.005: I/DEBUG(34): 4a147fa8 e59d3004 e59d2000 e5832000 e59d3004  .0... ... ...0..
06-20 15:29:37.005: I/DEBUG(34): 4a147fb8 e5933000 e3530000 0a000007 e59d3004  .0....S......0..
06-20 15:29:37.005: I/DEBUG(34): 4a147fc8 e5933000 e5933000 e5933000 e59d2004  .0...0...0... ..
06-20 15:29:37.005: I/DEBUG(34): stack:
06-20 15:29:37.014: I/DEBUG(34):     4ad2ab08  00000000 
06-20 15:29:37.014: I/DEBUG(34):     4ad2ab0c  40019a9d  /system/lib/libc.so
06-20 15:29:37.014: I/DEBUG(34):     4ad2ab10  44e2a130  /dev/ashmem/dalvik-LinearAlloc (deleted)
06-20 15:29:37.014: I/DEBUG(34):     4ad2ab14  000bcbe0  [heap]
06-20 15:29:37.014: I/DEBUG(34):     4ad2ab18  00000000 
06-20 15:29:37.014: I/DEBUG(34):     4ad2ab1c  4ac2aea8 
06-20 15:29:37.014: I/DEBUG(34):     4ad2ab20  4ad2abdc 
06-20 15:29:37.014: I/DEBUG(34):     4ad2ab24  4ac2ae9c 
06-20 15:29:37.024: I/DEBUG(34):     4ad2ab28  00000000 
06-20 15:29:37.024: I/DEBUG(34):     4ad2ab2c  4001a0ff  /system/lib/libc.so
06-20 15:29:37.024: I/DEBUG(34):     4ad2ab30  44e2a130  /dev/ashmem/dalvik-LinearAlloc (deleted)
06-20 15:29:37.024: I/DEBUG(34):     4ad2ab34  4a2722d4  /data/data/com.esri.arcgis.android.samples.helloworld/lib/libGLMapCore.so
06-20 15:29:37.024: I/DEBUG(34):     4ad2ab38  000bd744  [heap]
06-20 15:29:37.024: I/DEBUG(34):     4ad2ab3c  00181610  [heap]
06-20 15:29:37.034: I/DEBUG(34):     4ad2ab40  df0027ad 
06-20 15:29:37.034: I/DEBUG(34):     4ad2ab44  00000000 
06-20 15:29:37.034: I/DEBUG(34): #01 4ad2ab48  00000000 
06-20 15:29:37.034: I/DEBUG(34):     4ad2ab4c  002332a0  [heap]
06-20 15:29:37.034: I/DEBUG(34):     4ad2ab50  44e2a130  /dev/ashmem/dalvik-LinearAlloc (deleted)
06-20 15:29:37.034: I/DEBUG(34):     4ad2ab54  4a26b8d8  /data/data/com.esri.arcgis.android.samples.helloworld/lib/libGLMapCore.so
06-20 15:29:43.524: I/InputDispatcher(96): Application is not responding: Window{41562c38 com.esri.arcgis.android.samples.helloworld/com.esri.arcgis.android.samples.helloworld.MainMenu paused=false}.  5006.3ms since event, 5004.8ms since wait started
06-20 15:29:43.524: I/WindowManager(96): Input event dispatching timed out sending to com.esri.arcgis.android.samples.helloworld/com.esri.arcgis.android.samples.helloworld.MainMenu
06-20 15:29:45.834: W/ActivityManager(96): Activity destroy timeout for ActivityRecord{41593440 com.esri.arcgis.android.samples.helloworld/.HelloWorld}
06-20 15:29:48.524: I/InputDispatcher(96): Dropped event because it is stale.
06-20 15:29:50.784: I/BootReceiver(96): Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)


Please let me know if anyone has resolved this issue, and what steps need to be taken.

Thanks

Robert
0 Kudos
1 Solution

Accepted Solutions
AndyGup
Esri Regular Contributor
Robert, Try upgrading to ArcGIS for Android SDK v2. That was a known bug that should be fixed in the latest version.

-Andy

View solution in original post

0 Kudos
3 Replies
AndyGup
Esri Regular Contributor
Robert, Try upgrading to ArcGIS for Android SDK v2. That was a known bug that should be fixed in the latest version.

-Andy
0 Kudos
RobertNitzel
New Contributor
Robert, Try upgrading to ArcGIS for Android SDK v2. That was a known bug that should be fixed in the latest version.

-Andy


Great,

Thanks for the response.  I've recompiled and it appears to work without crashing now.

I'll mark this thread as answered.

Robert
0 Kudos
SoniaGupta
New Contributor

Hi I am getting the same crash on Version 100.6, the latest version. Pleases help me on this issue. Below are the logs-

Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x81d80000 in  (Java_com_esri_arcgisruntime_internal_jni_CoreGeoView_nativeDraw+30)

Log-

Fatal signal 11 (SIGSEGV), code 1, fault addr 0x7 in tid 18247 (GLThread 1733), pid 17853 (com.example)

 

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x81d80000
    r0 863fdbf8  r1 81d80000  r2 80000000  r3 00000008
    r4 00000002  r5 81d7fff0  r6 863fdbe8  r7 7b5f7600
    r8 00000011  r9 91e243a8  sl 91e215a4  fp 91e24424
    ip 20000000  sp 7b5f75d8  lr 9192d161  pc adb5dea0  cpsr 800d0010
    d0  00636e79735f4c47  d1  6567616d695f4c47
    d2  0000000000000000  d3  0000000000000000
    d4  0000000000000000  d5  0000000000000000
    d6  0000000000000000  d7  0000000000000000
    d8  0000000000000000  d9  0000000000000000
    d10 0000000000000000  d11 0000000000000000
    d12 0000000000000000  d13 0000000000000000
    d14 0000000000000000  d15 0000000000000000
    d16 0000001a00000021  d17 2e7070612e646c2e
    d18 3fe0000000000000  d19 408c200000000000
    d20 0000000000000000  d21 0000000000000000
    d22 0000000400000004  d23 0000000400000004
    d24 000021c1000001c1  d25 000061c1000041c1
    d26 000021c0000001c0  d27 000061c0000041c0
    d28 bfb745d100000000  d29 0000000000000000
    d30 00000000000b4061  d31 0000000000000000
    scr 60000093

 

    #10 pc 00148b77  /data/app/com.example-v_vhwU5WLW5XeKDHSHS2FA==/lib/arm/libruntimecore_java.so (offset 0x11f000) (Java_com_esri_arcgisruntime_internal_jni_CoreGeoView_nativeDraw+30)

 

Its crashing on Android OS version below 9. Please help me how to fix this crash as its crashing frequently.

0 Kudos