Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EVtjc-00064b-R0 for qemu-devel@nongnu.org; Sat, 29 Oct 2005 12:39:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EVtjb-00064O-WD for qemu-devel@nongnu.org; Sat, 29 Oct 2005 12:39:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVtjb-00064L-TQ for qemu-devel@nongnu.org; Sat, 29 Oct 2005 12:39:11 -0400 Received: from [212.63.36.242] (helo=gwyn.kn-bremen.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EVtjb-0006al-OW for qemu-devel@nongnu.org; Sat, 29 Oct 2005 12:39:12 -0400 Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3) with ESMTP id j9TGd878026170 for ; Sat, 29 Oct 2005 18:39:08 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id j9TGd8VL026168 for qemu-devel@nongnu.org; Sat, 29 Oct 2005 18:39:08 +0200 Received: from saturn.kn-bremen.de (localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.1/8.13.1) with ESMTP id j9TGWpqA072802 for ; Sat, 29 Oct 2005 18:32:51 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.1/8.13.1/Submit) id j9TGWoJj072801 for qemu-devel@nongnu.org; Sat, 29 Oct 2005 18:32:50 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 29 Oct 2005 18:32:50 +0200 Message-ID: <20051029163250.GA72789@saturn.kn-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] -nographic segfaults Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi! I got a report that qemu -nographic segfaults on FreeBSD, and indeed trying to do that with a kanotix linux livecd iso i get a coredump: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `qemu'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libm.so.3...done. Loaded symbols for /lib/libm.so.3 Reading symbols from /lib/libz.so.2...done. Loaded symbols for /lib/libz.so.2 Reading symbols from /usr/local/lib/libSDL-1.1.so.7...done. Loaded symbols for /usr/local/lib/libSDL-1.1.so.7 Reading symbols from /lib/libutil.so.4...done. Loaded symbols for /lib/libutil.so.4 Reading symbols from /usr/lib/libpthread.so.1...done. Loaded symbols for /usr/lib/libpthread.so.1 Reading symbols from /lib/libc.so.5...done. Loaded symbols for /lib/libc.so.5 Reading symbols from /usr/lib/libvgl.so.3...done. Loaded symbols for /usr/lib/libvgl.so.3 Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Loaded symbols for /usr/X11R6/lib/libX11.so.6 Reading symbols from /usr/X11R6/lib/libXext.so.6...done. Loaded symbols for /usr/X11R6/lib/libXext.so.6 Reading symbols from /usr/local/lib/libvga.so.1...done. Loaded symbols for /usr/local/lib/libvga.so.1 Reading symbols from /usr/local/lib/libaa.so.1...done. Loaded symbols for /usr/local/lib/libaa.so.1 Reading symbols from /usr/lib/libusbhid.so.1...done. Loaded symbols for /usr/lib/libusbhid.so.1 Reading symbols from /lib/libncurses.so.5...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 console_puts (chr=0x800, buf=0xbfbfd250 "parallel0 console\n", len=18) at /usr/ports/emulators/qemu/work/qemu-snapshot-2005-09-09_23/console.c:502 502 c->ch = ch; (gdb) bt #0 console_puts (chr=0x800, buf=0xbfbfd250 "parallel0 console\n", len=18) at /usr/ports/emulators/qemu/work/qemu-snapshot-2005-09-09_23/console.c:502 #1 0x0804b51e in qemu_chr_write (s=0x800, buf=0xbfbfe49b "", len=-1077942032) at /usr/ports/emulators/qemu/work/qemu-snapshot-2005-09-09_23/vl.c:1024 #2 0x0804b56a in qemu_chr_printf (s=0xbfbfe619, fmt=0x0) at /usr/ports/emulators/qemu/work/qemu-snapshot-2005-09-09_23/vl.c:1033 #3 0x0804e7df in main (argc=4, argv=0xbfbfe938) at /usr/ports/emulators/qemu/work/qemu-snapshot-2005-09-09_23/vl.c:3862 (gdb) up #1 0x0804b51e in qemu_chr_write (s=0x800, buf=0xbfbfe49b "", len=-1077942032) at /usr/ports/emulators/qemu/work/qemu-snapshot-2005-09-09_23/vl.c:1024 1024 return s->chr_write(s, buf, len); (gdb) #2 0x0804b56a in qemu_chr_printf (s=0xbfbfe619, fmt=0x0) at /usr/ports/emulators/qemu/work/qemu-snapshot-2005-09-09_23/vl.c:1033 1033 qemu_chr_write(s, buf, strlen(buf)); (gdb) #3 0x0804e7df in main (argc=4, argv=0xbfbfe938) at /usr/ports/emulators/qemu/work/qemu-snapshot-2005-09-09_23/vl.c:3862 3862 qemu_chr_printf(parallel_hds[i], "parallel%d console\n", i); (gdb) q So it seems to have something to do with the parallel port emulation, and indeed adding -parallel pty makes the crash go awawy. Am I really the only one seeing this? wondering... Juergen