Here is a dump from DDMS of one of the crashes. From my research, this seems like GC Collection issue on my behalf, but I'm not sure how to even go about fixing this.
04-05 16:10:22.747: I/DEBUG(28973): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 04-05 16:10:22.747: I/DEBUG(28973): Build fingerprint: 'lge/ lge_Cosmopolitan/p925/omap4sdp:2.2.2/FRG83G/V10e. 310-410.19ccf8635e:user/release-keys' 04-05 16:10:22.747: I/DEBUG(28973): pid: 6301, tid: 6301 >>> com.gravityjack <<< 04-05 16:10:22.747: I/DEBUG(28973): signal 11 (SIGSEGV), fault addr deadbaad 04-05 16:10:22.747: I/DEBUG(28973): r0 00000000 r1 afd14701 r2 00000027 r3 00000070 04-05 16:10:22.747: I/DEBUG(28973): r4 afd42328 r5 00000000 r6 00000000 r7 00000020 04-05 16:10:22.747: I/DEBUG(28973): r8 befe3ea8 r9 00000000 10 befe3cdc fp befe3fc4 04-05 16:10:22.747: I/DEBUG(28973): ip 00001764 sp befe3bf8 lr deadbaad pc afd11d54 cpsr 68000030 04-05 16:10:22.747: I/DEBUG(28973): d0 47290000472a3cc9 d1 44600000448066eb 04-05 16:10:22.747: I/DEBUG(28973): d2 0000a9b900000380 d3 416000000000000e 04-05 16:10:22.747: I/DEBUG(28973): d4 4160000041680000 d5 000003804429b991 04-05 16:10:22.747: I/DEBUG(28973): d6 0000a90000000403 d7 4729b99144600000 04-05 16:10:22.747: I/DEBUG(28973): d8 0000000e3f000000 d9 4215f54141e40000 04-05 16:10:22.747: I/DEBUG(28973): d10 3f80000040c3ee88 d11 4022320f7f96e999 04-05 16:10:22.747: I/DEBUG(28973): d12 3ddb7cdf4111907c d13 0000000000000000 04-05 16:10:22.747: I/DEBUG(28973): d14 0000000000000000 d15 0000000000000000 04-05 16:10:22.747: I/DEBUG(28973): d16 0000000000000000 d17 0000000000000000 04-05 16:10:22.747: I/DEBUG(28973): d18 0000000000000000 d19 0000000000000000 04-05 16:10:22.747: I/DEBUG(28973): d20 3ff0000000000000 d21 8000000000000000 04-05 16:10:22.747: I/DEBUG(28973): d22 0000000000000000 d23 f9060dac9e3402ee 04-05 16:10:22.747: I/DEBUG(28973): d24 f9060dac9e3402ee d25 f9060dac9e3402ee 04-05 16:10:22.747: I/DEBUG(28973): d26 00fa00fa00fa00fa d27 00fa00fa00fa00fa 04-05 16:10:22.747: I/DEBUG(28973): d28 00fa00fa00fa00fa d29 3ff0000000000000 04-05 16:10:22.747: I/DEBUG(28973): d30 0000000000000000 d31 3ff0000000000000 04-05 16:10:22.747: I/DEBUG(28973): scr 8800001a 04-05 16:10:23.067: V/AudioSink(114): stop 04-05 16:10:23.067: V/AudioPolicyManagerBase(114): changeRefCount() stream 3, count 2 04-05 16:10:23.067: V/MediaPlayerService(114): [1961] notify (0x7a588, 2, 0, 0) 04-05 16:10:23.317: I/DEBUG(28973): #00 pc 00011d54 /system/ lib/libc.so 04-05 16:10:23.317: I/DEBUG(28973): #01 pc 0000c64a /system/ lib/libc.so 04-05 16:10:23.317: I/DEBUG(28973): #02 pc 0000cab4 /system/ lib/libc.so 04-05 16:10:23.317: I/DEBUG(28973): #03 pc 0000cb14 /system/ lib/libc.so 04-05 16:10:23.317: I/DEBUG(28973): #04 pc 0000cdec /system/ lib/libc.so 04-05 16:10:23.341: I/DEBUG(28973): #05 pc 0002d40c /system/ lib/libskia.so 04-05 16:10:23.341: I/DEBUG(28973): #06 pc 000722a8 /system/ lib/libskia.so 04-05 16:10:23.341: I/DEBUG(28973): #07 pc 000724a8 /system/ lib/libskia.so 04-05 16:10:23.341: I/DEBUG(28973): #08 pc 00072634 /system/ lib/libskia.so 04-05 16:10:23.349: I/DEBUG(28973): #09 pc 0009074c /system/ lib/libskia.so 04-05 16:10:23.349: I/DEBUG(28973): #10 pc 00090c54 /system/ lib/libskia.so 04-05 16:10:23.349: I/DEBUG(28973): code around pc: 04-05 16:10:23.349: I/DEBUG(28973): afd11d34 2d00682d e029d1fb b12b68db c05cf8df 04-05 16:10:23.349: I/DEBUG(28973): afd11d44 f8442001 4798000c e054f8df 26002227 04-05 16:10:23.349: I/DEBUG(28973): afd11d54 2000f88e ee9af7fb f7fc2106 f04fefc8 04-05 16:10:23.349: I/DEBUG(28973): afd11d64 91035180 460aa901 96012006 f7fc9602 04-05 16:10:23.349: I/DEBUG(28973): afd11d74 a905eb3e 20024632 eb48f7fc ee86f7fb 04-05 16:10:23.349: I/DEBUG(28973): code around lr: 04-05 16:10:23.349: I/DEBUG(28973): deadba8c ffffffff ffffffff ffffffff ffffffff 04-05 16:10:23.349: I/DEBUG(28973): deadba9c ffffffff ffffffff ffffffff ffffffff 04-05 16:10:23.356: I/DEBUG(28973): deadbaac ffffffff ffffffff ffffffff ffffffff 04-05 16:10:23.356: I/DEBUG(28973): deadbabc ffffffff ffffffff ffffffff ffffffff 04-05 16:10:23.356: I/DEBUG(28973): deadbacc ffffffff ffffffff ffffffff ffffffff 04-05 16:10:23.356: I/DEBUG(28973): stack: 04-05 16:10:23.356: I/DEBUG(28973): befe3bb8 000001cf 04-05 16:10:23.356: I/DEBUG(28973): befe3bbc afd14731 /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3bc0 afd424ac /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3bc4 afd43ba8 /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3bc8 00000000 04-05 16:10:23.356: I/DEBUG(28973): befe3bcc afd157af /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3bd0 afd14701 /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3bd4 afd14701 /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3bd8 00000070 04-05 16:10:23.356: I/DEBUG(28973): befe3bdc afd42328 /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3be0 00000000 04-05 16:10:23.356: I/DEBUG(28973): befe3be4 befe3c0c [stack] 04-05 16:10:23.356: I/DEBUG(28973): befe3be8 00000020 04-05 16:10:23.356: I/DEBUG(28973): befe3bec afd149bf /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3bf0 df002777 04-05 16:10:23.356: I/DEBUG(28973): befe3bf4 e3a070ad 04-05 16:10:23.356: I/DEBUG(28973): #00 befe3bf8 afd43918 /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3bfc afd1043c /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3c00 afd42328 /system/ lib/libc.so 04-05 16:10:23.356: I/DEBUG(28973): befe3c04 00000034 04-05 16:10:23.356: I/DEBUG(28973): befe3c08 00000003 04-05 16:10:23.364: I/DEBUG(28973): befe3c0c fffffbdf 04-05 16:10:23.364: I/DEBUG(28973): befe3c10 afd42328 /system/ lib/libc.so 04-05 16:10:23.364: I/DEBUG(28973): befe3c14 afd437bc /system/ lib/libc.so 04-05 16:10:23.364: I/DEBUG(28973): befe3c18 f47d3ffc 04-05 16:10:23.364: I/DEBUG(28973): befe3c1c afd0c64f /system/ lib/libc.so 04-05 16:10:23.364: I/DEBUG(28973): #01 befe3c20 442a3cc9 04-05 16:10:23.364: I/DEBUG(28973): befe3c24 418066eb 04-05 16:10:23.364: I/DEBUG(28973): befe3c28 00000000 04-05 16:10:23.364: I/DEBUG(28973): befe3c2c afd10324 /system/ lib/libc.so 04-05 16:10:23.364: I/DEBUG(28973): befe3c30 0100a9f0 [heap] 04-05 16:10:23.364: I/DEBUG(28973): befe3c34 00000000 04-05 16:10:23.364: I/DEBUG(28973): befe3c38 afd43760 /system/ lib/libc.so 04-05 16:10:23.364: I/DEBUG(28973): befe3c3c 0100a9f0 [heap] 04-05 16:10:23.364: I/DEBUG(28973): befe3c40 00000000 04-05 16:10:23.364: I/DEBUG(28973): befe3c44 afd43760 /system/ lib/libc.so 04-05 16:10:23.364: I/DEBUG(28973): befe3c48 00000020 04-05 16:10:23.364: I/DEBUG(28973): befe3c4c afd0cab9 /system/ lib/libc.so 04-05 16:10:23.653: V/AudioSink(114): stop 04-05 16:10:23.653: V/AudioPolicyManagerBase(114): changeRefCount() stream 3, count 1 04-05 16:10:23.653: V/MediaPlayerService(114): [1962] notify (0x95eb8, 2, 0, 0) 04-05 16:10:24.614: I/DEBUG(28973): debuggerd committing suicide to free the zombie! 04-05 16:10:24.614: I/DEBUG(22808): debuggerd: Aug 13 2011 01:40:51 04-05 16:10:24.638: D/Zygote(113): Process 6301 terminated by signal (11) 04-05 16:10:24.646: I/BootReceiver(203): Copying /data/tombstones/ tombstone_09 to DropBox (SYSTEM_TOMBSTONE) 04-05 16:10:24.677: V/MediaPlayerService(114): Client(1956) destructor pid = 6301 04-05 16:10:24.677: V/MediaPlayerService(114): disconnect(1956) from pid 6301 04-05 16:10:24.677: V/AudioSink(114): close 04-05 16:10:24.677: V/AudioPolicyManagerBase(114): releaseOutput() 1 04-05 16:10:24.677: V/MediaPlayerService(114): Client(1961) destructor pid = 6301 04-05 16:10:24.677: V/MediaPlayerService(114): disconnect(1961) from pid 6301 04-05 16:10:24.677: V/AudioSink(114): close 04-05 16:10:24.677: V/AudioPolicyManagerBase(114): releaseOutput() 1 04-05 16:10:24.677: V/MediaPlayerService(114): Client(1957) destructor pid = 6301 04-05 16:10:24.677: V/MediaPlayerService(114): disconnect(1957) from pid 6301 04-05 16:10:24.692: D/mpld(122): sensor client 1 disconnect 04-05 16:10:24.700: V/AudioSink(114): close 04-05 16:10:24.700: V/AudioPolicyManagerBase(114): changeRefCount() stream 3, count 0 04-05 16:10:24.700: V/AudioPolicyManagerBase(114): setOutputDevice() output 1 device 0 delayMs 40 04-05 16:10:24.700: V/AudioPolicyManagerBase(114): setOutputDevice() setting same device 0 or null device for output 1 04-05 16:10:24.700: V/AudioPolicyManagerBase(114): releaseOutput() 1 04-05 16:10:24.700: V/MediaPlayerService(114): Client(1958) destructor pid = 6301 04-05 16:10:24.700: V/MediaPlayerService(114): disconnect(1958) from pid 6301 04-05 16:10:24.700: V/AudioSink(114): close 04-05 16:10:24.700: V/AudioPolicyManagerBase(114): releaseOutput() 1 04-05 16:10:24.700: V/MediaPlayerService(114): Client(1959) destructor pid = 6301 04-05 16:10:24.700: V/MediaPlayerService(114): disconnect(1959) from pid 6301 04-05 16:10:24.700: V/AudioSink(114): close 04-05 16:10:24.700: V/AudioPolicyManagerBase(114): releaseOutput() 1 04-05 16:10:24.700: V/MediaPlayerService(114): Client(1960) destructor pid = 6301 04-05 16:10:24.700: V/MediaPlayerService(114): disconnect(1960) from pid 6301 04-05 16:10:24.700: V/AudioSink(114): close 04-05 16:10:24.700: V/AudioPolicyManagerBase(114): releaseOutput() 1 04-05 16:10:24.700: V/MediaPlayerService(114): Client(1962) destructor pid = 6301 04-05 16:10:24.700: V/MediaPlayerService(114): disconnect(1962) from pid 6301 04-05 16:10:24.700: V/AudioSink(114): close 04-05 16:10:24.700: V/AudioPolicyManagerBase(114): releaseOutput() 1 04-05 16:10:24.771: D/dalvikvm(203): GC_FOR_MALLOC freed 3524 objects / 1006824 bytes in 121ms 04-05 16:10:24.778: I/ActivityManager(203): Process com.gravityjack (pid 6301) has died. 04-05 16:10:24.778: W/ActivityManager(203): Scheduling restart of crashed service com.gravityjack/.inapp.BillingService in 5000ms 04-05 16:10:24.786: V/HDMI_JNI(203): nativeRotateScreen 04-05 16:10:24.786: I/LGHDMILib(203): change rotation 04-05 16:10:24.786: I/LGHDMILib(203): Rotation Value(lghdmi_mRotation) ===> 1 04-05 16:10:24.786: I/LGHDMILib(203): Start GFX Cloning 04-05 16:10:24.786: I/WindowManager(203): Setting rotation to 0, animFlags=1 04-05 16:10:24.786: I/WindowManager(203): WIN DEATH: Window{4682ed30 com.gravityjack/com.gravityjack.DoubleDownActivity paused=false} 04-05 16:10:24.802: I/ActivityManager(203): Config changed: { scale=1.0 imsi=310/410 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1 orien_revser=0 layout=34 uiMode=17 seq=494 fontname=} 04-05 16:10:24.810: D/PhoneApp(308): updateProximitySensorMode: state = IDLE 04-05 16:10:24.817: D/PhoneApp(308): updateProximitySensorMode: lock already released. 04-05 16:10:24.825: D/OSP_NDK(16695): [jni/native] SetSwivel, status: 0 04-05 16:10:24.833: I/UsageStats(203): Unexpected resume of com.lge.launcher while already resumed in com.gravityjack 04-05 16:10:24.833: V/[CIQ](203): --------------------------------- 04-05 16:10:24.833: V/[CIQ](203): NEXT com.lge.launcher 04-05 16:10:24.833: V/[CIQ](203): --------------------------------- 04-05 16:10:24.841: V/MediaPlaybackService(16956): oooooo getQueue On Apr 7, 2:57 pm, stringa <sstri...@gmail.com> wrote: > Hello. I am having a weird crashing issue during garbage collection > and I have not clue how to figure out what is going on. It could take > 5 minutes to crash or all day to crash. Most of my application is in > a webView and is all JS/HTML, but one of the things I do, is call back > to native code to play sound. I am wondering if I am using the > MediaPlayer Properly. > > I have ChannelPlayers which could play looped or single-instance > sounds. I am wondering if I am messing up the implementation of > MediaPlayer > > The current code is at:http://pastebin.com/jVQJWewU > > <iframe src="http://pastebin.com/embed_iframe.php?i=jVQJWewU" > style="border:none;width:100%"></iframe> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en