Skip to contentSkip to conversation

- qemu segfaults when issuing screendump cmd

Qemu-devel Lucas Meneghel Rodrigues 2 participants 5 messages Apr 15, 2013 – Apr 18, 2013

lore
Share & tools
lore
#1 lore raw
Quoted 7 lines · Lucas Meneghel Rodrigues

Latest qemu.git master is failing big time to pass sanity checks:

https://bugs.launchpad.net/qemu/+bug/1169254

We've had some issues with the test jobs, and finally managed to stabilize the grid, so we don't have results for the last couple of weeks to bisect the problem.

Can you try this?
git://git.kraxel.org/qemu rebase/pixman

[ I'm about to prepare a pull req, was planning
to do it last week but got sick ... ]

cheers,
Gerd

#2 lore raw
Quoted 9 lines · Gerd Hoffmann
Quoted 7 lines · Lucas Meneghel Rodrigues

Latest qemu.git master is failing big time to pass sanity checks:

https://bugs.launchpad.net/qemu/+bug/1169254

We've had some issues with the test jobs, and finally managed to stabilize the grid, so we don't have results for the last couple of weeks to bisect the problem.

Quoted 5 lines

Can you try this?
git://git.kraxel.org/qemu rebase/pixman

[ I'm about to prepare a pull req, was planning
to do it last week but got sick ... ]

Yes, in your branch, the problem is solved. Anthony came up with an even simpler reproducer:

$ (sleep 1; echo -e 'screendump abc.ppm\nquit') | MALLOC_PERTURB_=1 x86_64-softmmu/qemu-system-x86_64 -monitor stdio -vnc :0
QEMU 1.4.50 monitor - type 'help' for more information
(qemu) screendump abc.ppm
(qemu) quit

With current master, qemu crashes.

[lmr@thinkpad-t420s qemu-gerd]$ (sleep 1; echo -e 'screendump abc.ppm\nquit') | MALLOC_PERTURB_=1 x86_64-softmmu/qemu-system-x86_64 -monitor stdio -vnc :0 QEMU 1.4.50 monitor - type 'help' for more information
(qemu) screendump abc.ppm
Segmentation fault

#3 lore raw
Quoted 5 lines
Quoted 3 lines

Can you try this?
git://git.kraxel.org/qemu rebase/pixman

With current master, qemu crashes.

FYI: pull req sent, anthony merged, so it is fixed in master now.

autotest might need adaptions nevertheless, on headless configurations (-vga none) qemu starts throwing errors now (due to lack of a screen it can dump from) instead of silently doing nothing.

cheers,
Gerd

#4 lore raw
Quoted 11 lines · Gerd Hoffmann
Quoted 5 lines
Quoted 3 lines

Can you try this?
git://git.kraxel.org/qemu rebase/pixman

With current master, qemu crashes.

FYI: pull req sent, anthony merged, so it is fixed in master now.

autotest might need adaptions nevertheless, on headless configurations (-vga none) qemu starts throwing errors now (due to lack of a screen it can dump from) instead of silently doing nothing.

Oh, absolutely. An error at least is normal program operation/behavior, so we'll adapt it. It's rather different than a segmentation fault, which is a bug regardless of the circumstances.

Thanks, I'll verify and mark the bug as fixed.