Bug 580816
| Summary: | libvirt: crash when shutting down a VM | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Xudong Yang <xyang> |
| Component: | libvirt | Assignee: | Daniel Veillard <veillard> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 13 | CC: | berrange, clalance, crobinso, itamar, jforbes, veillard, virt-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-05-18 17:23:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Xudong Yang
2010-04-09 06:47:19 UTC
Can you do debuginfo-install libvirt and then capture a trace with GDB. If you're not familiar with GDB, the following will hopefully do the job $ gdb /usr/sbin/libvirtd /var/cache/abrt/ccpp-1270793886-1686.new/coredump (gdb) thread apply all backtrace Here is the result Program terminated with signal 11, Segmentation fault. #0 0x0000003eddc7ded1 in free () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install libvirt-0.7.7-1.fc13.x86_64 (gdb) thread apply all backtrace Thread 7 (Thread 1691): #0 0x0000003ede00b7ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000042d456 in virCondWait () #2 0x00000000004172f5 in getpwuid_r () #3 0x0000003ede007861 in start_thread () from /lib64/libpthread.so.0 #4 0x0000003eddce4b3d in clone () from /lib64/libc.so.6 Thread 6 (Thread 1690): #0 0x0000003ede00b7ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000042d456 in virCondWait () #2 0x00000000004172f5 in getpwuid_r () #3 0x0000003ede007861 in start_thread () from /lib64/libpthread.so.0 #4 0x0000003eddce4b3d in clone () from /lib64/libc.so.6 Thread 5 (Thread 1689): #0 0x0000003ede00b7ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000042d456 in virCondWait () #2 0x00000000004172f5 in getpwuid_r () #3 0x0000003ede007861 in start_thread () from /lib64/libpthread.so.0 ---Type <return> to continue, or q <return> to quit--- #4 0x0000003eddce4b3d in clone () from /lib64/libc.so.6 Thread 4 (Thread 1687): #0 0x0000003eddcdb423 in poll () from /lib64/libc.so.6 #1 0x0000000000414455 in getpwuid_r () #2 0x00000000004163c9 in getpwuid_r () #3 0x00000000004166a3 in getpwuid_r () #4 0x0000003ede007861 in start_thread () from /lib64/libpthread.so.0 #5 0x0000003eddce4b3d in clone () from /lib64/libc.so.6 Thread 3 (Thread 1688): #0 0x0000003ede00b7ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000042d456 in virCondWait () #2 0x00000000004172f5 in getpwuid_r () #3 0x0000003ede007861 in start_thread () from /lib64/libpthread.so.0 #4 0x0000003eddce4b3d in clone () from /lib64/libc.so.6 Thread 2 (Thread 1686): #0 0x0000003ede0080ed in pthread_join () from /lib64/libpthread.so.0 #1 0x000000000041a41b in getpwuid_r () #2 0x0000003eddc1ed2d in __libc_start_main () from /lib64/libc.so.6 #3 0x00000000004134a9 in getpwuid_r () ---Type <return> to continue, or q <return> to quit--- #4 0x00007fffb4574188 in ?? () #5 0x000000000000001c in ?? () #6 0x0000000000000002 in ?? () #7 0x00007fffb4575ec9 in ?? () #8 0x00007fffb4575ed2 in ?? () #9 0x0000000000000000 in ?? () Thread 1 (Thread 1692): #0 0x0000003eddc7ded1 in free () from /lib64/libc.so.6 #1 0x000000000042d29c in virFree () #2 0x000000000041c5cb in getpwuid_r () #3 0x00000000004244e1 in getpwuid_r () #4 0x0000000000424893 in getpwuid_r () #5 0x0000000000417388 in getpwuid_r () #6 0x0000003ede007861 in start_thread () from /lib64/libpthread.so.0 #7 0x0000003eddce4b3d in clone () from /lib64/libc.so.6 Hope this would help. This backtrace looks messed up, not really sure what to do to fix it. Can you reliably reproduce with the latest packages in F13? If so, please either paste the backtrace that abrt shows you, or as root run the following: 1) service libvirtd stop 2) gdb libvirtd 3) At gdb prompt, type 'run' 4) Reproduce the issue in another terminal 5) At gdb prompt, type 'thread apply all bt' I'm assuming this isn't reliably reproducable, so closing as WORKSFORME. Please reopen with the above info if you are still seeing this. |