[virt-tools-list] bug or not
Wen Congyang
wency at cn.fujitsu.com
Tue Jan 11 05:48:22 UTC 2011
When I debug libvirtd, the virt-manager will Segmentation fault.
Steps to reproduce this bug:
1. debug libvirtd add a breakpoint in the function qemuMonitorOpen()
# gdb /usr/sbin/libvirtd -p pid
....
(gdb) b qemuMonitorOpen
Breakpoint 1 at 0x465150: file qemu/qemu_monitor.c, line 594.
(gdb) c
Continuing.
2. start guest OS
3. let libvirtd continue to run in gdb
This behavior is right or a bug?
Here is the log of virt-manager:
...
2011-01-11 13:27:19,597 (manager:720): VM RHEL6RC started
2011-01-11 13:27:19,630 (engine:468): window counter incremented to 2
2011-01-11 13:27:19,671 (console:872): Starting connect process for vnc://localhost:5900: localhost 5900
/usr/share/virt-manager/virtManager/console.py:862: GtkWarning: gtk_viewport_add: assertion `bin->child == NULL' failed
self.window.get_widget("console-vnc-viewport").add(self.viewer.get_widget())
/usr/share/virt-manager/virtManager/console.py:259: GtkWarning: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
self.display.realize()
2011-01-11 13:27:19,702 (console:872): Starting connect process for vnc://localhost:5900: localhost 5900
2011-01-11 13:27:19,824 (console:872): Starting connect process for vnc://localhost:5900: localhost 5900
/usr/share/virt-manager/virt-manager.py:440: GtkWarning: gdk_drawable_get_visual: assertion `GDK_IS_DRAWABLE (drawable)' failed
gtk.main()
/usr/share/virt-manager/virt-manager.py:440: GtkWarning: gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)' failed
gtk.main()
/usr/share/virt-manager/virt-manager.py:440: GtkWarning: gdk_gc_new: assertion `drawable != NULL' failed
gtk.main()
/usr/share/virt-manager/virt-manager.py:440: GtkWarning: gdk_visual_get_screen: assertion `GDK_IS_VISUAL (visual)' failed
gtk.main()
/usr/share/virt-manager/virt-manager.py:440: GtkWarning: _gdk_image_new_for_depth: assertion `visual || depth != -1' failed
gtk.main()
/usr/share/virt-manager/virt-manager.py:440: GtkWarning: _gdk_pixmap_new: assertion `(drawable != NULL) || (depth != -1)' failed
gtk.main()
Segmentation fault
The log in /var/log/messages:
Jan 11 13:27:19 wency kernel: python[31306]: segfault at 30 ip 00000035fac1816e sp 00007fcd915fedb0 error 4 in libgtk-vnc-1.0.so.0.0.1[35fac00000+23000]
More information about the virt-tools-list
mailing list