<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">libvirt<br>version: 3.4.0<br>architecture: x86_64 ubuntu16.04-server<br><div>hypervisor: kvm,qemu<br><br>My program use libvirt event , the program is a module(.so) file in cloud application, when unload the module, program will dump in virEventPoolRunOnce call.<br>program frame<br><br>virInitialize<br>virEventAddTimeOut<br>virEventRunDefaultImpl<br>virConnectXXX<br>virConnectDomainEventRegisterAny<br>...<br>virConnectDomainEventDeregisterAny<br>...<br><br>when unload the module will dump , the gdb bt commad output is<br>[Thread debugging using libthread_db enabled]<br>Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br>Core was generated by `/usr/local/lssa/bin/lssa -f'.<br>Program terminated with signal SIGSEGV, Segmentation fault.<br>---Type <return> to continue, or q <return> to quit---<br>#0  0x00007f9a3e9fc2f2 in ?? ()<br>[Current thread is 1 (Thread 0x7f9a39349700 (LWP 2897))]<br>(gdb) bt<br>#0  0x00007f9a3e9fc2f2 in ?? ()<br>#1  0x00007f9a3e1728bd in virEventPollRunOnce () from /usr/lib/libvirt.so.0<br>#2  0x00007f9a3e171391 in virEventRunDefaultImpl () from /usr/lib/libvirt.so.0<br>#3  0x00007f9a3e9fbc16 in ?? ()<br>#4  0x0000000000000000 in ?? ()<br>(gdb) <br><br>Thanks<br><br><br><br></div></div><br><br><span title="neteasefooter"><p> </p></span>