
Le 09/08/2012 08:22, Laine Stump a écrit :
On 08/08/2012 12:40 PM, [Vo2Labs] Jean-Charles Passard wrote:
Hello,
At first a big thanks to Laine, who kindly tried to help me !
My problem is the following :
I use a linux from scratch distro ( home made) pure X86_64 glibc 2.10.1 gcc 4.4.1 uname -a SMP Sat Aug 4 20:07:49 CEST 2012 x86_64 x86_64 x86_64 GNU/Linux
Each time I use nwfilter-define, libvirtd crash with a segfault. I tried nearly all version from 0.9.8 to 0.9.13 and even 0.10 with the same problem Here is a sample of newfilter.xml :
<filter name='nova-base'> <filterref filter='no-ip-spoofing'/> </filter>
and here the bt unde gdb with v0.9.13
#0 __pthread_mutex_lock (mutex=0x0) at pthread_mutex_lock.c:50 #1 0x00007ffff77ba07e in virNWFilterCallbackDriversLock () at conf/nwfilter_conf.c:2846 I'm just doing a test build of a patch to fix this, and I'll send it as a reply to this message when I'm done. (It contains a full explanation of the cause of the crash).
Thanks for the complete bug report Jean Charles! This was fun to debug :-)
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list Hello Laine,
Thank you very much for this great work ! I just tried your patch and it works great, no more problem. And if you'd fun it's 'la cerise sur le gateau', as we say in my country JC