I have a CIM provider that just calls virConnectOpen("qemu:///system"); and virConnectClose(). When cimom unloads this provider segfaults -

#0 0x000000305b420cd0 in ?? ()
(gdb) bt
#0 0x000000305b420cd0 in ?? ()
#1 0x00000031a3e05ad9 in __nptl_deallocate_tsd () from /lib64/libpthread.so.0
#2 0x00000031a3e0674b in start_thread () from /lib64/libpthread.so.0
#3 0x00000031a32d3d1d in clone () from /lib64/libc.so.6


If I remove virConnectOpen and virConnectClose, the provider unloads without any problem.

I am using RHEL 5.5 with libvirt-0.6.3-33.el5 and kvm-83-164.el5.

Any ideas on this core?

Regards,
Sharad Mishra
Open Virtualization
Linux Technology Center
IBM