Qemu with Segmentation fault (core dumped)
Hello Qemu-group
Compilation installation running without problem "QEMU emulator version 1.1.50", but if try to use Qemu in diffrent way i have the following "Segemntfault message" for any possible help iam Happy. Similar question Starting witout succsess in netbsdforum. regards
Mauri
# QEMU configure log Tue Jun 12 09:12:21 CEST 2012
# Configured with: './configure' '--enable-sdl' '--prefix=/usr/pkg' '--interp-prefix=/usr/pkg/share/qemu' '--sysconfdir=/usr/pkg/etc/qemu' '--python=/usr/pkg/bin/python2.7' '--mandir=/usr/pkg/man' '--enable-user' '--disable-bsd-user'
# /usr/pkg/bin/qemu-img create -f raw xp.img 200M Formatting 'xp.img', fmt=raw size=209715200 Segmentation fault (core dumped)
# /usr/pkg/bin/qemu-img create -f qcow2 mauri 500M Formatting 'mauri', fmt=qcow2 size=524288000 encryption=off cluster_size=65536 Segmentation fault (core dumped)
bash-4.2# ldd /usr/pkg/bin/qemu-img/usr/pkg/bin/qemu-img:
-lgthread-2.0.0 =>/usr /pkg/lib/libgthread-2.0.so.0
-lglib-2.0.0 =>/usr /pkg/lib/libglib-2.0.so.0
-lpcre.1 =>/usr /pkg/lib/libpcre.so.1
-lz.1 =>/usr /pkg/lib/libz.so.1
-lc.12 =>/usr /lib/libc.so.12
-lintl.0 =>/usr /lib/libintl.so.0
-lpthread.0 =>/usr /lib/libpthread.so.0# ls drwxr-xr-x 5 root wheel 512 Jun 11 22:23 . drwxr-xr-x 1561 root wheel 40448 Jun 11 15:47 .. -rw------- 1 root wheel 269608 Jun 11 22:23 qemu-img.core
# /usr/pkg/bin/qemu-system-ppc --version QEMU emulator version 1.1.50, Copyright (c) 2003-2008 Fabrice Bellard
# /usr/pkg/bin/qemu-system-i386 --version QEMU emulator version 1.1.50, Copyright (c) 2003-2008 Fabrice Bellard
# /usr/pkg/bin/qemu-system-x86_64 --version QEMU emulator version 1.1.50, Copyright (c) 2003-2008 Fabrice Bellard
# /usr/pkg/bin/qemu-system-i386 Segmentation fault (core dumped)
# /usr/pkg/bin/qemu-system-x86_64 Segmentation fault (core dumped)
# /usr/pkg/bin/qemu-system-ppc Segmentation fault (core dumped)
powermac# gcc -v
Using built-in specs.
Target: powerpc--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown-netbsd4.99.72 --host=powerpc--netbsd --target=powerpc--netbsd --enable-__cxa_atexit Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
NetBSD powermac.G4 5.1 NetBSD 5.1 (GENERIC) #0: Sat Nov 6 17:09:11 UTC 2010 builds%b7.netbsd.org@localhost/netbsd-5-1-RELEASE/macppc GENERIC macppc
Signature · 2 lines
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
Am 12.06.2012 10:28, schrieb Maurizio Caloro:
Quoted 8 lines
Hello Qemu-group
Compilation installation running without problem "QEMU emulator version 1.1.50", but if try to use Qemu in diffrent way i have the following "Segemntfault message" for any possible help iam Happy. Similar question Starting witout succsess in netbsdforum. regards
Mauri# QEMU configure log Tue Jun 12 09:12:21 CEST 2012
# Configured with: './configure' '--enable-sdl' '--prefix=/usr/pkg' '--interp-prefix=/usr/pkg/share/qemu' '--sysconfdir=/usr/pkg/etc/qemu' '--python=/usr/pkg/bin/python2.7' '--mandir=/usr/pkg/man' '--enable-user' '--disable-bsd-user'
You can try if --with-coroutine=gthread makes a difference.
Quoted 3 lines
# /usr/pkg/bin/qemu-img create -f raw xp.img 200M Formatting 'xp.img', fmt=raw size=209715200 Segmentation fault (core dumped)
Can you provide a stack trace?
Kevin