libvirtd crashed with SIGSEGV in _int_malloc()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Xenial beta 2 on AMD 8-core processor
# lsb_release -rd
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
# apt-cache policy libvirt0
libvirt0:
Installed: 1.3.1-1ubuntu6
Candidate: 1.3.1-1ubuntu6
Version table:
*** 1.3.1-1ubuntu6 500
500 http://
100 /var/lib/
Trying to create a new virtual machine - Fedora 24 alpha ISO, qcow2 storage
# systemctl status libvirt-bin.socket
● libvirt-bin.socket
Loaded: loaded (/lib/systemd/
Active: inactive (dead)
Listen: /var/run/
Apr 03 02:09:21 AlgoCompSynth systemd[1]: libvirt-bin.socket: Socket service libvirt-bin.service alr
Apr 03 02:09:21 AlgoCompSynth systemd[1]: Failed to listen on libvirt-bin.socket.
# journalctl -xe
Apr 03 02:17:28 AlgoCompSynth systemd[1]: Stopped Virtualization daemon.
-- Subject: Unit libvirt-bin.service has finished shutting down
-- Defined-By: systemd
-- Support: http://
--
-- Unit libvirt-bin.service has finished shutting down.
Apr 03 02:17:28 AlgoCompSynth systemd[1]: Starting Virtualization daemon...
-- Subject: Unit libvirt-bin.service has begun start-up
-- Defined-By: systemd
-- Support: http://
--
-- Unit libvirt-bin.service has begun starting up.
Apr 03 02:17:28 AlgoCompSynth systemd[1]: Started Virtualization daemon.
-- Subject: Unit libvirt-bin.service has finished start-up
-- Defined-By: systemd
-- Support: http://
--
-- Unit libvirt-bin.service has finished starting up.
--
-- The start-up result is done.
Apr 03 02:17:28 AlgoCompSynth polkitd(
Apr 03 02:17:28 AlgoCompSynth dnsmasq[1264]: read /etc/hosts - 7 addresses
Apr 03 02:17:28 AlgoCompSynth dnsmasq[1264]: read /var/lib/
Apr 03 02:17:28 AlgoCompSynth dnsmasq-dhcp[1264]: read /var/lib/
lines 1154-1177/1177 (END)
ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: libvirt-bin 1.3.1-1ubuntu6
ProcVersionSign
Uname: Linux 4.4.0-16-generic x86_64
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Sun Apr 3 02:08:33 2016
ExecutablePath: /usr/sbin/libvirtd
InstallationDate: Installed on 2016-04-03 (0 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323.1)
ProcAttrCurrent: /usr/sbin/libvirtd (enforce)
ProcCmdline: BOOT_IMAGE=
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
Signal: 11
SourcePackage: libvirt
StacktraceTop:
_int_malloc (av=av@
__GI___libc_malloc (bytes=16) at malloc.c:2914
__GI__
register_state (dfa=dfa@
register_state (hash=20, newstate=
Title: libvirtd crashed with SIGSEGV in _int_malloc()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
modified.
mtime.conffile.
information type: | Private → Public |
Changed in libvirt (Ubuntu): | |
status: | Fix Committed → Confirmed |
Looks like it's crashing on some permissions problem - I restarted the services and reconnected to the qemu emulator and it did this:
nable to complete install: 'internal error: process exited while connecting to monitor: 2016-04- 03T09:24: 44.393536Z qemu-system-x86_64: -chardev socket, id=charchannel0 ,path=/ var/lib/ libvirt/ qemu/channel/ target/ domain- Fedora24Alpha/ org.qemu. guest_agent. 0,server, nowait: Failed to bind socket to /var/lib/ libvirt/ qemu/channel/ target/ domain- Fedora24Alpha/ org.qemu. guest_agent. 0: Permission denied'
Traceback (most recent call last): virt-manager/ virtManager/ asyncjob. py", line 90, in cb_wrapper asyncjob, *args, **kwargs) virt-manager/ virtManager/ create. py", line 2277, in _do_async_install start_install( meter=meter) virt-manager/ virtinst/ guest.py" , line 501, in start_install virt-manager/ virtinst/ guest.py" , line 416, in _create_guest createLinux( start_xml or final_xml, 0) python2. 7/dist- packages/ libvirt. py", line 3606, in createLinux 'virDomainCreat eLinux( ) failed', conn=self) 03T09:24: 44.393536Z qemu-system-x86_64: -chardev socket, id=charchannel0 ,path=/ var/lib/ libvirt/ qemu/channel/ target/ domain- Fedora24Alpha/ org.qemu. guest_agent. 0,server, nowait: Failed to bind socket to /var/lib/ libvirt/ qemu/channel/ target/ domain- Fedora24Alpha/ org.qemu. guest_agent. 0: Permission denied
File "/usr/share/
callback(
File "/usr/share/
guest.
File "/usr/share/
noboot)
File "/usr/share/
dom = self.conn.
File "/usr/lib/
if ret is None:raise libvirtError(
libvirtError: internal error: process exited while connecting to monitor: 2016-04-