On Thu, 19 Jul 2012 22:47:48 +0400 Michael Tokarev <[email protected]> wrote:
> I can't reproduce this. It works as intended here. > Tried on amd64 and i386 with current wheezy. I thought that it is strange to have such error with such common option, probably something is wrong in my system (it is a mix of stable and testing), but I have no idea for now.. I cannot reproduce this on other machine either :( Any hints to pinpoint this problem are welcome.. Running this through remote ssh I can see what it outputs on quickly opened and closed sdl window - it is the seabios version string. NB I have created a symlink for kvmvapic.bin to get rid of the startup warning. $ ls -lA /usr/share/qemu/kvmvapic.bin lrwxrwxrwx 1 root root 33 Jul 21 10:36 /usr/share/qemu/kvmvapic.bin -> ../seabios/optionrom/kvmvapic.bin Removing this symlink doesn't change anything wrt this bug. > > warning: core file may not match specified executable file. > > Are you sure you're this is not the problem? Which > qemu-system-x86_64 binary you're running? How about > qemu-system-x86_64 -version ? I am running the same binary.. $ /usr/bin/qemu-system-x86_64 -usbdevice tablet Bus error (core dumped) $ /usr/bin/qemu-system-x86_64 -version QEMU emulator version 1.1.0 (Debian 1.1.0+dfsg-1), Copyright (c) 2003-2008 Fabrice Bellard This is probably the gdb problem, I can make this warning go away with : $ gdb '/usr/bin/qemu-system-x86_64 -usbdevice tablet' core_qemu-system-x86_1342857041_13911 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... /usr/bin/qemu-system-x86_64 -usbdevice tablet: No such file or directory. [New LWP 13911] [New LWP 13913] [New LWP 13915] Core was generated by `/usr/bin/qemu-system-x86_64 -usbdevice tablet'. Program terminated with signal 7, Bus error. But then it can't obviously find the binary. > This is all screwed up. A symbols file wont help. > Gdb can't find the stack. But SIGBUS might be due > to the same reason. (gdb) disass ($rip-0x28),+0x40 Dump of assembler code from 0x7f1e67109c60 to 0x7f1e67109ca0: 0x00007f1e67109c60: push %rbp 0x00007f1e67109c61: mov %rdi,%rbp 0x00007f1e67109c64: push %rbx 0x00007f1e67109c65: sub $0x18,%rsp 0x00007f1e67109c69: mov %fs:0x28,%rax 0x00007f1e67109c72: mov %rax,0x8(%rsp) 0x00007f1e67109c77: xor %eax,%eax 0x00007f1e67109c79: test %rdi,%rdi 0x00007f1e67109c7c: je 0x7f1e67109d0d 0x00007f1e67109c82: nopw 0x0(%rax,%rax,1) => 0x00007f1e67109c88: mov 0x20(%rbp),%rdi 0x00007f1e67109c8c: test %rdi,%rdi 0x00007f1e67109c8f: jne 0x7f1e67109cb3 0x00007f1e67109c91: jmp 0x7f1e67109cd8 0x00007f1e67109c93: nopl 0x0(%rax,%rax,1) 0x00007f1e67109c98: mov 0x70(%rdi),%rdx 0x00007f1e67109c9c: mov %rdx,0x70(%rbx) This looks like a valid function, but gdb doesn't know it's name and it couldn't detect that ip was located inside the function. So I think symbols file would help here.. > > Versions of packages qemu-system depends on: > > ii ipx 1.0.0+git-20120202.f6840ba-3 PXE boot firmware - ROM images > > for > > ii lib 0.3.109-3 Linux kernel AIO access > > library - > > ii lib 1.0.25-3 shared library for ALSA > > applicatio > > ii lib 4.99-2 Library to use the BlueZ Linux > > Blu > > ii lib 4.4-4 braille display access via > > BRLTTY > > Can you please tell me what does this mean? > How come the list of dependencies is formatted > this way?.. Sorry, I didn't pay attention, that was reportbug from stable, here is the correct output : Versions of packages qemu-system depends on: ii ipxe-qemu 1.0.0+git-20120202.f6840ba-3 ii libaio1 0.3.109-3 ii libasound2 1.0.25-3 ii libbluetooth3 4.99-2 ii libbrlapi0.5 4.4-4 ii libc6 2.13-33 ii libcurl3-gnutls 7.26.0-1 ii libfdt1 1.3.0-2 ii libgl1-mesa-glx [libgl1] 8.0.3-1 ii libglib2.0-0 2.32.3-1 ii libgnutls26 2.12.20-1 ii libiscsi1 1.4.0-3 ii libncurses5 5.9-10 ii libpulse0 2.0-3 ii librados2 0.43-1 ii librbd1 0.43-1 ii libsasl2-2 2.1.25.dfsg1-4+b1 ii libsdl1.2debian 1.2.15-5 ii libspice-server1 0.10.1-2 ii libtinfo5 5.9-10 ii libusbredirparser0 0.4.3-2 ii libuuid1 2.20.1-5.1 ii libvdeplug2 2.3.2-4 ii libx11-6 2:1.5.0-1 ii libxen-4.1 4.1.3~rc1+hg-20120614.a9c0a89c08f2-4 ii libxenstore3.0 4.1.3~rc1+hg-20120614.a9c0a89c08f2-4 ii openbios-ppc 1.0+svn1060-1 ii openbios-sparc 1.0+svn1060-1 ii openhackware 0.4.1-6 ii qemu-keymaps 1.1.0+dfsg-1 ii seabios 1.7.0-1 ii vgabios 0.7a-3 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages qemu-system recommends: ii qemu-utils 1.1.0+dfsg-1 pn vde2 <none> Versions of packages qemu-system suggests: pn samba <none> -- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

