mcongrove / ChariTi

Please do not use: this is out-dated
Other
113 stars 85 forks source link

Podcast download causes SIGSEGV on Android #203

Open mcongrove opened 10 years ago

mcongrove commented 10 years ago

Downloading a podcast on Android causes the app to completely crash:

A/libc(15403): Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1)
mcongrove commented 10 years ago

Any ideas @joshjensen @Aaron-Hartwig @sjardim ?

joshjensen commented 10 years ago

Do you know if the error message says anything about the network request happening on the main thread?

On November 23, 2013 at 2:02:22 AM, Matthew Congrove (notifications@github.com) wrote:

Any ideas @joshjensen @Aaron-Hartwig @sjardim ?

— Reply to this email directly or view it on GitHub.

mcongrove commented 10 years ago

I'll paste in the full stack trace later tonight...

mcongrove commented 10 years ago

Full stack trace here:

11-23 18:35:22.970: D/dalvikvm(10695): GC_CONCURRENT freed 1960K, 17% free 21649K/25927K, paused 6ms+3ms
11-23 18:35:23.048: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.048: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.056: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.056: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.064: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.072: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.072: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.079: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.079: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.079: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.087: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.095: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.095: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.103: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.134: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.142: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.142: D/skia(10695): --- SkImageDecoder::Factory returned null
11-23 18:35:23.150: A/libc(10695): Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1)
11-23 18:35:23.454: I/DEBUG(115): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-23 18:35:23.454: I/DEBUG(115): Build fingerprint: 'google/takju/maguro:4.0.4/IMM76I/330937:user/release-keys'
11-23 18:35:23.454: I/DEBUG(115): pid: 10695, tid: 10743  >>> com.chariti.mobile <<<
11-23 18:35:23.454: I/DEBUG(115): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000000c
11-23 18:35:23.454: I/DEBUG(115):  r0 00000000  r1 5b9dcb18  r2 000000aa  r3 00000001
11-23 18:35:23.454: I/DEBUG(115):  r4 00000000  r5 00c13d30  r6 5b4e899c  r7 00000000
11-23 18:35:23.454: I/DEBUG(115):  r8 5b4e8867  r9 5b620049  10 5b4e899c  fp 00000003
11-23 18:35:23.454: I/DEBUG(115):  ip 5baa5ff8  sp 5b4e87d0  lr 5b5c0ee3  pc 5b5c0cf4  cpsr 40000030
11-23 18:35:23.454: I/DEBUG(115):  d0  656a624f2f676e63  d1  0073006c00650074
11-23 18:35:23.454: I/DEBUG(115):  d2  0064006f0070003b  d3  0074007300610000
11-23 18:35:23.454: I/DEBUG(115):  d4  e591300be5918017  d5  e3a02000e3a00002
11-23 18:35:23.454: I/DEBUG(115):  d6  e59fc014e3a05000  d7  e59fc010e12fff1c
11-23 18:35:23.454: I/DEBUG(115):  d8  0000000000000000  d9  0000000000000000
11-23 18:35:23.454: I/DEBUG(115):  d10 0000000000000000  d11 0000000000000000
11-23 18:35:23.454: I/DEBUG(115):  d12 0000000000000000  d13 0000000000000000
11-23 18:35:23.454: I/DEBUG(115):  d14 0000000000000000  d15 0000000000000000
11-23 18:35:23.454: I/DEBUG(115):  d16 000000004209e8e8  d17 7e37e43c8800759c
11-23 18:35:23.454: I/DEBUG(115):  d18 4028000000000000  d19 3ff0000000000000
11-23 18:35:23.454: I/DEBUG(115):  d20 4197d78400000000  d21 0100010001000100
11-23 18:35:23.454: I/DEBUG(115):  d22 0000000000000000  d23 0000000000000000
11-23 18:35:23.454: I/DEBUG(115):  d24 0000000000000000  d25 0000000000000000
11-23 18:35:23.454: I/DEBUG(115):  d26 0100010001000100  d27 0100010001000100
11-23 18:35:23.454: I/DEBUG(115):  d28 0100010001000100  d29 0100010001000100
11-23 18:35:23.454: I/DEBUG(115):  d30 0001000000010000  d31 0001000000010000
11-23 18:35:23.454: I/DEBUG(115):  scr 60000013
11-23 18:35:23.697: I/DEBUG(115):          #00  pc 00076cf4  /data/data/com.chariti.mobile/lib/libkroll-v8.so (_ZN8titanium12EventEmitterD0Ev)
11-23 18:35:23.697: I/DEBUG(115):          #01  pc 0007cb12  /data/data/com.chariti.mobile/lib/libkroll-v8.so (_ZN8titanium13TypeConverter19jsValueToJavaObjectEP7_JNIEnvN2v85LocalINS3_5ValueEEEPb)
11-23 18:35:23.697: I/DEBUG(115):          #02  pc 000d614a  /data/data/com.chariti.mobile/lib/libkroll-v8.so (_ZN8titanium16FilesystemModule7getFileERKN2v89ArgumentsE)
11-23 18:35:23.697: I/DEBUG(115):          #03  pc 00169634  /data/data/com.chariti.mobile/lib/libkroll-v8.so
11-23 18:35:23.697: I/DEBUG(115): code around pc:
11-23 18:35:23.697: I/DEBUG(115): 5b5c0cd4 b1086860 eb96f0ca 60632300 f7ff4620  `h.......#c` F..
11-23 18:35:23.697: I/DEBUG(115): 5b5c0ce4 4620eb5a bf00bd70 004e5264 000014a8  Z. Fp...dRN.....
11-23 18:35:23.697: I/DEBUG(115): 5b5c0cf4 b10b68c3 47707d00 2b006903 2001d1fa  .h...}pG.i.+... 
11-23 18:35:23.697: I/DEBUG(115): 5b5c0d04 bf00e7f9 4604b510 b1114608 f0e14608  .......F.F...F..
11-23 18:35:23.697: I/DEBUG(115): 5b5c0d14 6060e872 46222100 ec74f0ce bf00bd10  r.``.!"F..t.....
11-23 18:35:23.697: I/DEBUG(115): code around lr:
11-23 18:35:23.697: I/DEBUG(115): 5b5c0ec0 23004a11 46216860 447a7523 eb7af0ca  .J.#`h!F#uzD..z.
11-23 18:35:23.697: I/DEBUG(115): 5b5c0ed0 6900e003 ffc2f004 46284605 f7ffbd70  ...i.....F(Fp...
11-23 18:35:23.697: I/DEBUG(115): 5b5c0ee0 b908ff09 e7f868e5 21004620 ffc6f7ff  .....h.. F.!....
11-23 18:35:23.697: I/DEBUG(115): 5b5c0ef0 e7f268e5 20064905 44794a05 f7ff447a  .h...I. .JyDzD..
11-23 18:35:23.697: I/DEBUG(115): 5b5c0f00 e7ddeab8 004e6b20 ffffff5b 003d2892  .... kN.[....(=.
11-23 18:35:23.697: I/DEBUG(115): stack:
11-23 18:35:23.697: I/DEBUG(115):     5b4e8790  408ecc58  /system/lib/libdvm.so
11-23 18:35:23.697: I/DEBUG(115):     5b4e8794  00000018  
11-23 18:35:23.697: I/DEBUG(115):     5b4e8798  fffffe4c  
11-23 18:35:23.697: I/DEBUG(115):     5b4e879c  40868b44  /system/lib/libdvm.so
11-23 18:35:23.697: I/DEBUG(115):     5b4e87a0  00000007  
11-23 18:35:23.704: I/DEBUG(115):     5b4e87a4  40a5e890  /dev/ashmem/dalvik-heap (deleted)
11-23 18:35:23.704: I/DEBUG(115):     5b4e87a8  401445c8  
11-23 18:35:23.704: I/DEBUG(115):     5b4e87ac  408e7f90  /system/lib/libdvm.so
11-23 18:35:23.704: I/DEBUG(115):     5b4e87b0  40a5ee90  /dev/ashmem/dalvik-heap (deleted)
11-23 18:35:23.704: I/DEBUG(115):     5b4e87b4  00000002  
11-23 18:35:23.704: I/DEBUG(115):     5b4e87b8  00000002  
11-23 18:35:23.704: I/DEBUG(115):     5b4e87bc  00000018  
11-23 18:35:23.704: I/DEBUG(115):     5b4e87c0  408e7f90  /system/lib/libdvm.so
11-23 18:35:23.704: I/DEBUG(115):     5b4e87c4  408a94a5  /system/lib/libdvm.so
11-23 18:35:23.704: I/DEBUG(115):     5b4e87c8  df0027ad  
11-23 18:35:23.704: I/DEBUG(115):     5b4e87cc  00000000  
11-23 18:35:23.704: I/DEBUG(115): #00 5b4e87d0  5baa5f18  /data/data/com.chariti.mobile/lib/libkroll-v8.so
11-23 18:35:23.704: I/DEBUG(115):     5b4e87d4  00c13d30  [heap]
11-23 18:35:23.704: I/DEBUG(115):     5b4e87d8  5b4e899c  
11-23 18:35:23.704: I/DEBUG(115):     5b4e87dc  5b5c6b17  /data/data/com.chariti.mobile/lib/libkroll-v8.so
11-23 18:35:23.704: I/DEBUG(115): #01 5b4e87e0  00cc0db0  [heap]
11-23 18:35:23.704: I/DEBUG(115):     5b4e87e4  00cc0e58  [heap]
11-23 18:35:23.704: I/DEBUG(115):     5b4e87e8  00cc0db0  [heap]
11-23 18:35:23.704: I/DEBUG(115):     5b4e87ec  4089520f  /system/lib/libdvm.so
11-23 18:35:23.704: I/DEBUG(115):     5b4e87f0  421e1d78  /dev/ashmem/dalvik-heap (deleted)
11-23 18:35:23.704: I/DEBUG(115):     5b4e87f4  00000000  
11-23 18:35:23.704: I/DEBUG(115):     5b4e87f8  00000002  
11-23 18:35:23.704: I/DEBUG(115):     5b4e87fc  421e1d78  /dev/ashmem/dalvik-heap (deleted)
11-23 18:35:23.704: I/DEBUG(115):     5b4e8800  00000000  
11-23 18:35:23.704: I/DEBUG(115):     5b4e8804  00000001  
11-23 18:35:23.704: I/DEBUG(115):     5b4e8808  00c13d30  [heap]
11-23 18:35:23.704: I/DEBUG(115):     5b4e880c  00000002  
11-23 18:35:23.704: I/DEBUG(115):     5b4e8810  5b4e893c  
11-23 18:35:23.704: I/DEBUG(115):     5b4e8814  fffffffc  
11-23 18:35:23.704: I/DEBUG(115):     5b4e8818  5b620049  /data/data/com.chariti.mobile/lib/libkroll-v8.so
11-23 18:35:23.704: I/DEBUG(115):     5b4e881c  421e1d78  /dev/ashmem/dalvik-heap (deleted)
11-23 18:35:23.704: I/DEBUG(115):     5b4e8820  00000003  
11-23 18:35:23.704: I/DEBUG(115):     5b4e8824  5b62014f  /data/data/com.chariti.mobile/lib/libkroll-v8.so
11-23 18:35:26.368: I/BootReceiver(192): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
11-23 18:35:26.384: W/AudioFlinger(120): session id 13 not found for pid 120
11-23 18:35:26.384: W/TimedEventQueue(120): Event 55 was not found in the queue, already cancelled?
11-23 18:35:26.392: W/InputDispatcher(192): channel '41b3cca0 com.chariti.mobile/com.chariti.mobile.CharitiActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x8
11-23 18:35:26.392: E/InputDispatcher(192): channel '41b3cca0 com.chariti.mobile/com.chariti.mobile.CharitiActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
11-23 18:35:26.392: D/Zygote(118): Process 10695 terminated by signal (11)
11-23 18:35:26.431: D/dalvikvm(192): GC_FOR_ALLOC freed 1235K, 29% free 18113K/25415K, paused 55ms
11-23 18:35:26.439: I/ActivityManager(192): Process com.chariti.mobile (pid 10695) has died.
11-23 18:35:26.439: I/WindowManager(192): WIN DEATH: Window{41dbfd30 SurfaceView paused=false}
11-23 18:35:26.439: W/ActivityManager(192): Force removing ActivityRecord{416e2290 com.chariti.mobile/org.appcelerator.titanium.TiActivity}: app died, no saved state
11-23 18:35:26.447: W/InputDispatcher(192): Attempted to unregister already unregistered input channel '41b3cca0 com.chariti.mobile/com.chariti.mobile.CharitiActivity (server)'
11-23 18:35:26.447: I/WindowManager(192): WIN DEATH: Window{41b94cf8 com.chariti.mobile/org.appcelerator.titanium.TiActivity paused=false}
11-23 18:35:26.447: I/WindowManager(192): WINDOW DIED Window{41b3cca0 com.chariti.mobile/com.chariti.mobile.CharitiActivity paused=false}
11-23 18:35:26.470: W/WindowManager(192): Failed looking up window
11-23 18:35:26.470: W/WindowManager(192): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@41980a48 does not exist
11-23 18:35:26.470: W/WindowManager(192):   at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7163)
11-23 18:35:26.470: W/WindowManager(192):   at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7154)
11-23 18:35:26.470: W/WindowManager(192):   at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1545)
11-23 18:35:26.470: W/WindowManager(192):   at android.os.BinderProxy.sendDeathNotice(Binder.java:417)
11-23 18:35:26.470: W/WindowManager(192):   at dalvik.system.NativeStart.run(Native Method)
11-23 18:35:26.470: I/WindowManager(192): WIN DEATH: null
mcongrove commented 10 years ago

For what it's worth, when trying to get that stack trace, one time it actually worked. That was the first time out of about 20 tries, though.