1

I have a weird error and I can't find where it comes from. The only thing that appears in the logcat is :enter image description here

01-10 17:07:10.665: A/libc(20449): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)

Cœur
  • 37,241
  • 25
  • 195
  • 267
user3370362
  • 31
  • 1
  • 4
  • There is no way to tell whats going out without a stack trace. Apparently this is difficult to do on Jelly Bean, see http://stackoverflow.com/questions/1083154/how-can-i-catch-sigsegv-segmentation-fault-and-get-a-stack-trace-under-jni-on If I was to guess, a null pointer is being used somewhere. – Alex Barker May 29 '14 at 15:02
  • One more thing, is that suppose to be 0x0000000c or 0x00000000? If it is 0x0000000c, like it is in the screenshot, then I think you may have done something like int * i; i = 12; instead of *i = 12; – Alex Barker May 29 '14 at 18:40
  • An offset of 0x0c (12) usually means that you tried to dereference a pointer to a struct but the pointer was NULL. If the struct has a bunch of 32-bit ints or pointers, an offset of 12 would indicate that the 4th element was accessed. Normally you'd get a debuggerd dump and stack trace, but there are various things an app can do that will confuse that. – fadden Jun 06 '14 at 16:50

0 Answers0