Emulator does not launch - Enters a bootloop

34 views
Skip to first unread message

Ronnie

unread,
Nov 10, 2009, 6:09:11 AM11/10/09
to android-platform
Hi
When I launch the emulator for donut it fails and enters a bootloop
with the following log:


- waiting for device -
I/DEBUG ( 539): debuggerd: Nov 10 2009 12:24:54
I/vold ( 538): Android Volume Daemon version 2.0
E/vold ( 538): Error opening switch name path '/sys/class/switch/
test2' (No such file or directory)
E/vold ( 538): Error bootstrapping switch '/sys/class/switch/
test2' (No such file or directory)
E/vold ( 538): Error opening switch name path '/sys/class/switch/
test' (No such file or directory)
E/vold ( 538): Error bootstrapping switch '/sys/class/switch/
test' (No such file or directory)
D/vold ( 538): Bootstrapping complete
D/qemud ( 546): entering main loop
D/qemud ( 546): fdhandler_accept_event: accepting on fd 10
D/qemud ( 546): created client 0xe078 listening on fd 8
D/qemud ( 546): client_fd_receive: attempting registration for
service 'boot-properties'
D/qemud ( 546): client_fd_receive: -> received channel id 1
D/qemud ( 546): client_registration: registration succeeded for
client 1
I/qemu-props( 556): connected to 'boot-properties' qemud service.
I/qemu-props( 556): received: qemu.sf.lcd_density=160
D/AndroidRuntime( 541):
D/AndroidRuntime( 541): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 541): CheckJNI is ON
D/qemud ( 546): fdhandler_accept_event: accepting on fd 10
D/qemud ( 546): created client 0xe078 listening on fd 11
D/qemud ( 546): fdhandler_event: disconnect on fd 11
D/qemud ( 546): fdhandler_accept_event: accepting on fd 10
D/qemud ( 546): created client 0xe078 listening on fd 11
D/qemud ( 546): client_fd_receive: attempting registration for
service 'gsm'
D/qemud ( 546): client_fd_receive: -> received channel id 2
D/qemud ( 546): client_registration: registration succeeded for
client 2
I/ ( 542): ServiceManager: 0xac38
I/AudioFlinger( 542): AudioFlinger's thread ready to run for output 0
I/CameraService( 542): CameraService started: pid=542
D/dalvikvm( 541): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
D/dalvikvm( 564): Ignoring duplicate verify attempt on Ljava/lang/
Object;
D/dalvikvm( 564): Ignoring duplicate verify attempt on Ljava/lang/
Class;
D/dalvikvm( 564): DexOpt: load 359ms, verify 4556ms, opt 194ms
D/dalvikvm( 541): DexOpt: --- END 'core.jar' (success) ---
D/dalvikvm( 541): DEX prep '/system/framework/core.jar': unzip in
943ms, rewrite 6064ms
D/dalvikvm( 541): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) ---
D/dalvikvm( 569): DexOpt: load 96ms, verify 1119ms, opt 42ms
D/dalvikvm( 541): DexOpt: --- END 'ext.jar' (success) ---
D/dalvikvm( 541): DEX prep '/system/framework/ext.jar': unzip in
96ms, rewrite 1590ms
D/dalvikvm( 541): DexOpt: --- BEGIN 'framework.jar' (bootstrap=1) ---
D/dalvikvm( 570): DexOpt: load 766ms, verify 6675ms, opt 272ms
D/dalvikvm( 541): DexOpt: --- END 'framework.jar' (success) ---
D/dalvikvm( 541): DEX prep '/system/framework/framework.jar': unzip
in 589ms, rewrite 9129ms
D/dalvikvm( 541): DexOpt: --- BEGIN
'android.policy.jar' (bootstrap=1) ---
D/dalvikvm( 571): DexOpt: load 70ms, verify 239ms, opt 7ms
D/dalvikvm( 541): DexOpt: --- END 'android.policy.jar' (success) ---
D/dalvikvm( 541): DEX prep '/system/framework/android.policy.jar':
unzip in 19ms, rewrite 466ms
D/dalvikvm( 541): DexOpt: --- BEGIN 'services.jar' (bootstrap=1) ---
D/dalvikvm( 572): DexOpt: load 154ms, verify 1859ms, opt 64ms
D/dalvikvm( 541): DexOpt: --- END 'services.jar' (success) ---
D/dalvikvm( 541): DEX prep '/system/framework/services.jar': unzip in
105ms, rewrite 2386ms
D/AndroidRuntime( 541): --- registering native functions ---
I/Zygote ( 541): Preloading classes...
D/dalvikvm( 541): GC freed 800 objects / 44048 bytes in 8ms
D/dalvikvm( 541): GC freed 240 objects / 13928 bytes in 4ms
D/dalvikvm( 541): GC freed 228 objects / 14368 bytes in 5ms
D/dalvikvm( 541): GC freed 505 objects / 31824 bytes in 6ms
D/dalvikvm( 541): Trying to load lib /system/lib/libexif.so 0x0
D/dalvikvm( 541): Added shared lib /system/lib/libexif.so 0x0
D/dalvikvm( 541): Trying to load lib /system/lib/libFFTEm.so 0x0
D/dalvikvm( 541): Added shared lib /system/lib/libFFTEm.so 0x0
D/dalvikvm( 541): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 541): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 541): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 541): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
I/dalvikvm( 541): threadid=3: recursive native library load attempt (/
system/lib/libmedia_jni.so)
D/dalvikvm( 541): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 541): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
I/dalvikvm( 541): threadid=3: recursive native library load attempt (/
system/lib/libmedia_jni.so)
D/dalvikvm( 541): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 541): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
I/dalvikvm( 541): threadid=3: recursive native library load attempt (/
system/lib/libmedia_jni.so)
D/dalvikvm( 541): GC freed 323 objects / 20200 bytes in 6ms
D/dalvikvm( 541): GC freed 3568 objects / 173224 bytes in 18ms
D/dalvikvm( 541): GC freed 101 objects / 4344 bytes in 13ms
D/dalvikvm( 541): GC freed 518 objects / 31536 bytes in 14ms
D/dalvikvm( 541): GC freed 175 objects / 9416 bytes in 15ms
D/dalvikvm( 541): GC freed 222 objects / 12376 bytes in 14ms
D/dalvikvm( 541): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 541): Added shared lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 541): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 541): Shared lib '/system/lib/libsrec_jni.so' already
loaded in same CL 0x0
I/zipro ( 541): Could not find end-of-central-directory in Zip
D/asset ( 541): failed to open Zip archive '/system/framework/
framework-res.apk'
W/asset ( 541): Unable to find resources file resources.arsc
W/dalvikvm( 541): Exception Landroid/content/res/Resources
$NotFoundException; thrown during Landroid/text/AutoText;.<clinit>
E/Zygote ( 541): Error preloading android.text.AutoText.
E/Zygote ( 541): java.lang.ExceptionInInitializerError
E/Zygote ( 541): at java.lang.Class.classForName(Native Method)
E/Zygote ( 541): at java.lang.Class.forName(Class.java:237)
E/Zygote ( 541): at java.lang.Class.forName(Class.java:183)
E/Zygote ( 541): at
com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:276)
E/Zygote ( 541): at com.android.internal.os.ZygoteInit.main
(ZygoteInit.java:521)
E/Zygote ( 541): at dalvik.system.NativeStart.main(Native Method)
E/Zygote ( 541): Caused by: android.content.res.Resources
$NotFoundException: Resource ID #0x10b0001
E/Zygote ( 541): at android.content.res.Resources.getValue
(Resources.java:896)
E/Zygote ( 541): at
android.content.res.Resources.loadXmlResourceParser(Resources.java:
1869)
E/Zygote ( 541): at android.content.res.Resources.getXml
(Resources.java:784)
E/Zygote ( 541): at android.text.AutoText.init(AutoText.java:160)
E/Zygote ( 541): at android.text.AutoText.<init>(AutoText.java:76)
E/Zygote ( 541): at android.text.AutoText.<clinit>(AutoText.java:
56)
E/Zygote ( 541): ... 6 more
D/AndroidRuntime( 541): Shutting down VM
W/dalvikvm( 541): threadid=3: thread exiting with uncaught exception
(group=0x4001aa28)
D/dalvikvm( 541): DestroyJavaVM waiting for non-daemon threads to
exit
D/dalvikvm( 541): DestroyJavaVM shutting VM down
D/dalvikvm( 541): VM cleaning up
D/dalvikvm( 541): LinearAlloc 0x0 used 1313180 of 4194304 (31%)
D/skia ( 541): purging 6K from font cache [1 entries]
D/AndroidRuntime( 573):
D/AndroidRuntime( 573): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 573): CheckJNI is ON
D/AndroidRuntime( 573): --- registering native functions ---
I/Zygote ( 573): Preloading classes...
D/dalvikvm( 573): GC freed 800 objects / 44048 bytes in 5ms
D/dalvikvm( 573): GC freed 240 objects / 13928 bytes in 4ms
D/dalvikvm( 573): GC freed 228 objects / 14368 bytes in 5ms
D/dalvikvm( 573): GC freed 505 objects / 31824 bytes in 6ms
D/dalvikvm( 573): Trying to load lib /system/lib/libexif.so 0x0
D/dalvikvm( 573): Added shared lib /system/lib/libexif.so 0x0
D/dalvikvm( 573): Trying to load lib /system/lib/libFFTEm.so 0x0
D/dalvikvm( 573): Added shared lib /system/lib/libFFTEm.so 0x0
D/dalvikvm( 573): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 573): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 573): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 573): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
I/dalvikvm( 573): threadid=3: recursive native library load attempt (/
system/lib/libmedia_jni.so)
D/dalvikvm( 573): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 573): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
I/dalvikvm( 573): threadid=3: recursive native library load attempt (/
system/lib/libmedia_jni.so)
D/dalvikvm( 573): Trying to load lib /system/lib/libmedia_jni.so 0x0

Looks like the '/system/framework/framework-res.apk' is corrupt..
Thanks for any help in understanding this..

RaviY

unread,
Nov 10, 2009, 9:35:44 AM11/10/09
to android-platform
- Did you make any changes to the environment/build/code?
- Did you try "-wipe-data"?
- Donut codebase questions do not belong here.

-Ravi

Ronnie

unread,
Nov 11, 2009, 12:18:43 AM11/11/09
to android-platform
Yes. Increased the heap size to 32M as it was giving out of memory
exception.
> ...
>
> read more »

Ronnie

unread,
Nov 13, 2009, 12:15:27 AM11/13/09
to android-platform
Problem still not solved.
Strangely it builds and launches on ubuntu 8.~ but not on ubuntu
9.04.
Any ideas?
> ...
>
> read more »

David Turner

unread,
Nov 13, 2009, 2:20:05 PM11/13/09
to android-...@googlegroups.com
mmm, which system image did you build exactly (how did you configure the build)
you could also try generate the emulator (and only the emulator binary) on 9.04 then see if it runs on Ubuntu 8 properly.

> ...
>
> read more »

--

You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=.



Reply all
Reply to author
Forward
0 new messages