Package: qemu-system-x86
Version: 1:3.1+dfsg-1
Severity: important
Hi,
When starting a domain that has a virtual smartcard reader configured as
"host", kvm crashes.
to reproduce, run as root the following commands to setup the NSS db
(certutil is in libnss3-tools):
mkdir -p /etc/pki/nssdb
certutil -N -d /etc/pki/nssdb
certutil -N -d dbm:/etc/pki/nssdb/
chmod 644 /etc/pki/nssdb/*
Changing it to "passthrough" or removing the device helps.
Stack trace of thread 6399:
#0 0x00007f34ac6eb5e7 __GI___getpriority (libc.so.6)
#1 0x00007f34ac287e18 _pt_root (libnspr4.so)
#2 0x00007f34ac7c3fa3 start_thread (libpthread.so.0)
#3 0x00007f34ac6f488f __clone (libc.so.6)
Stack trace of thread 6382:
#0 0x00007f34ac7cc9c2 futex_abstimed_wait_cancelable
(libpthread.so.0)
#1 0x00007f34ac7ccad3 __new_sem_wait_slow (libpthread.so.0)
#2 0x000055f1484d3caf qemu_sem_timedwait (qemu-system-x86_64)
#3 0x000055f1484ce774 worker_thread (qemu-system-x86_64)
#4 0x000055f1484d333a qemu_thread_start (qemu-system-x86_64)
#5 0x00007f34ac7c3fa3 start_thread (libpthread.so.0)
#6 0x00007f34ac6f488f __clone (libc.so.6)
Stack trace of thread 6386:
#0 0x00007f34ac7c9fac futex_wait_cancelable (libpthread.so.0)
#1 0x000055f1484d39bb qemu_cond_wait_impl (qemu-system-x86_64)
#2 0x000055f1480cdfc7 qemu_wait_io_event (qemu-system-x86_64)
#3 0x000055f1480cf888 qemu_kvm_cpu_thread_fn
(qemu-system-x86_64)
#4 0x000055f1484d333a qemu_thread_start (qemu-system-x86_64)
#5 0x00007f34ac7c3fa3 start_thread (libpthread.so.0)
#6 0x00007f34ac6f488f __clone (libc.so.6)
Stack trace of thread 6369:
#0 0x00007f34ac7cd1dc __lll_lock_wait (libpthread.so.0)
#1 0x00007f34ac7c6704 __GI___pthread_mutex_lock
(libpthread.so.0)
#2 0x000055f1484d3483 qemu_mutex_lock_impl (qemu-system-x86_64)
#3 0x000055f1480cf6ee qemu_mutex_lock_iothread_impl
(qemu-system-x86_64)
#4 0x000055f1484e538e call_rcu_thread (qemu-system-x86_64)
#5 0x000055f1484d333a qemu_thread_start (qemu-system-x86_64)
#6 0x00007f34ac7c3fa3 start_thread (libpthread.so.0)
#7 0x00007f34ac6f488f __clone (libc.so.6)
Stack trace of thread 6384:
#0 0x00007f34ac7c9fac futex_wait_cancelable (libpthread.so.0)
#1 0x000055f1484d39bb qemu_cond_wait_impl (qemu-system-x86_64)
#2 0x000055f1480cdfc7 qemu_wait_io_event (qemu-system-x86_64)
#3 0x000055f1480cf888 qemu_kvm_cpu_thread_fn
(qemu-system-x86_64)
#4 0x000055f1484d333a qemu_thread_start (qemu-system-x86_64)
#5 0x00007f34ac7c3fa3 start_thread (libpthread.so.0)
#6 0x00007f34ac6f488f __clone (libc.so.6)
Stack trace of thread 6402:
#0 0x00007f34ac6f4881 __clone (libc.so.6)
#1 0x0000000000000000 n/a (n/a)
That could be an issue in libnspr4.so(?)
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1,
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
Versions of packages qemu-system-x86 depends on:
ii ipxe-qemu 1.0.0+git-20161027.b991c67-1
ii libaio1 0.3.111-1
ii libasound2 1.1.7-2
ii libbluetooth3 5.50-1
ii libbrlapi0.6 5.6-7+b1
ii libc6 2.28-3
ii libcacard0 1:2.6.1-1
ii libcapstone3 3.0.5-3
ii libepoxy0 1.5.3-0.1
ii libfdt1 1.4.7-3
ii libgbm1 18.2.7-1
ii libgcc1 1:8.2.0-13
ii libglib2.0-0 2.58.1-2
ii libgnutls30 3.6.5-2
ii libjpeg62-turbo 1:1.5.2-2+b1
ii libncursesw6 6.1+20181013-1
ii libnettle6 3.4.1~rc1-1
ii libnuma1 2.0.12-1
ii libpixman-1-0 0.36.0-1
ii libpng16-16 1.6.34-2
ii libsasl2-2 2.1.27~rc8-1
ii libseccomp2 2.3.3-3
ii libspice-server1 0.14.0-1.2
ii libtinfo6 6.1+20181013-1
ii libusb-1.0-0 2:1.0.22-2
ii libusbredirparser1 0.8.0-1
ii libvdeplug2 2.3.2+r586-2.1
ii libvirglrenderer0 0.7.0-1
ii libxendevicemodel1 4.11.1~pre.20180911.5acdd26fdc+dfsg-5
ii libxenevtchn1 4.11.1~pre.20180911.5acdd26fdc+dfsg-5
ii libxenforeignmemory1 4.11.1~pre.20180911.5acdd26fdc+dfsg-5
ii libxengnttab1 4.11.1~pre.20180911.5acdd26fdc+dfsg-5
ii libxenmisc4.11 4.11.1~pre.20180911.5acdd26fdc+dfsg-5
ii libxenstore3.0 4.11.1~pre.20180911.5acdd26fdc+dfsg-5
ii libxentoolcore1 4.11.1~pre.20180911.5acdd26fdc+dfsg-5
ii qemu-system-common 1:3.1+dfsg-1
ii qemu-system-data 1:3.1+dfsg-1
ii seabios 1.11.1-1
ii zlib1g 1:1.2.11.dfsg-1
Versions of packages qemu-system-x86 recommends:
ii qemu-system-gui 1:3.1+dfsg-1
ii qemu-utils 1:3.1+dfsg-1
Versions of packages qemu-system-x86 suggests:
ii ovmf 0~20181115.85588389-2
pn qemu-block-extra <none>
pn samba <none>
ii sgabios 0.0~svn8-4
pn vde2 <none>
-- no debconf information