Skip to contentSkip to conversation

screendump monitor command results in segmentation fault

Qemu-devel Uri Lublin 1 participant 1 message Jan 21, 2009

lore
Share & tools
lore

Uri Lublin

author
#0 lore raw

SVN: 6374
To reproduce: from the monitor: "screendump /tmp/screen.ppm"

Arch: x86_64

From gdb:
Program terminated with signal 11, Segmentation fault.
#0 qemu_console_resize (ds=0x7fff3b576210, width=720, height=400) at console.c:1424
1424 s->g_width = width;
(gdb) bt 6

#0  qemu_console_resize (ds=0x7fff3b576210, width=720, height=400) at console.c:1424
#1  0x000000000042fda9 in vga_update_display (opaque=<value optimized out>) at /home/uri/QEMU/git/qemu/hw/vga.c:1310
#2  0x0000000000430e06 in vga_screen_dump_common (s=0x17f01238, filename=0x179e2510 "/tmp/AAA.ppm", w=720, h=400)
    at /home/uri/QEMU/git/qemu/hw/vga.c:2627
#3  0x0000000000430ee7 in vga_screen_dump (opaque=0x17f01238, filename=0x179e2510 "/tmp/AAA.ppm")
    at /home/uri/QEMU/git/qemu/hw/vga.c:2648
#4  0x0000000000460e6b in vga_hw_screen_dump (filename=0x4 <Address 0x4 out of bounds>) at console.c:183
#5  0x000000000040db93 in monitor_handle_command1 (opaque=<value optimized out>, cmdline=<value optimized out>)
    at /home/uri/QEMU/git/qemu/monitor.c:2526

(More stack frames follow...)

Regards,
Uri