-nographic segfaults
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:38623862 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
In message: <[email protected]>
Juergen Lock <[email protected]> writes:
: Am I really the only one seeing this?
I saw it too when I was chasing down ne2000 emulation issues...
Warner