Application accidentally crashes with A / libc: fatal signal 11

therefore, my application began to randomly crash using Fatal Signal 11 (with random actions, some seem to do this more often than others, but I have not found the template yet). I have no idea why this was not done before, and my code did not change much and basically, the same code is great for my colleague. what am i tired of doing to fix this:

  • Rebooting my machine.
  • Triple check of everything in my code
  • Run gradlew cleans and restores everything
  • Checking the old version of VCS (I'm sure it works)
  • Checking the old version from VCS for a completely new project
  • Using different versions of android (4.1-4.3)
  • Using different emulators (regular avd and genymotion)

Honestly, I have all of the ideas, there were no changes on my machine (not even Windows updates), no major changes to the code (and I tried to return only to be safe), no changes to the JVM, Android Studio there was no update, and the error was completely random.

thanks for any ideas ...

crash report:

.debug A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x97e2c9c4 (code=2), thread 1768 (.smartpos.debug)
11-25 12:37:20.092      103-103/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-25 12:37:20.092      103-103/? I/DEBUG﹕ Build fingerprint: 'generic/vbox86p/vbox86p:4.3/JLS36G/eng.buildbot.20131113.022613:userdebug/test-keys'
11-25 12:37:20.092      103-103/? I/DEBUG﹕ Revision: '0'
11-25 12:37:20.092      103-103/? I/DEBUG﹕ pid: 1768, tid: 1768, name: .smartpos.debug  >>> .debug <<<
11-25 12:37:20.092      103-103/? I/DEBUG﹕ signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 97e2c9c4
11-25 12:37:20.196      103-103/? I/DEBUG﹕ eax 97e2c034  ebx b6191ccc  ecx b8aea200  edx 00000264
11-25 12:37:20.200      103-103/? I/DEBUG﹕ esi a56b0b58  edi a56b0b58
11-25 12:37:20.200      103-103/? I/DEBUG﹕ xcs 00000073  xds 0000007b  xes 0000007b  xfs 00000000  xss 0000007b
11-25 12:37:20.200      103-103/? I/DEBUG﹕ eip b60ae6fc  ebp 97e2c000  esp bfe452e0  flags 00210282
11-25 12:37:20.200      103-103/? I/DEBUG﹕ backtrace:
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #00  pc 000de6fc  /system/lib/libdvm.so (dvmResolveString+124)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #01  pc 0002a3d7  /system/lib/libdvm.so
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #02  pc 00277767  /dev/ashmem/dalvik-heap (deleted)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #03  pc 0003b322  /system/lib/libdvm.so (dvmMterpStd(Thread*)+66)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #04  pc 000369e9  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+217)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #05  pc 000b9f62  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+1634)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #06  pc 000ce9e0  /system/lib/libdvm.so (Dalvik_java_lang_reflect_Method_invokeNative(unsigned int const*, JValue*)+288)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #07  pc 00173058  /system/lib/libdvm.so
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #08  pc 00005eff  <unknown>
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #09  pc 0003b322  /system/lib/libdvm.so (dvmMterpStd(Thread*)+66)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #10  pc 000369e9  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+217)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #11  pc 000bacf7  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, char*)+759)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #12  pc 0007774d  /system/lib/libdvm.so (CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+109)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #13  pc 0005d3ea  /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+42)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #14  pc 0005eaac  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+924)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #15  pc 00001017  /system/bin/app_process (main+567)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #16  pc 0000cedc  /system/lib/libc.so (__libc_init+108)
11-25 12:37:20.200      103-103/? I/DEBUG﹕ #17  pc 00000a91  /system/bin/app_process (_start+97)

update:

It seems that the problem is with x86 images (both AVD and genymotion), if I use the hand image, everything seems to work. I will try to dig deeper and report a bug when I have more time. at the moment it seems to me that I should be patient with slow images of slow hands: /

+5
source share
2 answers

, gson android.location.Location, , android.location.Location on Location.

: 3 2019 .

- :

data class Location(val latitude: Double, val longitude: Double)
+2

: http://www.jpct.net/forum2/index.php?topic=3987.0

AndroidManifest.xml, android: allowClearUserData = "true" node.

-3

All Articles