** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1412098
Title:
qemu crashes when ctrl-alt-u is pressed
Status in QEMU:
Fix Released
Bug desc
Ingo Krabbe's suggested change fixes the issue for me.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1412098
Title:
qemu crashes when ctrl-alt-u is pressed
Status in QEMU:
New
Bug description:
Actually in any version this can never work, as you call
sdl_switch(dcl,NULL);
in ui/sdl.c:552. So the dereferncing statement
new_surface->format
must SEGFAULT.
The obvious patch is very simple, of course, as just the statement below
line 128 asks if(new_surface). So pf should be initial
A build from the current master attached in gdb reveals
Program received signal SIGSEGV, Segmentation fault.
sdl_switch (dcl=0x7f4db26e4b20, new_surface=new_surface@entry=0x0) at
ui/sdl.c:128
128 PixelFormat pf = qemu_pixelformat_from_pixman(new_surface->format);
(gdb) bt
#0 sdl_switch (
I did a git bisect, and the offending commit appears to be this one:
author Gerd Hoffmann
Wed, 18 Jun 2014 09:03:15 + (11:03 +0200)
committer Gerd Hoffmann
Fri, 5 Sep 2014 11:27:11 + (13:27 +0200)
commit 30f1e661b640de58ba1e8178f7f2290179a7e01c
treedc373a0d37438