FS#29891 - [libvirt] libvirtd does not start

Attached to Project: Community Packages
Opened by Tobias Hunger (hunger) - Monday, 14 May 2012, 20:38 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 17 May 2012, 10:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

Description:
rc.d start libvirtd fails. Running the relevant command in the console shows that
the process core dumps.

Additional info:
* libvirt 0.9.12-1
* netcf 0.1.7-3
* linux 3.3.6-1

Backtrace:
Core was generated by `/usr/sbin/libvirtd --config /etc/libvirt/libvirtd.conf -p /var/run/libvirtd.pid'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f991fc0dc8f in ?? () from /usr/lib/libnetcf.so.1
(gdb) bt
#0 0x00007f991fc0dc8f in ?? () from /usr/lib/libnetcf.so.1
#1 0x00007f991fc0b364 in ?? () from /usr/lib/libnetcf.so.1
#2 0x00000000004d8a4a in ?? ()
#3 0x00007f9921ddb03f in ?? () from /usr/lib/libvirt.so.0
#4 0x00007f9921ddc8f4 in virConnectOpen () from /usr/lib/libvirt.so.0
#5 0x00000000004452b7 in ?? ()
#6 0x00007f9921ddc61c in virStateInitialize () from /usr/lib/libvirt.so.0
#7 0x0000000000421d61 in ?? ()
#8 0x00007f9921d747f9 in ?? () from /usr/lib/libvirt.so.0
#9 0x00007f991e66be0e in start_thread () from /lib/libpthread.so.0
#10 0x00007f991dc661ed in clone () from /lib/libc.so.6

Steps to reproduce:
Try to start libvirtd...
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 17 May 2012, 10:22 GMT
Reason for closing:  Fixed
Comment by Tobias Hunger (hunger) - Monday, 14 May 2012, 22:16 GMT
With the patch I attached to  FS#28735  I get this core dump instead:

Core was generated by `/usr/sbin/libvirtd --config /etc/libvirt/libvirtd.conf -p /var/run/libvirtd.pid'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007fbe1a1da23b in nl_connect () from /usr/lib/libnl-3.so.200
(gdb) bt
#0 0x00007fbe1a1da23b in nl_connect () from /usr/lib/libnl-3.so.200
#1 0x00007fbe1b1fe9c2 in ?? () from /usr/lib/libnetcf.so.1
#2 0x00007fbe080156b0 in ?? ()
#3 0x0000000000000004 in ?? ()
#4 0x00007fbe080b7470 in ?? ()
#5 0x0000000000000000 in ?? ()
(gdb) quit
Comment by Ivan Lyapunov (dront78) - Tuesday, 15 May 2012, 08:32 GMT
confirm the same behaviour
Comment by Evaggelos Balaskas (ebal) - Tuesday, 15 May 2012, 08:50 GMT
Confirmed, this is my debug=4 libvirtd logfile

I did a downgrade and libvirt 0.9.11-2 is working just fine
Comment by Marco (marcoy) - Tuesday, 15 May 2012, 16:57 GMT
Same problem. Here is a backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe9a0a700 (LWP 3441)]
0x00007ffff562ec8f in ?? () from /usr/lib/libnetcf.so.1
(gdb) bt
#0 0x00007ffff562ec8f in ?? () from /usr/lib/libnetcf.so.1
#1 0x00007ffff562c364 in ?? () from /usr/lib/libnetcf.so.1
#2 0x00000000004d8a4a in ?? ()
#3 0x0000000000000078 in ?? ()
#4 0x00007fffe4015360 in ?? ()
#5 0x0000000000000004 in ?? ()
#6 0x00007fffe4028060 in ?? ()
#7 0x0000000000000000 in ?? ()
Comment by Tobias Hunger (hunger) - Tuesday, 15 May 2012, 17:26 GMT
Evanggelos: Do you still have 0.9.11-2 available somewhere? I had my copy already deleted:-(
Comment by Ivan Lyapunov (dront78) - Tuesday, 15 May 2012, 20:19 GMT
just makepkg -cf from abs with PKGBUILD changed to 0.9.11
Comment by Evaggelos Balaskas (ebal) - Wednesday, 16 May 2012, 05:00 GMT Comment by Sergej Pupykin (sergej) - Wednesday, 16 May 2012, 21:38 GMT
I put 0.9.11 into community and 0.9.12 into community-testing
Comment by Bernard Van De Walle (bvandewa) - Thursday, 17 May 2012, 09:44 GMT
I tried to downgrade to Any other versions of libvirt, the result is always a segmentation fault:

[root@bernard bv]# virsh -v
0.9.11
Segmentation fault

Tested both on 32 and 64 bits.
Comment by Sergej Pupykin (sergej) - Thursday, 17 May 2012, 09:48 GMT
please try libvirt-0.9.12-3 and netcf-0.1.9-2
Comment by Bernard Van De Walle (bvandewa) - Thursday, 17 May 2012, 10:11 GMT
Working ...thx Sergej, I think I tried every combination except that one.

Loading...