Hi there,

I am facing some random hangs without neither stack dump or "force
close" message. My app is simply closed without no message about. I am
even using critercism for reporting crashes, but in these situations
there is even no report.

My guess is that something is crashing below Dalvik, at native level, so
the VM has no chance to handle it.

I have been able to reproduce these on my SGS2, but could not get any
valuable information about. It occurs randomly, though I suspect of
SoundPool. I have been able to run the app for more than an hour with
sound disabled without crashing. But the problem is that after that, I
have had it running for more than an hour also with sound enabled... so
my theory about soundpool is a bit weak.

Anyway it used to crash always when it should make a sound, so I do not
discard the problem is still on the SoundPool anyway, but given its own
random nature it is very difficult to determine why and thus find a
reliable workaround.

I am about to fully remove soundpool from my app and use mediaplayer
instead to see if there is some improvement, but in any case I rather
like to know how other developers deals with these random crashes, and
if there is some way of debug them through Eclipse and ADB tools at
least to be more closed to the source of the problem.

Best regards,

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to