[Pkg-libvirt-maintainers] Bug#669457: libvirt-bin: libvirt_lxc segfault
Guido Günther
agx at sigxcpu.org
Mon Feb 11 15:21:31 UTC 2013
Hi,
On Thu, Apr 19, 2012 at 09:17:28PM +0200, Samuel Hassine wrote:
> Package: libvirt-bin
> Version: 0.9.11-2
> Severity: important
>
> Hi mainteners,
>
> We are trying to run a LXC container through libvirt binary with the following command:
>
> /usr/lib/libvirt/libvirt_lxc --name instance-0000000c --console 22 --handshake 25 --background --veth veth1
Is this how you'r invoking it our how libvirt invokes it? I can't seem
to reproduct this with 1.0.2. Could you check? If it still breaks please
attache the domain xml as well.
Cheers,
-- Guido
>
> We have the error:
>
> root at PAR-SRV-02-MASTER:/# /usr/lib/libvirt/libvirt_lxc --name instance-0000000c --console 22 --handshake 25 --background --veth veth1
> 2012-04-19 19:10:27.189+0000: 14242: info : libvirt version: 0.9.11
> 2012-04-19 19:10:27.189+0000: 14242: warning : lxcCapsInit:77 : Failed to get host power management capabilities
> Segmentation fault
>
> In the syslog:
>
> Apr 19 20:58:22 PAR-SRV-02-MASTER kernel: [ 3122.548430] libvirt_lxc[13788]: segfault at 0 ip 00007f960ae68788 sp 00007fff55eaeb38 error 4 in libc-2.13.so[7f960ae31000+17d000]
> Apr 19 21:10:27 PAR-SRV-02-MASTER kernel: [ 3846.923857] libvirt_lxc[14242]: segfault at 0 ip 00007fe2185a3788 sp 00007fffe882ade8 error 4 in libc-2.13.so[7fe21856c000+17d000]
>
> With strace:
>
> futex(0x7f1115c05ba8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
> stat("/var/run/libvirt/lxc/instance-0000000c.xml", {st_mode=S_IFREG|0600, st_size=1980, ...}) = 0
> stat("/var/run/libvirt/lxc/instance-0000000c.xml", {st_mode=S_IFREG|0600, st_size=1980, ...}) = 0
> stat("/var/run/libvirt/lxc/instance-0000000c.xml", {st_mode=S_IFREG|0600, st_size=1980, ...}) = 0
> open("/var/run/libvirt/lxc/instance-0000000c.xml", O_RDONLY) = 5
> lseek(5, 0, SEEK_CUR) = 0
> read(5, "<!--\nWARNING: THIS IS AN AUTO-GE"..., 8192) = 1980
> read(5, "", 6212) = 0
> brk(0x261e000) = 0x261e000
> close(5) = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> Segmentation fault
>
> Full strace on pastebin:
>
> http://pastebin.com/qdJFFudn
>
> With gdb:
>
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> 2012-04-19 19:11:37.358+0000: 14299: info : libvirt version: 0.9.11
> 2012-04-19 19:11:37.358+0000: 14299: warning : lxcCapsInit:77 : Failed to get host power management capabilities
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff6240788 in random_r () from /lib/x86_64-linux-gnu/libc.so.6
> (gdb) bt
> #0 0x00007ffff6240788 in random_r () from /lib/x86_64-linux-gnu/libc.so.6
> #1 0x000000000043e906 in ?? ()
> #2 0x0000000000434374 in ?? ()
> #3 0x0000000000469055 in ?? ()
> #4 0x0000000000469194 in ?? ()
> #5 0x000000000044d7c5 in ?? ()
> #6 0x000000000045e819 in ?? ()
> #7 0x000000000045fdd2 in ?? ()
> #8 0x00000000004606cb in ?? ()
> #9 0x0000000000408d6a in ?? ()
> #10 0x00007ffff6227ead in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
> #11 0x000000000040b221 in ?? ()
> #12 0x00007fffffffdfc8 in ?? ()
> #13 0x000000000000001c in ?? ()
> #14 0x0000000000000005 in ?? ()
> 00007fffffffe270 in ?? ()
> #16 0x00007fffffffe28d in ?? ()
> #17 0x00007fffffffe294 in ?? ()
> #18 0x00007fffffffe2a6 in ?? ()
> #19 0x00007fffffffe2a9 in ?? ()
> #20 0x0000000000000000 in ?? ()
>
> Best regards.
> Sam
>
> -- System Information:
> Debian Release: wheezy/sid
> APT prefers unstable
> APT policy: (500, 'unstable')
> rchitecture: amd64 (x86_64)
>
> nel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages libvirt-bin depends on:
> ii adduser 3.113+nmu1
> ii gettext-base 0.18.1.1-5
> ii libavahi-client3 0.6.31-1
> ii libavahi-common3 0.6.31-1
> ii libblkid1 2.20.1-4
> ii libc6 2.13-30
> ii libcap-ng0 0.6.6-1
> ii libdevmapper1.02.1 2:1.02.67-2
> ii libgcrypt11 1.5.0-3
> ii libgnutls26 2.12.18-1
> ii libnetcf1 0.1.9-2
> ii libnl1 1.1-7
> ii libnuma1 2.0.8~rc3-1
> ii libparted0debian1 2.3-9.1
> ii libpcap0.8 1.2.1-1
> ii libpciaccess0 0.13.1-1
> ii libreadline6 6.2-8
> ii libsasl2-2 2.1.25.dfsg1-4
> ii libudev0 175-3.1
> ii libvirt0 0.9.11-2
> ii libxenstore3.0 4.1.2-4
> ii libxml2 2.7.8.dfsg-8
> ii libyajl2 2.0.4-2
> ii logrotate 3.8.1-1
>
> Versions of packages libvirt-bin recommends:
> ii bridge-utils 1.5-2
> ii dmidecode 2.11-6
> ii dnsmasq-base 2.60-2
> ii ebtables 2.0.9.2-2.1
> ii gawk 1:4.0.1+dfsg-1
> ii iproute 20120319-1
> ii iptables 1.4.13-1
> ii libxml2-utils 2.7.8.dfsg-8
> ii netcat-openbsd 1.105-5
> ii parted 2.3-9.1
> ii qemu-kvm 1.0+dfsg-11
>
> Versions of packages libvirt-bin suggests:
> pn policykit-1 <none>
> pn radvd <none>
>
> -- Configuration Files:
> /etc/libvirt/lxc.conf changed:
> log_with_libvirtd = 1
>
>
> -- no debconf information
>
>
More information about the Pkg-libvirt-maintainers
mailing list