Package: qemu-kvm Version: 0.12.5+dfsg-5 Severity: normal When I use -soundhw all, kvm crashes with SIGABRT. If I drop that option or use qemu I don't get a crash. Backtrace from gdb below:
GNU gdb (GDB) 7.2-debian Copyright (C) 2010 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/>... Reading symbols from /usr/bin/kvm...Reading symbols from /usr/lib/debug/usr/bin/kvm...done. done. (gdb) r Starting program: /usr/bin/kvm -m 256 -name winders -startdate 2009-05-09 -hda /home/pabs/misc/systems/windows/windows.qemu-qcow -soundhw all -usb -usbdevice tablet -snapshot [Thread debugging using libthread_db enabled] [New Thread 0x7fffef295700 (LWP 2330)] [New Thread 0x7fffdd83f700 (LWP 2331)] ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: Device or resource busy ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: Device or resource busy audio: Failed to create voice `pcspk' pcspk: Could not open voice ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: Device or resource busy ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: Device or resource busy audio: Failed to create voice `adlib' ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: Device or resource busy ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave alsa: Could not initialize DAC alsa: Failed to open `default': alsa: Reason: Device or resource busy audio: Failed to create voice `gus' qemu: hardware error: Initialization of device gus failed CPU #0: EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000623 ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 00000000 0000ffff 00009300 CS =f000 ffff0000 0000ffff 00009b00 SS =0000 00000000 0000ffff 00009300 DS =0000 00000000 0000ffff 00009300 FS =0000 00000000 0000ffff 00009300 GS =0000 00000000 0000ffff 00009300 LDT=0000 00000000 0000ffff 00008200 TR =0000 00000000 0000ffff 00008b00 GDT= 00000000 0000ffff IDT= 00000000 0000ffff CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 DR6=ffff0ff0 DR7=00000400 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000 Program received signal SIGABRT, Aborted. 0x00007ffff4d32165 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/raise.c (gdb) thread apply all bt full Thread 3 (Thread 0x7fffdd83f700 (LWP 2331)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 No locals. #1 0x000000000047bdf4 in cond_timedwait (unused=<value optimized out>) at posix-aio-compat.c:103 ret = -512 #2 aio_thread (unused=<value optimized out>) at posix-aio-compat.c:324 aiocb = 0x0 ret = 512 tv = {tv_sec = 1300938798, tv_usec = 301804} ts = {tv_sec = 1300938808, tv_nsec = 0} pid = 2324 #3 0x00007ffff79c18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 __res = <value optimized out> pd = 0x7fffdd83f700 unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736909801216, -9157135154475896186, 8790976, 140736909801216, 140737354125376, 3, 9157200197952533126, 9157151955204240006}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <value optimized out> freesize = <value optimized out> __PRETTY_FUNCTION__ = "start_thread" #4 0x00007ffff4dcf02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 No locals. #5 0x0000000000000000 in ?? () No symbol table info available. Thread 2 (Thread 0x7fffef295700 (LWP 2330)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 No locals. #1 0x0000000000428b36 in qemu_cond_wait (_env=<value optimized out>) at /tmp/buildd/qemu-kvm-0.12.5+dfsg/qemu-kvm.c:1445 No locals. #2 ap_main_loop (_env=<value optimized out>) at /tmp/buildd/qemu-kvm-0.12.5+dfsg/qemu-kvm.c:1938 env = 0xcb6ce0 signals = {__val = {18446744067267100671, 18446744073709551615 <repeats 15 times>}} data = <value optimized out> #3 0x00007ffff79c18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 __res = <value optimized out> pd = 0x7fffef295700 unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737205851904, -9157135154475896186, 140737347632928, 0, 140737354125376, 3, 9157098172078158470, 9157151955204240006}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <value optimized out> freesize = <value optimized out> __PRETTY_FUNCTION__ = "start_thread" #4 0x00007ffff4dcf02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 No locals. ---Type <return> to continue, or q <return> to quit--- #5 0x0000000000000000 in ?? () No symbol table info available. Thread 1 (Thread 0x7ffff7fb9760 (LWP 2324)): #0 0x00007ffff4d32165 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 pid = <value optimized out> selftid = <value optimized out> #1 0x00007ffff4d34f70 in abort () at abort.c:92 act = {__sigaction_handler = {sa_handler = 0xfff0, sa_sigaction = 0xfff0}, sa_mask = {__val = {2, 140733193388077, 45, 45, 45, 140737300687624, 140737353924608, 45, 4294967295, 206158430208, 5, 8614128, 0, 13472408, 8617152, 0}}, sa_flags = -136395790, sa_restorer = 0x5} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x0000000000411ffb in hw_error (fmt=<value optimized out>) at /tmp/buildd/qemu-kvm-0.12.5+dfsg/vl.c:350 ap = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffd8e0, reg_save_area = 0x7fffffffd810}} env = 0x0 #3 0x00000000004bc59f in qdev_init_nofail (dev=<value optimized out>) at /tmp/buildd/qemu-kvm-0.12.5+dfsg/hw/qdev.c:286 info = 0x843e80 #4 0x000000000057d741 in isa_create_simple (name=<value optimized out>) at /tmp/buildd/qemu-kvm-0.12.5+dfsg/hw/isa-bus.c:139 dev = 0x7fffdc8f8010 #5 0x0000000000440d6e in GUS_init (pic=<value optimized out>) at /tmp/buildd/qemu-kvm-0.12.5+dfsg/hw/gus.c:295 No locals. #6 0x0000000000450d3f in audio_init (ram_size=<value optimized out>, boot_device=<value optimized out>, kernel_filename=<value optimized out>, kernel_cmdline=<value optimized out>, initrd_filename=<value optimized out>, cpu_model=0x5ae510 "qemu64", pci_enabled=1) at /tmp/buildd/qemu-kvm-0.12.5+dfsg/hw/pc.c:961 c = 0x837cc0 #7 pc_init1 (ram_size=<value optimized out>, boot_device=<value optimized out>, kernel_filename=<value optimized out>, kernel_cmdline=<value optimized out>, initrd_filename=<value optimized out>, cpu_model=0x5ae510 "qemu64", pci_enabled=1) at /tmp/buildd/qemu-kvm-0.12.5+dfsg/hw/pc.c:1262 filename = 0xce0ab0 "\200\v", <incomplete sequence \316> ret = <value optimized out> i = <value optimized out> ram_addr = <value optimized out> bios_offset = <value optimized out> option_rom_offset = <value optimized out> below_4g_mem_size = 268435456 above_4g_mem_size = 0 bios_size = <value optimized out> isa_bios_size = <value optimized out> pci_bus = 0xe40020 piix3_devfn = 8 cpu_irq = <value optimized out> isa_irq = 0xce0ab0 i8259 = <value optimized out> isa_irq_state = <value optimized out> hd = {0xc6d770, 0x0, 0xc6f150, 0x0} idebus = {0x0, 0x4b77a7} fd = {0xcb6c00, 0xcb69f0} ---Type <return> to continue, or q <return> to quit--- __FUNCTION__ = "pc_init1" #8 0x00000000004515c0 in pc_init_pci (ram_size=2324, boot_device=0x914 <Address 0x914 out of bounds>, kernel_filename=0x6 <Address 0x6 out of bounds>, kernel_cmdline=0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>, initrd_filename=0x7ffff7fb9760 "`\227\373\367\377\177", cpu_model=0x5ddb2c "") at /tmp/buildd/qemu-kvm-0.12.5+dfsg/hw/pc.c:1343 No locals. #9 0x000000000040f21e in main (argc=<value optimized out>, argv=0x7fffffffdda8, envp=<value optimized out>) at /tmp/buildd/qemu-kvm-0.12.5+dfsg/vl.c:6080 gdbstub_dev = 0x0 i = <value optimized out> snapshot = 1 initrd_filename = 0x0 kernel_filename = 0x0 kernel_cmdline = 0x5bc64f "" boot_devices = "cad", '\000' <repeats 29 times> dcl = <value optimized out> cyls = 0 heads = 0 secs = 0 translation = 0 hda_opts = 0xc67bd0 opts = 0x57dfb0 optind = 15 r = <value optimized out> optarg = <value optimized out> loadvm = 0x0 machine = 0x8483e0 cpu_model = 0x0 fds = {-237959280, 32767} tb_size = 0 pid_file = 0x0 incoming = 0x0 fd = <value optimized out> pwd = <value optimized out> chroot_dir = 0x0 run_as = 0x0 env = <value optimized out> -- Package-specific info: /proc/cpuinfo: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz stepping : 5 cpu MHz : 1199.000 cache size : 4096 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat dts tpr_shadow vnmi flexpriority ept vpid bogomips : 4255.21 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz stepping : 5 cpu MHz : 1199.000 cache size : 4096 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat dts tpr_shadow vnmi flexpriority ept vpid bogomips : 4255.89 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz stepping : 5 cpu MHz : 1199.000 cache size : 4096 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 2 apicid : 4 initial apicid : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat dts tpr_shadow vnmi flexpriority ept vpid bogomips : 4255.91 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz stepping : 5 cpu MHz : 1199.000 cache size : 4096 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 2 apicid : 5 initial apicid : 5 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat dts tpr_shadow vnmi flexpriority ept vpid bogomips : 4255.91 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages qemu-kvm depends on: ii adduser 3.112+nmu2 add and remove users and groups ii bridge-utils 1.4-5 Utilities for configuring the Linu ii iproute 20110107-2 networking and traffic control too ii libaio1 0.3.109-1 Linux kernel AIO access library - ii libasound2 1.0.23-2.1 shared library for ALSA applicatio ii libbluetooth3 4.87-2 Library to use the BlueZ Linux Blu ii libbrlapi0.5 4.2-7 braille display access via BRLTTY ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libcurl3-gnutls 7.21.3-1 Multi-protocol file transfer libra ii libgnutls26 2.10.5-1 the GNU TLS library - runtime libr ii libncurses5 5.7+20100313-5 shared libraries for terminal hand ii libpci3 1:3.1.7-7 Linux PCI Utilities (shared librar ii libpulse0 0.9.21-4 PulseAudio client libraries ii libsasl2-2 2.1.23.dfsg1-7 Cyrus SASL - authentication abstra ii libsdl1.2debian 1.2.14-6.1 Simple DirectMedia Layer ii libuuid1 2.17.2-9.1 Universally Unique ID library ii libvdeplug2 2.2.3-3 Virtual Distributed Ethernet - Plu ii libx11-6 2:1.4.1-5 X11 client-side library ii python 2.6.6-13 interactive high-level object-orie ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages qemu-kvm recommends: ii linux-image-2.6.38-1-amd64 [l 2.6.38-1 Linux 2.6.38 for 64-bit PCs Versions of packages qemu-kvm suggests: ii debootstrap 1.0.28 Bootstrap a basic Debian system ii samba 2:3.5.8~dfsg-1 SMB/CIFS file, print, and login se ii vde2 2.2.3-3 Virtual Distributed Ethernet -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part