Hi All,

Refering to the link below, I got to know that previous versions of Libvirtd had this issue.

https://www.redhat.com/archives/libvirt-users/2012-August/msg00104.html

We are using libvirt-0.10.0 but we are facing the same issue.

Procedure to reproduce :

1. Login to some domain name say CLA-0 using virsh.

(i) # virsh list --all
 Id    Name                           State
----------------------------------------------------
 4     CLA-0                          running

(ii) # virsh console 4
Connected to domain CLA-0
Escape character is ^]


2. Whenever we exit from the above CLA-0 domain by pressing ctrl-]

We are getting the Segmentation fault, however core is not generated but we have debugged it through gdb

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5a96c71 in pthread_mutex_lock () from /lib64/libpthread.so.0
(gdb) bt
#0  0x00007ffff5a96c71 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007ffff78c8b97 in ?? () from /usr/lib64/libvirt.so.0
#2  0x00007ffff78b6297 in ?? () from /usr/lib64/libvirt.so.0
#3  0x00007ffff7865b65 in virHashRemoveEntry () from /usr/lib64/libvirt.so.0
#4  0x00007ffff78b60d0 in ?? () from /usr/lib64/libvirt.so.0
#5  0x00007ffff78c95f9 in ?? () from /usr/lib64/libvirt.so.0
#6  0x00007ffff78ce711 in virStreamAbort () from /usr/lib64/libvirt.so.0
#7  0x000000000042b546 in ?? ()
#8  0x000000000042b8f3 in ?? ()
#9  0x00007ffff78c983a in ?? () from /usr/lib64/libvirt.so.0
#10 0x00007ffff7843cc5 in virEventPollRunOnce () from /usr/lib64/libvirt.so.0
#11 0x00007ffff78428f5 in virEventRunDefaultImpl () from /usr/lib64/libvirt.so.0
#12 0x00007ffff793407d in virNetServerRun () from /usr/lib64/libvirt.so.0
#13 0x000000000040c483 in ?? ()
#14 0x00007ffff534cbbe in __libc_start_main () from /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit---
#15 0x000000000040b139 in ?? ()
#16 0x00007fffffffe7d8 in ?? ()
#17 0x000000000000001c in ?? ()
#18 0x0000000000000001 in ?? ()
#19 0x00007fffffffea73 in ?? ()
#20 0x0000000000000000 in ?? ()


After this point libvirtd is dead.

# service libvirtd status
libvirtd dead but pid file exists


From the mail conversation between you and Andrey we came to know that patch has been provided for this problem.
Could you please share us the fix.
 
Thanking you in anticipation.
 
Thanks and Regards,
Shree Duth Awasthi.