You can try capsulating your code in try and catch. And, use log cat
to get the errrors.

For more info, go here: http://moazzam-khan.com/blog/?p=41

- Moazzam

On Aug 13, 10:34 pm, Jeff Sharkey <[email protected]> wrote:
> Sadly, it looks like the best short-term answer would be to roll your
> own formatting code.  The formatter here is calling into native code
> for speed, so a pure-Java implementation wouldn't run into these
> native crashes.
>
> j
>
>
>
> On Thu, Aug 13, 2009 at 2:58 AM, Klaus Kartou<[email protected]> wrote:
> > Thank you for your answer!
>
> > Is there anything I can do to prevent this error? I certainly not want my
> > app to crash when I release it :)
> > One more question: How did you get the decoded stack trace?
>
> > Cheers!
>
> > On Thu, Aug 13, 2009 at 9:00 AM, Jeff Sharkey <[email protected]> wrote:
>
> >> It's a known platform issue, and an engineer has been assigned to fix
> >> it.  Here's the decoded stack trace:
>
> >> v------>        free
> >> 0000af22        .text
> >> 0003eac6        uprv_free_3_8
> >> 0003849c        icu_3_8::UMemory::operator
> >> v------>        ~DecimalFormatSymbols
> >> 0005018a        icu_3_8::DecimalFormatSymbols::~DecimalFormatSymbols()
> >> v------>        ~DecimalFormat
> >> 000517c8        icu_3_8::DecimalFormat::~DecimalFormat()
> >> 0008d65c        unum_close_3_8
> >> v------>        closeDecimalFormatImpl
> >> 0000dcb6        closeDecimalFormatImpl(_JNIEnv*,
> >> 0000e3b4        dvmPlatformInvoke
> >> 00040a8a        dvmCallJNIMethod
>
> >> j
>
> >> On Wed, Aug 12, 2009 at 2:16 PM, Klaus Kartou<[email protected]> wrote:
> >> > Hi!
>
> >> > My app has been pretty stable so forth, and suddenly I keep getting
> >> > these
> >> > crashes that kill the entire process.
> >> > What do they mean and how should I deal with them? Since I dont get any
> >> > usefull stacktrace I really dont know how to debug this.
> >> > Below is the dump from my error log.
> >> > Any help is much welcome!
> >> > Best regards,
> >> > Klaser
>
> >> > 08-12 23:07:40.701: INFO/DEBUG(32): *** *** *** *** *** *** *** *** ***
> >> > ***
> >> > *** *** *** *** *** ***
> >> > 08-12 23:07:40.701: INFO/DEBUG(32): Build fingerprint:
>
> >> > 'android-devphone1/dream_devphone/dream/trout:1.5/CRB21/147201:userdebug/adp,test-keys'
> >> > 08-12 23:07:40.701: INFO/DEBUG(32): pid: 7414, tid: 7415  >>>
> >> > com.android.Eva <<<
> >> > 08-12 23:07:40.701: INFO/DEBUG(32): signal 7 (SIGBUS), fault addr
> >> > 00000000
> >> > 08-12 23:07:40.711: INFO/DEBUG(32):  r0 002ea4d8  r1 80ff80ff  r2
> >> > 002ea4c8
> >> >  r3 80ff80ff
> >> > 08-12 23:07:40.711: INFO/DEBUG(32):  r4 f0000000  r5 0024de00  r6
> >> > 00000000
> >> >  r7 00000378
> >> > 08-12 23:07:40.711: INFO/DEBUG(32):  r8 100ffd00  r9 4100afb0  10
> >> > 4100afa0
> >> >  fp 00000001
> >> > 08-12 23:07:40.711: INFO/DEBUG(32):  ip 00000001  sp 100ffc90  lr
> >> > afe0e940
> >> >  pc afe0af22  cpsr 80000030
> >> > 08-12 23:07:41.671: INFO/DEBUG(32):          #00  pc 0000af22
> >> >  /system/lib/libc.so
> >> > 08-12 23:07:41.701: INFO/DEBUG(32):          #01  pc 0003eac6
> >> >  /system/lib/libicuuc.so
> >> > 08-12 23:07:41.731: INFO/DEBUG(32):          #02  pc 0003849c
> >> >  /system/lib/libicuuc.so
> >> > 08-12 23:07:41.731: INFO/DEBUG(32):          #03  pc 0005018a
> >> >  /system/lib/libicui18n.so
> >> > 08-12 23:07:41.751: INFO/DEBUG(32):          #04  pc 000517c8
> >> >  /system/lib/libicui18n.so
> >> > 08-12 23:07:41.761: INFO/DEBUG(32):          #05  pc 0008d65c
> >> >  /system/lib/libicui18n.so
> >> > 08-12 23:07:41.781: INFO/DEBUG(32):          #06  pc 0000dcb6
> >> >  /system/lib/libnativehelper.so
> >> > 08-12 23:07:41.811: INFO/DEBUG(32):          #07  pc 0000e3b4
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.821: INFO/DEBUG(32):          #08  pc 00040a8a
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.821: INFO/DEBUG(32):          #09  pc 00013118
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.841: INFO/DEBUG(32):          #10  pc 00017b1c
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.841: INFO/DEBUG(32):          #11  pc 00017560
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.861: INFO/DEBUG(32):          #12  pc 000520ec
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.861: INFO/DEBUG(32):          #13  pc 0005210a
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.871: INFO/DEBUG(32):          #14  pc 000494c4
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.871: INFO/DEBUG(32):          #15  pc 0004954c
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.891: INFO/DEBUG(32):          #16  pc 00049896
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.891: INFO/DEBUG(32):          #17  pc 00046f6a
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.911: INFO/DEBUG(32):          #18  pc 0000f880
> >> >  /system/lib/libc.so
> >> > 08-12 23:07:41.911: INFO/DEBUG(32):          #19  pc 0000f3f4
> >> >  /system/lib/libc.so
> >> > 08-12 23:07:41.931: INFO/DEBUG(32): stack:
> >> > 08-12 23:07:41.931: INFO/DEBUG(32):     100ffc50  410978e8
> >> > 08-12 23:07:41.931: INFO/DEBUG(32):     100ffc54  ad0520f5
> >> >  /system/lib/libdvm.so
> >> > 08-12 23:07:41.931: INFO/DEBUG(32):     100ffc58  002ff5c0  [heap]
> >> > 08-12 23:07:41.931: INFO/DEBUG(32):     100ffc5c  afe0e940
> >> >  /system/lib/libc.so
> >> > 08-12 23:07:41.931: INFO/DEBUG(32):     100ffc60  00002bb0
> >> > 08-12 23:07:41.941: INFO/DEBUG(32):     100ffc64  afe0ecd4
> >> >  /system/lib/libc.so
> >> > 08-12 23:07:41.941: INFO/DEBUG(32):     100ffc68  0024de08  [heap]
> >> > 08-12 23:07:41.941: INFO/DEBUG(32):     100ffc6c  afe0e940
> >> >  /system/lib/libc.so
> >> > 08-12 23:07:41.941: INFO/DEBUG(32):     100ffc70  0024de08  [heap]
> >> > 08-12 23:07:41.941: INFO/DEBUG(32):     100ffc74  afe3c980
> >> > 08-12 23:07:41.941: INFO/DEBUG(32):     100ffc78  00002bb0
> >> > 08-12 23:07:41.951: INFO/DEBUG(32):     100ffc7c  afe39dd0
> >> > 08-12 23:07:41.951: INFO/DEBUG(32):     100ffc80  100ffd00
> >> > 08-12 23:07:41.951: INFO/DEBUG(32):     100ffc84  4100afb0
> >> > 08-12 23:07:41.951: INFO/DEBUG(32):     100ffc88  df002777
> >> > 08-12 23:07:41.961: INFO/DEBUG(32):     100ffc8c  e3a070ad
> >> > 08-12 23:07:41.961: INFO/DEBUG(32): #00 100ffc90  100ffd00
> >> > 08-12 23:07:41.961: INFO/DEBUG(32):     100ffc94  afe0af93
> >> >  /system/lib/libc.so
> >> > 08-12 23:07:41.961: INFO/DEBUG(32):     100ffc98  afe3c980
> >> > 08-12 23:07:41.971: INFO/DEBUG(32):     100ffc9c  afe39dd0
> >> > 08-12 23:07:41.971: INFO/DEBUG(32):     100ffca0  0000a000  [heap]
> >> > 08-12 23:07:41.971: INFO/DEBUG(32):     100ffca4  afe39dd0
> >> > 08-12 23:07:41.971: INFO/DEBUG(32):     100ffca8  0000a000  [heap]
> >> > 08-12 23:07:41.981: INFO/DEBUG(32):     100ffcac  00000000
> >> > 08-12 23:07:41.981: INFO/DEBUG(32):     100ffcb0  0024de0c  [heap]
> >> > 08-12 23:07:41.981: INFO/DEBUG(32):     100ffcb4  0024de08  [heap]
> >> > 08-12 23:07:41.981: INFO/DEBUG(32):     100ffcb8  4100afb8
> >> > 08-12 23:07:42.002: INFO/DEBUG(32):     100ffcbc  ad53eacb
> >> >  /system/lib/libicuuc.so
> >> > 08-12 23:07:42.002: INFO/DEBUG(32): #01 100ffcc0  0024de0c  [heap]
> >> > 08-12 23:07:42.002: INFO/DEBUG(32):     100ffcc4  ad5384a1
> >> >  /system/lib/libicuuc.so
>
> >> --
> >> Jeff Sharkey
> >> [email protected]
>
> --
> Jeff Sharkey
> [email protected]
--~--~---------~--~----~------------~-------~--~----~
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