Description of problem: $ qemu-system-x86_64 -nodefaults -no-reboot -kernel /var/tmp/.guestfs-1000/appliance.d/kernel -initrd /var/tmp/.guestfs-1000/appliance.d/initrd -drive file=/var/tmp/.guestfs-1000/appliance.d/root,snapshot=on -m 1024 -append "guestfs_rescue=1" -serial stdio Segmentation fault This only seems to happen with the Fedora package. As far as I can tell this doesn't affect upstream qemu. The stack trace is: Thread 1 "qemu-system-x86" received signal SIGSEGV, Segmentation fault. 0x0000555555acc49c in gtk_display_init (ds=<optimized out>, full_screen=<optimized out>, grab_on_hover=<optimized out>) at /usr/src/debug/qemu-2.8.0/ui/gtk.c:2253 2253 gtk_widget_set_sensitive(s->copy_item, (gdb) bt #0 0x0000555555acc49c in gtk_display_init (ds=<optimized out>, full_screen=<optimized out>, grab_on_hover=<optimized out>) at /usr/src/debug/qemu-2.8.0/ui/gtk.c:2253 #1 0x0000555555816b33 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at /usr/src/debug/qemu-2.8.0/vl.c:4615 Version-Release number of selected component (if applicable): qemu-2.8.0-2.fc26.x86_64 How reproducible: 100% Steps to Reproduce: 1. Run the command shown above.
The GtkDisplayState *s struct is enormous but gdb seems to be able to print all of it.
gtk3-3.22.6-2.fc25.x86_64 Hmm, let's try updating that.
Fails in the same way with gtk3-3.22.8-2.fc26
Fix upstream in git master with commit 3d4da9d6f3b664beb5bee446ad53b69178f46ad4 Author: Hervé Poussineau <hpoussin> Date: Sun Jan 1 10:39:45 2017 +0100 ui/gtk: fix crash at startup when no console is available This patch fixes a segfault at QEMU startup, introduced in a08156321ab9a7d2fed9ee77dbfeea2a61ffd153. gd_vc_find_current() return NULL, which is dereferenced without checking it. While at it, disable the whole 'View' menu if no console exists. Reproducer: qemu-system-i386 -M none -nodefaults Signed-off-by: Hervé Poussineau <hpoussin> Reviewed-by: Stefan Hajnoczi <stefanha> Message-id: 1483263585-8101-1-git-send-email-hpoussin Signed-off-by: Gerd Hoffmann <kraxel>
qemu-2.9.0-0.1.rc0.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d1858655b8
qemu-2.9.0-0.1.rc0.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d1858655b8
qemu-2.9.0-0.1.rc1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8fba7a271e
qemu-2.9.0-0.1.rc1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8fba7a271e
qemu-2.9.0-0.1.rc1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.