Bug 1842318 - [abrt] libvirt-daemon: libxlGetAutoballoonConf(): libvirtd killed by SIGSEGV
Summary: [abrt] libvirt-daemon: libxlGetAutoballoonConf(): libvirtd killed by SIGSEGV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9fc3275d3c777abcd26a639131e...
: 1842330 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-31 19:46 UTC by Lloyd Kvam
Modified: 2020-06-04 02:54 UTC (History)
12 users (show)

Fixed In Version: libvirt-6.1.0-4.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-04 02:54:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (91.08 KB, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details
File: core_backtrace (36.39 KB, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details
File: cpuinfo (1.82 KB, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details
File: dso_list (13.29 KB, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details
File: environ (306 bytes, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details
File: exploitable (82 bytes, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details
File: limits (1.29 KB, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details
File: maps (83.23 KB, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details
File: mountinfo (2.15 KB, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details
File: open_fds (2.07 KB, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details
File: proc_pid_status (1.29 KB, text/plain)
2020-05-31 19:46 UTC, Lloyd Kvam
no flags Details

Description Lloyd Kvam 2020-05-31 19:46:07 UTC
Description of problem:
I upgrade from Fedora 30 to Fedora 32. I am using Xen virtualization. Fedora 30 was working. 

Now libvirtd crashes every few minutes if I boot the XEN kernel. I am filing this using the regular kernel because the 
system is unusable when I boot XEN.

Version-Release number of selected component:
libvirt-daemon-6.1.0-2.fc32

Additional info:
reporter:       libreport-2.13.1
backtrace_rating: 4
cgroup:         0::/system.slice/libvirtd.service
cmdline:        /usr/sbin/libvirtd --timeout 120
crash_function: libxlGetAutoballoonConf
executable:     /usr/sbin/libvirtd
journald_cursor: s=f432eb6429064901af7e47b2daf9657a;i=ba9b36;b=739b003bc94a4573981a31f4b9703ee4;m=7bcebbb8;t=5a6f4fce6c138;x=ee798b14b02b68ab
kernel:         5.6.14-300.fc32.x86_64
rootdir:        /
runlevel:       N 3
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (6 frames)
 #0 libxlGetAutoballoonConf at ../../src/libxl/libxl_conf.c:1681
 #1 libxlDriverConfigLoadFile at ../../src/libxl/libxl_conf.c:1812
 #2 libxlStateInitialize at ../../src/libxl/libxl_driver.c:708
 #3 virStateInitialize at ../../src/libvirt.c:653
 #5 daemonRunStateInit at ../../src/remote/remote_daemon.c:835
 #6 virThreadHelper at ../../src/util/virthread.c:196

Comment 1 Lloyd Kvam 2020-05-31 19:46:12 UTC
Created attachment 1693930 [details]
File: backtrace

Comment 2 Lloyd Kvam 2020-05-31 19:46:14 UTC
Created attachment 1693931 [details]
File: core_backtrace

Comment 3 Lloyd Kvam 2020-05-31 19:46:16 UTC
Created attachment 1693932 [details]
File: cpuinfo

Comment 4 Lloyd Kvam 2020-05-31 19:46:18 UTC
Created attachment 1693933 [details]
File: dso_list

Comment 5 Lloyd Kvam 2020-05-31 19:46:20 UTC
Created attachment 1693934 [details]
File: environ

Comment 6 Lloyd Kvam 2020-05-31 19:46:21 UTC
Created attachment 1693935 [details]
File: exploitable

Comment 7 Lloyd Kvam 2020-05-31 19:46:23 UTC
Created attachment 1693936 [details]
File: limits

Comment 8 Lloyd Kvam 2020-05-31 19:46:25 UTC
Created attachment 1693937 [details]
File: maps

Comment 9 Lloyd Kvam 2020-05-31 19:46:27 UTC
Created attachment 1693938 [details]
File: mountinfo

Comment 10 Lloyd Kvam 2020-05-31 19:46:29 UTC
Created attachment 1693939 [details]
File: open_fds

Comment 11 Lloyd Kvam 2020-05-31 19:46:30 UTC
Created attachment 1693940 [details]
File: proc_pid_status

Comment 12 Lloyd Kvam 2020-06-01 01:30:11 UTC
Similar problem has been detected:

Upgraded Fedora 30 to Fedora 32 on a system that had been using XEN virtualization. Resubmitted bug hoping to provide a better back trace.

reporter:       libreport-2.13.1
backtrace_rating: 4
cgroup:         0::/system.slice/libvirtd.service
cmdline:        /usr/sbin/libvirtd --timeout 120
crash_function: libxlGetAutoballoonConf
executable:     /usr/sbin/libvirtd
journald_cursor: s=f432eb6429064901af7e47b2daf9657a;i=bada73;b=d1991d632baa4ccda69ee844a8e34b74;m=12fc36891;t=5a6f8508ba564;x=796aff10653868a5
kernel:         5.6.14-300.fc32.x86_64
package:        libvirt-daemon-6.1.0-2.fc32
reason:         libvirtd killed by SIGSEGV
rootdir:        /
runlevel:       N 3
type:           CCpp
uid:            0

Comment 13 Pavel Hrdina 2020-06-01 09:37:23 UTC
Fixed in upstream:

commit 88011ed280c4f946a7b8e7ffcea2335eb075de60
Author: Jim Fehlig <jfehlig>
Date:   Fri Apr 3 15:51:48 2020 -0600

    libxl: fix crash when initializing driver

Cole, will you backport this fix? Thanks.

Comment 14 Brandon 2020-06-01 20:10:00 UTC
*** Bug 1842330 has been marked as a duplicate of this bug. ***

Comment 15 Cole Robinson 2020-06-02 17:45:12 UTC
(In reply to Pavel Hrdina from comment #13)
> Fixed in upstream:
> 
> commit 88011ed280c4f946a7b8e7ffcea2335eb075de60
> Author: Jim Fehlig <jfehlig>
> Date:   Fri Apr 3 15:51:48 2020 -0600
> 
>     libxl: fix crash when initializing driver
> 
> Cole, will you backport this fix? Thanks.

Thanks I'll do a build now

Comment 16 Fedora Update System 2020-06-02 18:10:10 UTC
FEDORA-2020-0fc9a55b49 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-0fc9a55b49

Comment 17 Fedora Update System 2020-06-03 03:12:06 UTC
FEDORA-2020-0fc9a55b49 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-0fc9a55b49`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-0fc9a55b49

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2020-06-04 02:54:56 UTC
FEDORA-2020-0fc9a55b49 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.