I recently moved my development over to Fedora 12 on an x86_64
platform rather than a 32 bit platform and encountered all of these
problems.
I found some 32-bit packages that are needed to run the audio in the
emulator - in particular alsa-lib.i386 and alsa-plugins-
pulseaudio.i686.  These fixed the segfault problem, enabling "-audio
alsa".  Here are the 32-bit rpm packages that I needed to install in
F12 x86_64 to run the 32-bit parts of the android SDK:

yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686
ncurses-devel.i686 libX11-devel.i686 glibc.i686 ncurses-libs.i686
libgcc.i686 ncurses-libs.i686 libstdc++.i686 libX11.i686 zlib.i686
SDL.i686 libXext.i686 libXv.i686 libXrandr.i686 alsa-lib.i686 alsa-
plugins-pulseaudio.i686

On Jan 25, 11:40 pm, cygoh <[email protected]> wrote:
> Same here. -no-audio options solve the segfault on emulator
> Usingfedora12 32bit
>
> On Dec 9 2009, 10:28 am, Daniel <[email protected]> wrote:
>
> > Same problem happens to me today.
> > with -no-audio options, I can start my emulator.
> > My system is Archx86_64
>
> > On Nov 24, 11:30 am, garycode <[email protected]> wrote:
>
> > > Hi,
> > > When I start the emulator with the command
> > > emulator -avd Android2.0
> > > it comes up with
> > > Segmentation fault (core dumped)
>
> > > if i start it without sound it works
> > > emulator -no-audio -avd Android2.0
>
> > > I'm usingFedoraCore 12 64bit.
> > > If i run
> > > emulator -verbose -avd Android2.0
>
> > > i get this,
>
> > > emulator: found SDK root at /home/gary/android-sdk-linux
> > > emulator: root virtual device file at /home/gary/.android/avd/
> > > Android2.0.ini
> > > emulator: virtual device content at /home/gary/.android/avd/
> > > Android2.0.avd
> > > emulator: virtual device config file: /home/gary/.android/avd/
> > > Android2.0.avd/
> > > config.ini
> > > emulator:     locking user data image at /home/gary/.android/avd/
> > > Android2.0.avd/userdata-
> > > qemu.img
> > > emulator:     locking cache image at /home/gary/.android/avd/
> > > Android2.0.avd/
> > > cache.img
> > > emulator: ignoring non-existing SD Card at /home/gary/.android/avd/
> > > Android2.0.avd/sdcard.img: No such file or
> > > directory
> > > emulator: found skin 'HVGA' in directory: /home/gary/android-sdk-linux/
> > > platforms/android-2.0/
> > > skins
> > > emulator: autoconfig: -skin
> > > HVGA
> > > emulator: autoconfig: -skindir /home/gary/android-sdk-linux/platforms/
> > > android-2.0/
> > > skins
> > > emulator: keyset loaded from: /home/gary/.android/
> > > default.keyset
> > > emulator: trying to load skin file '/home/gary/android-sdk-linux/
> > > platforms/android-2.0/skins/HVGA/
> > > layout'
> > > emulator: skin network speed:
> > > 'full'
> > > emulator: skin network delay:
> > > 'none'
> > > emulator: registered 'boot-properties' qemud service
> > > emulator: registered 'boot-properties' qemud service
> > > emulator: Adding boot property: 'qemu.sf.lcd_density' = '160'
> > > emulator: Adding boot property: 'dalvik.vm.heapsize' = '16m'
> > > emulator: argv[00] = "emulator"
> > > emulator: argv[01] = "-kernel"
> > > emulator: argv[02] = "/home/gary/android-sdk-linux/platforms/
> > > android-2.0/images//kernel-qemu"
> > > emulator: argv[03] = "-initrd"
> > > emulator: argv[04] = "/home/gary/android-sdk-linux/platforms/
> > > android-2.0/images//ramdisk.img"
> > > emulator: argv[05] = "-nand"
> > > emulator: argv[06] = "system,size=0x4800000,initfile=/home/gary/
> > > android-sdk-linux/platforms/android-2.0/images//system.img"
> > > emulator: argv[07] = "-nand"
> > > emulator: argv[08] = "userdata,size=0x4200000,file=/home/gary/.android/
> > > avd/Android2.0.avd/userdata-qemu.img"
> > > emulator: argv[09] = "-nand"
> > > emulator: argv[10] = "cache,size=0x4200000,file=/home/gary/.android/
> > > avd/Android2.0.avd/cache.img"
> > > emulator: argv[11] = "-serial"
> > > emulator: argv[12] = "android-kmsg"
> > > emulator: argv[13] = "-serial"
> > > emulator: argv[14] = "android-qemud"
> > > emulator: argv[15] = "-append"
> > > emulator: argv[16] = "qemu=1 console=ttyS0 android.checkjni=1
> > > android.qemud=ttyS1 android.ndns=1"
> > > emulator: argv[17] = "-m"
> > > emulator: argv[18] = "96"
> > > emulator: argv[19] = "-clock"
> > > emulator: argv[20] = "unix"
> > > emulator: mapping 'system' NAND image to /tmp/android/emulator-2nFiaj
> > > emulator: rounding devsize up to a full eraseunit, now 480f000
>
> > > Segmentation fault (core dumped)
>
> > > Any idea why the emulator is getting a problem with sound? I'm trying
> > > to write an app that uses sound so really need to get this working but
> > > i'm stumped.
>
> > > Thanks
>
> > > Gary

-- 
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to