Wind River Support Network

HomeDefectsLIN1018-5764
Fixed

LIN1018-5764 : Libvirtd crash

Created: Feb 25, 2020    Updated: Apr 17, 2020
Resolved Date: Apr 9, 2020
Previous ID: LIN10-7048
Found In Version: 10.18.44.14
Fix Version: 10.18.44.16
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Userspace

Description

Issue is seen when they reboot their host using "reboot -d" while guest is still running.

When they run core file in gdb it generated back trace as below,

warning: Could not load shared library symbols for linux-vdso.so.1.
 Do you need "set solib-search-path" or "set sysroot"?

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
 Core was generated by `/usr/sbin/libvirtd --listen --daemon'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0 0x00007fa3e1a273a8 in virClassIsDerivedFrom () from /usr/lib64/libvirt.so.0
 [Current thread is 1 (LWP 8348)]
 (gdb) bt
 #0 0x00007fa3e1a273a8 in virClassIsDerivedFrom () from /usr/lib64/libvirt.so.0
 #1 0x00007fa3e1a27660 in virObjectLock () from /usr/lib64/libvirt.so.0
 #2 0x00007fa3e19ead4e in virCloseCallbacksUnset () from /usr/lib64/libvirt.so.0
 #3 0x00007fa3cf236b6b in qemuProcessStop () from /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so
 #4 0x00007fa3cf297ae0 in ?? () from /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so
 #5 0x00007fa3e1a41bcb in ?? () from /usr/lib64/libvirt.so.0
 #6 0x00007fa3e1a40f58 in ?? () from /usr/lib64/libvirt.so.0
 #7 0x00007fa3dfc313f4 in start_thread (arg=0x7fa3cc0f5700) at /usr/src/debug/glibc/2.24-r0/git/nptl/pthread_create.c:456
 #8 0x00007fa3ddba610f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
 (gdb)

Steps to Reproduce

Host - WR9.0.0.19_ovp 
 Guest - FreeBSD OS

Project configration:
 --dl-layers --distros wrlinux-ovp --machines intel-x86-64 --templates feature/initramfs,feature/kdump,feature/kexec,feature/kernel-ovp-kvm,feature/sysklogd,feature/dpdk,feature/package-management --layers wr-kernel wr-ovp

bitbake wrlinux-image-ovp-kvm

Deploy host image to target.

Use FreeBSD guest to run QEMU guest on WRL9 host.

Login to host from guest and issue "reboot -d" while guest is still running.
Live chat
Online