Thursday, December 12, 2013

Re: [android-developers] Filename with invalid encoding crashes File.list()

I have filed a bug report for this issue
http://code.google.com/p/android/issues/detail?id=63576
Hopefully this issue is resolved soon.

Martin

On Thursday, December 12, 2013 10:51:14 AM UTC+1, Martin Heller wrote:
Unfortunately, Harri is right. The whole VM crashes regardless whether the code is surrounded with a try/catch block or not.
Following the stack trace I posted before, VM crash is recorded in logcat

12-12 10:40:01.942: E/dalvikvm(1914): VM aborting
12-12 10:40:01.942: A/libc(1914): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 1914 (application.name)

I guess my best shot is filing a bug for Android and possibly trying to avoid using File.list() entirely. Are there any alternatives to this method?


Martin

On Wednesday, December 11, 2013 8:16:32 PM UTC+1, Harri J. Smatt wrote:
Hopefully something like this is doable - but since the crash seems to originate from DalvikVM itself - it's possible there is nothing one can do on Java level about this issue Martin is facing  :(

H

On 11 Dec 2013, at 19:09, Steve Gabrilowitz <steve...@gmail.com> wrote:

You could surround the appropriate code with a try catch block, not ideal but better than a crash!


--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate