LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
Search this Thread
Old 10-19-2011, 07:01 PM   #1
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
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.
 
Old 10-20-2011, 03:18 PM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
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
 
Old 10-25-2011, 06:47 PM   #3
stopsatgreen
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
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
 
Old 10-25-2011, 07:16 PM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 206Reputation: 206Reputation: 206
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] email app is not working in android emulator jkm Linux - Mobile 5 03-07-2011 01:37 AM
Could not start Android emulator in Slackware 13.1 kemsiro Slackware 9 02-10-2011 04:28 AM
Android Development in Linux.How To install Android Emulator?? jeevanism Linux - Mobile 3 12-28-2010 09:24 AM
android emulator and debian testing - differences on two machines radiodee1 Linux - Mobile 1 08-17-2010 08:01 PM


All times are GMT -5. The time now is 06:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration