All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu with Segmentation fault (core dumped)
@ 2012-06-12  8:28 Maurizio Caloro
  2012-06-13 10:13 ` Kevin Wolf
  0 siblings, 1 reply; 2+ messages in thread
From: Maurizio Caloro @ 2012-06-12  8:28 UTC (permalink / raw)
  To: qemu-devel

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
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Qemu with Segmentation fault (core dumped)
  2012-06-12  8:28 [Qemu-devel] Qemu with Segmentation fault (core dumped) Maurizio Caloro
@ 2012-06-13 10:13 ` Kevin Wolf
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Wolf @ 2012-06-13 10:13 UTC (permalink / raw)
  To: Maurizio Caloro; +Cc: qemu-devel

Am 12.06.2012 10:28, schrieb Maurizio Caloro:
> 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.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-13 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-12  8:28 [Qemu-devel] Qemu with Segmentation fault (core dumped) Maurizio Caloro
2012-06-13 10:13 ` Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.