[libvirt-users] [BUG] Not exiting media forced a promptly close of libvirt 3.10

Holger Schranz holger at fam-schranz.de
Fri Dec 22 08:52:33 UTC 2017


Hello,

In the .xml file I use a media which is no longer available.
In the past, I got the information media not available and the
creation of the VM was stopped - O.k. behavior.
Since 3.10 the libvirtd stopped promptly and all open
consoles windows and the virt-manager closed promptly.

For diagnose:
etcsvms1:/kvm/CS8200/M5 # coredumpctl
TIME                            PID   UID   GID SIG PRESENT EXE
Fri 2017-12-22 08:16:35 CET    7056     0     0  11 * 
/usr/local/sbin/libvirtd
Fri 2017-12-22 08:19:46 CET   10611     0     0  11 * 
/usr/local/sbin/libvirtd
Fri 2017-12-22 09:28:48 CET   10728     0     0  11 * 
/usr/local/sbin/libvirtd

etcsvms1:/kvm/CS8200/M5 # coredumpctl info libvirtd
.
.
.
            PID: 10728 (libvirtd)
            UID: 0 (root)
            GID: 0 (root)
         Signal: 11 (SEGV)
      Timestamp: Fri 2017-12-22 09:28:39 CET (15min ago)
   Command Line: /usr/local/sbin/libvirtd -d
     Executable: /usr/local/sbin/libvirtd
  Control Group: /
          Slice: -.slice
        Boot ID: 01603763bc784c7380e310d5eea124d6
     Machine ID: 89c660865c00403a9bacef32b6828556
       Hostname: etcsvms1
       Coredump: 
/var/lib/systemd/coredump/core.libvirtd.0.01603763bc784c7380e310
        Message: Process 10728 (libvirtd) of user 0 dumped core.

etcsvms1:/kvm/CS8200/M5 # coredumpctl dump libvirtd
            PID: 10728 (libvirtd)
            UID: 0 (root)
            GID: 0 (root)
         Signal: 11 (SEGV)
      Timestamp: Fri 2017-12-22 09:28:39 CET (16min ago)
   Command Line: /usr/local/sbin/libvirtd -d
     Executable: /usr/local/sbin/libvirtd
  Control Group: /
          Slice: -.slice
        Boot ID: 01603763bc784c7380e310d5eea124d6
     Machine ID: 89c660865c00403a9bacef32b6828556
       Hostname: etcsvms1
       Coredump: 
/var/lib/systemd/coredump/core.libvirtd.0.01603763bc784c7380e310d5eea124d6.10728.1513931319000000.xz
        Message: Process 10728 (libvirtd) of user 0 dumped core.
Refusing to dump core to tty.

etcsvms1:/kvm/CS8200/M5 # coredumpctl gdb libvirtd
            PID: 10728 (libvirtd)
            UID: 0 (root)
            GID: 0 (root)
         Signal: 11 (SEGV)
      Timestamp: Fri 2017-12-22 09:28:39 CET (18min ago)
   Command Line: /usr/local/sbin/libvirtd -d
     Executable: /usr/local/sbin/libvirtd
  Control Group: /
          Slice: -.slice
        Boot ID: 01603763bc784c7380e310d5eea124d6
     Machine ID: 89c660865c00403a9bacef32b6828556
       Hostname: etcsvms1
       Coredump: 
/var/lib/systemd/coredump/core.libvirtd.0.01603763bc784c7380e310d5eea124d6.10728.1513931319000000.xz
        Message: Process 10728 (libvirtd) of user 0 dumped core.

GNU gdb (GDB; openSUSE Leap 42.3) 8.0.1
Copyright (C) 2017 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-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/sbin/libvirtd...done.
[New LWP 10729]
[New LWP 10731]
[New LWP 10733]
[New LWP 10735]
[New LWP 10732]
[New LWP 10739]
[New LWP 10730]
[New LWP 10741]
[New LWP 10743]
[New LWP 10734]
[New LWP 10736]
[New LWP 11276]
[New LWP 10737]
[New LWP 10738]
[New LWP 10728]
[New LWP 10740]
[New LWP 10751]
[New LWP 10742]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/local/sbin/libvirtd -d'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  virStorageFileReportBrokenChain (errcode=2, 
src=src at entry=0x7f0d4004ac40, parent=0x7f0d4004ac40)
     at storage/storage_source.c:422
422         unsigned int access_user = src->drv->uid;
[Current thread is 1 (Thread 0x7f0d525ab700 (LWP 10729))]
Missing separate debuginfos, use: zypper install 
device-mapper-debuginfo-1.02.97-77.1.x86_64 
glibc-debuginfo-2.22-8.4.x86_64 krb5-debuginfo-1.12.5-12.1.x86_64 
libapparmor1-debuginfo-2.10.3-16.1.x86_64 
libavahi-client3-debuginfo-0.6.32-3.5.x86_64 
libavahi-common3-debuginfo-0.6.32-3.5.x86_64 
libblkid1-debuginfo-2.29.2-5.1.x86_64 
libcap2-debuginfo-2.22-18.16.x86_64 
libcom_err2-debuginfo-1.42.11-15.1.x86_64 
libcurl4-debuginfo-7.37.0-23.1.x86_64 
libdbus-1-3-debuginfo-1.8.22-5.1.x86_64 
libffi4-debuginfo-5.3.1+r233831-10.1.x86_64 
libgmp10-debuginfo-5.1.3-7.15.x86_64 
libgnutls28-debuginfo-3.3.27-1.5.x86_64 
libhogweed2-debuginfo-2.7.1-12.1.x86_64 
libidn11-debuginfo-1.28-8.3.x86_64 
libkeyutils1-debuginfo-1.5.9-7.13.x86_64 
libldap-2_4-2-debuginfo-2.4.44-18.1.x86_64 
liblzma5-debuginfo-5.2.2-3.15.x86_64 
libnettle4-debuginfo-2.7.1-12.1.x86_64 
libnl1-debuginfo-1.1.4-6.13.x86_64 
libopenssl1_0_0-debuginfo-1.0.2j-16.1.x86_64 
libp11-kit0-debuginfo-0.20.7-1.2.x86_64 
libpciaccess0-debuginfo-0.13.4-4.3.x86_64 
libpcre1-debuginfo-8.39-11.1.x86_64 
libsasl2-3-debuginfo-2.1.26-14.1.x86_64 
libselinux1-debuginfo-2.5-4.17.x86_64 
libssh2-1-debuginfo-1.4.3-18.3.x86_64 
libtasn1-6-debuginfo-4.9-1.2.x86_64 libudev1-debuginfo-228-38.1.x86_64 
libuuid1-debuginfo-2.29.2-5.1.x86_64 
libxml2-2-debuginfo-2.9.4-12.1.x86_64 
libyajl2-debuginfo-2.0.1-21.3.x86_64 libz1-debuginfo-1.2.8-13.15.x86_64
(gdb)

Best regards

Holger

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus




More information about the libvirt-users mailing list