LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Android 4.0 ICS emulator not working on Ubuntu 11.10 (Segmentation fault) (https://www.linuxquestions.org/questions/linux-mobile-81/android-4-0-ics-emulator-not-working-on-ubuntu-11-10-segmentation-fault-909065/)

Kenny_Strawn 10-19-2011 07:01 PM

Android 4.0 ICS emulator not working on Ubuntu 11.10 (Segmentation fault)
 
Okay, so as soon as I watch the video unveiling the new Android 4.0 release, I feel compelled to download the SDK just to test out the emulator and test the new Android 4.0 features for myself. So far, all goes well with the creation of the Android Virtual Device.

Then, I go to start the AVD. It seems to start well in the beginning, with the progress bar saying "Starting Android Virtual Device (AVD)". But after that progress bar finishes, nothing. So, I try to launch the virtual device from the terminal to find out what the heck went wrong. Well, here is my terminal output:

Code:

kenny_strawn@kenny-desktop:~/Desktop/Android_SDK/android-sdk-linux/tools$ ./emulator-x86 -avd ics
Segmentation fault
kenny_strawn@kenny-desktop:~/Desktop/Android_SDK/android-sdk-linux/tools$

Just what could be causing a SIGSEGV in the Android 4.0 emulator? Unless it's the app that executes the AVD, but it still shouldn't cause a segmentation fault.

corp769 10-20-2011 03:18 PM

Hello,

Using gdb, you can debug the emulator and find out what exactly is causing it. Have a look here - http://www.ibm.com/developerworks/li...brary/l-debug/

Cheers,

Josh

stopsatgreen 10-25-2011 06:47 PM

I'm having the same problem too; tried using gdb but to be honest I don't understand it completely. The last few lines of code it gives are:

Quote:

emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back'

Program received signal SIGSEGV, Segmentation fault.
0xb7d2a410 in vfprintf () from /lib/i386-linux-gnu/libc.so.6

jhwilliams 10-25-2011 07:16 PM

I am running 11.10 (x86_64) and am not observing this problem with SDK r15. Have you installed the ia32-libs-multiarch package? sun-java6-jdk?


All times are GMT -5. The time now is 12:04 AM.