Skip to main content
Participating Frequently
December 18, 2011
Question

How to investigate an AIR crash on android

  • December 18, 2011
  • 1 reply
  • 1375 views

I have a chat app in AIR on Android, and it keeps crashing with no warning. AIR Trace messages does not get printed, and I don't get any error while debugging in Flash Builder on device. So, I decided to use adb logcat while debugging, and I have got the following part that I don't understand. I suspect that those numbers can give me some useful info. How can we translate them into something meaningful?

I am using Sony Tablet S. Crash happens usually when a chat has finished and I have done disposing resources (not during disposing, after disposing)

Somewhere in the logcat:

E/NvAudioALSAStreamOut(  102): write: failed to snd_pcm_writei, -32, Broken pipe

and in some other place:

I/DEBUG   (   98): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG   (   98): Build fingerprint: 'Sony/nbx03_004/nbx03:3.2.1/THMASU0032/0032.004:user/release-keys'

I/DEBUG   (   98): pid: 22495, tid: 22717  >>> air.YakuTerminal.debug <<<

I/DEBUG   (   98): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000014

I/DEBUG   (   98):  r0 00000000  r1 817c5e05  r2 00003850  r3 00007dd4

I/DEBUG   (   98):  r4 00000000  r5 00000140  r6 00381ef0  r7 00719e50

I/DEBUG   (   98):  r8 00000000  r9 0032d718  10 81ea8bf0  fp 00002964

I/DEBUG   (   98):  ip 00000140  sp 5ca6d960  lr 812893fd  pc 817c5e04  cpsr 60000030

I/DEBUG   (   98):  d0  0000000042c80000  d1  3f95d67c3f800000

I/DEBUG   (   98):  d2  3fd99a11ae31c4f0  d3  4000000000000000

I/DEBUG   (   98):  d4  bfbb45f2e21ccdec  d5  bfc99f613c655695

I/DEBUG   (   98):  d6  3fe62e42fee00000  d7  0000006442c80000

I/DEBUG   (   98):  d8  0000000000000000  d9  3ff0000000000000

I/DEBUG   (   98):  d10 0000000000000000  d11 0000000000000000

I/DEBUG   (   98):  d12 0000000000000000  d13 0000000000000000

I/DEBUG   (   98):  d14 0000000000000000  d15 0000000000000000

I/DEBUG   (   98):  scr 2000001b

I/DEBUG   (   98):

I/DEBUG   (   98):          #00  pc 007c5e04  /data/data/com.adobe.air/lib/libCore.so

I/DEBUG   (   98):          #01  pc 002893fa  /data/data/com.adobe.air/lib/libCore.so

I/DEBUG   (   98):          #02  pc 0002f4ba  /system/lib/libmedia.so

I/DEBUG   (   98):

I/DEBUG   (   98): libc base address: afe1c000

I/DEBUG   (   98):

I/DEBUG   (   98): code around pc:

I/DEBUG   (   98): 817c5de4 6944dc09 188ab93c 01e2eb03 0207f002

I/DEBUG   (   98): 817c5df4 60c26081 2301e001 bc306143 bf004770

I/DEBUG   (   98): 817c5e04 b9336943 68c16883 1a526842 1a5000d9

I/DEBUG   (   98): 817c5e14 f04f4770 e7fb30ff 1dc86841 477010c0

I/DEBUG   (   98): 817c5e24 41f0e92d 46174604 460d68c2 18b868a1

I/DEBUG   (   98):

I/DEBUG   (   98): code around lr:

I/DEBUG   (   98): 812893dc f8d6e080 f85a0120 4798300e b0054640

I/DEBUG   (   98): 812893ec 8ff0e8bd f8d69a01 f85a0120 47881002

I/DEBUG   (   98): 812893fc dde22813 21009c02 7220f44f 012cf8d6

I/DEBUG   (   98): 8128940c 3004f85a 9c034798 0128f8d6 1120f8d6

I/DEBUG   (   98): 8128941c 212cf8d6 3004f85a 28004798 2000dbcd

I/DEBUG   (   98):

I/DEBUG   (   98): stack:

I/DEBUG   (   98):     5ca6d920  00000000 

I/DEBUG   (   98):     5ca6d924  3ff00000 

I/DEBUG   (   98):     5ca6d928  5a5c0da0 

I/DEBUG   (   98):     5ca6d92c  5ca6d98c 

I/DEBUG   (   98):     5ca6d930  5a5c0da0 

I/DEBUG   (   98):     5ca6d934  817ca0c7  /data/data/com.adobe.air/lib/libCore.so

I/DEBUG   (   98):     5ca6d938  00000000 

I/DEBUG   (   98):     5ca6d93c  00000000 

I/DEBUG   (   98):     5ca6d940  595d4a48 

I/DEBUG   (   98):     5ca6d944  81ea8bf0 

I/DEBUG   (   98):     5ca6d948  5ca6d98c 

I/DEBUG   (   98):     5ca6d94c  00058fb3 

I/DEBUG   (   98):     5ca6d950  00000000 

I/DEBUG   (   98):     5ca6d954  817c7209  /data/data/com.adobe.air/lib/libCore.so

I/DEBUG   (   98):     5ca6d958  df002777 

I/DEBUG   (   98):     5ca6d95c  e3a070ad 

I/DEBUG   (   98): #00 5ca6d960  0032d9a4 

I/DEBUG   (   98):     5ca6d964  00003850 

I/DEBUG   (   98): #01 5ca6d968  00007dd4 

I/DEBUG   (   98):     5ca6d96c  00002498 

I/DEBUG   (   98):     5ca6d970  00719e30 

I/DEBUG   (   98):     5ca6d974  81ea8bf0 

I/DEBUG   (   98):     5ca6d978  00005430 

I/DEBUG   (   98):     5ca6d97c  00719e30 

I/DEBUG   (   98):     5ca6d980  81289331  /data/data/com.adobe.air/lib/libCore.so

I/DEBUG   (   98):     5ca6d984  00000001 

I/DEBUG   (   98):     5ca6d988  0032d718 

I/DEBUG   (   98):     5ca6d98c  00000280 

I/DEBUG   (   98):     5ca6d990  00000014 

I/DEBUG   (   98):     5ca6d994  8125059d  /data/data/com.adobe.air/lib/libCore.so

I/DEBUG   (   98):     5ca6d998  a8f6328c  /system/lib/libmedia.so

I/DEBUG   (   98):     5ca6d99c  a8f4b4bd  /system/lib/libmedia.so

I/BootReceiver(  142): Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE)

This topic has been closed for replies.

1 reply

_flashman_
Inspiring
October 17, 2019

Anyone? How can we debug this? I'm getting signal 11 (SIGSEGV), code 1 error when using the latest AIR 33.0.2 with starling and attempt to instantiate a class from swf compiled fla file