Xu, Dongxiao
2008-Jun-18 01:56 UTC
[Xen-devel] qemu disappear when installing windows guest (sdl=1)
Hi, Samuel and Stefano, When I install windows xp guest on latest Xen, the qemu window will sometimes disappear at the secondary boot or at the time when installation has 35 minutes left (sdl=1). This issue doesn''t happen every time. And if I use vnc to install the guest, the installation could pass successfully. When the qemu window disappears, I use gdb to attach it, and get the following call traces: 1) When qemu disappears at the secondary boot: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47935248716144 (LWP 3533)] 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 (gdb) bt #0 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 #1 0x0000003ebb03f309 in SDL_LoadObject () from /usr/lib64/libSDL-1.2.so.0 #2 0x0000003ebb03d297 in SDL_LoadObject () from /usr/lib64/libSDL-1.2.so.0 #3 0x0000003ebb01146b in SDL_PumpEvents () from /usr/lib64/libSDL-1.2.so.0 #4 0x000000000047e678 in sdl_resize_shared (ds=0x6de7a0, w=640, h=480, depth=24, linesize=2048, pixels=0x2aaaac2b4000) at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/sdl.c:243 #5 0x00000000004417b1 in vga_draw_graphic (s=0xabc888, full_update=1) at ../vl.h:967 #6 0x0000000000442752 in vga_update_display (opaque=<value optimized out>) at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/hw/vga.c:1810 #7 0x000000000040ff9f in vga_hw_update () at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/console.c:149 #8 0x000000000047e880 in sdl_refresh (ds=0x6de7a0) at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/sdl.c:553 #9 0x0000000000409da8 in gui_update (opaque=<value optimized out>) at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:6129 #10 0x0000000000405cd8 in qemu_run_timers (ptimer_head=0x6de860, current_time=59253125) at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:918 #11 0x0000000000409d7a in main_loop_wait (timeout=10) at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:6386 #12 0x0000000000486195 in main_loop () ---Type <return> to continue, or q <return> to quit--- at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/target-i386-dm/helper2.c:549 #13 0x000000000040d264 in main (argc=20, argv=0x7fffdf99dab8) at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:798 2) Qemu disappears when the installation has 35 minutes left. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47442692260208 (LWP 8063)] 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 (gdb) bt #0 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 #1 0x0000003ebb03f309 in SDL_LoadObject () from /usr/lib64/libSDL-1.2.so.0 #2 0x0000003ebb03d297 in SDL_LoadObject () from /usr/lib64/libSDL-1.2.so.0 #3 0x0000003ebb01146b in SDL_PumpEvents () from /usr/lib64/libSDL-1.2.so.0 #4 0x000000000047df9e in sdl_resize () #5 0x00000000004400f1 in vga_draw_graphic () #6 0x000000000047e29b in sdl_refresh () #7 0x000000000040a0ec in gui_update () #8 0x0000000000405d7c in qemu_run_timers () #9 0x000000000040a09b in main_loop_wait () #10 0x0000000000485b6a in main_loop () #11 0x000000000040d325 in main () Best Regards, -- Dongxiao _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2008-Jun-19 20:01 UTC
[Xen-devel] Re: qemu disappear when installing windows guest (sdl=1)
I tried 6 times to reproduce this bug without any luck. How often does it show up? Did you compile qemu with opengl support and use opengl together with sdl (the default)? Xu, Dongxiao wrote:> Hi, Samuel and Stefano, > When I install windows xp guest on latest Xen, the qemu window > will sometimes disappear at the secondary boot or at the time when > installation has 35 minutes left (sdl=1). This issue doesn''t happen > every time. And if I use vnc to install the guest, the installation > could pass successfully. When the qemu window disappears, I use gdb to > attach it, and get the following call traces: > > 1) When qemu disappears at the secondary boot: > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 47935248716144 (LWP 3533)] > 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 > (gdb) bt > #0 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 > #1 0x0000003ebb03f309 in SDL_LoadObject () from > /usr/lib64/libSDL-1.2.so.0 > #2 0x0000003ebb03d297 in SDL_LoadObject () from > /usr/lib64/libSDL-1.2.so.0 > #3 0x0000003ebb01146b in SDL_PumpEvents () from > /usr/lib64/libSDL-1.2.so.0 > #4 0x000000000047e678 in sdl_resize_shared (ds=0x6de7a0, w=640, h=480, > depth=24, linesize=2048, pixels=0x2aaaac2b4000) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/sdl.c:243 > #5 0x00000000004417b1 in vga_draw_graphic (s=0xabc888, full_update=1) > at ../vl.h:967 > #6 0x0000000000442752 in vga_update_display (opaque=<value optimized > out>) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/hw/vga.c:1810 > #7 0x000000000040ff9f in vga_hw_update () > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/console.c:149 > #8 0x000000000047e880 in sdl_refresh (ds=0x6de7a0) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/sdl.c:553 > #9 0x0000000000409da8 in gui_update (opaque=<value optimized out>) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:6129 > #10 0x0000000000405cd8 in qemu_run_timers (ptimer_head=0x6de860, > current_time=59253125) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:918 > #11 0x0000000000409d7a in main_loop_wait (timeout=10) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:6386 > #12 0x0000000000486195 in main_loop () > ---Type <return> to continue, or q <return> to quit--- > at > /home/chc/acpi/xen-3.3-unstable/tools/ioemu/target-i386-dm/helper2.c:549 > #13 0x000000000040d264 in main (argc=20, argv=0x7fffdf99dab8) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:798 > > > 2) Qemu disappears when the installation has 35 minutes left. > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 47442692260208 (LWP 8063)] > 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 > (gdb) bt > #0 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 > #1 0x0000003ebb03f309 in SDL_LoadObject () from > /usr/lib64/libSDL-1.2.so.0 > #2 0x0000003ebb03d297 in SDL_LoadObject () from > /usr/lib64/libSDL-1.2.so.0 > #3 0x0000003ebb01146b in SDL_PumpEvents () from > /usr/lib64/libSDL-1.2.so.0 > #4 0x000000000047df9e in sdl_resize () > #5 0x00000000004400f1 in vga_draw_graphic () > #6 0x000000000047e29b in sdl_refresh () > #7 0x000000000040a0ec in gui_update () > #8 0x0000000000405d7c in qemu_run_timers () > #9 0x000000000040a09b in main_loop_wait () > #10 0x0000000000485b6a in main_loop () > #11 0x000000000040d325 in main () > > > Best Regards, > -- Dongxiao >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Xu, Dongxiao
2008-Jun-20 00:44 UTC
[Xen-devel] RE: qemu disappear when installing windows guest (sdl=1)
I found that it may only happen on some specific platforms, and it may occur every 3~5 times, not so exactly. BTW, I use opengl in default. Best Regards, -- Dongxiao -----Original Message----- From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] Sent: 2008年6月20日 4:02 To: Xu, Dongxiao Cc: xen-devel@lists.xensource.com; Samuel Thibault Subject: Re: qemu disappear when installing windows guest (sdl=1) I tried 6 times to reproduce this bug without any luck. How often does it show up? Did you compile qemu with opengl support and use opengl together with sdl (the default)? Xu, Dongxiao wrote:> Hi, Samuel and Stefano, > When I install windows xp guest on latest Xen, the qemu window > will sometimes disappear at the secondary boot or at the time when > installation has 35 minutes left (sdl=1). This issue doesn''t happen > every time. And if I use vnc to install the guest, the installation > could pass successfully. When the qemu window disappears, I use gdb to > attach it, and get the following call traces: > > 1) When qemu disappears at the secondary boot: > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 47935248716144 (LWP 3533)] > 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 > (gdb) bt > #0 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 > #1 0x0000003ebb03f309 in SDL_LoadObject () from > /usr/lib64/libSDL-1.2.so.0 > #2 0x0000003ebb03d297 in SDL_LoadObject () from > /usr/lib64/libSDL-1.2.so.0 > #3 0x0000003ebb01146b in SDL_PumpEvents () from > /usr/lib64/libSDL-1.2.so.0 > #4 0x000000000047e678 in sdl_resize_shared (ds=0x6de7a0, w=640, h=480, > depth=24, linesize=2048, pixels=0x2aaaac2b4000) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/sdl.c:243 > #5 0x00000000004417b1 in vga_draw_graphic (s=0xabc888, full_update=1) > at ../vl.h:967 > #6 0x0000000000442752 in vga_update_display (opaque=<value optimized > out>) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/hw/vga.c:1810 > #7 0x000000000040ff9f in vga_hw_update () > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/console.c:149 > #8 0x000000000047e880 in sdl_refresh (ds=0x6de7a0) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/sdl.c:553 > #9 0x0000000000409da8 in gui_update (opaque=<value optimized out>) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:6129 > #10 0x0000000000405cd8 in qemu_run_timers (ptimer_head=0x6de860, > current_time=59253125) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:918 > #11 0x0000000000409d7a in main_loop_wait (timeout=10) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:6386 > #12 0x0000000000486195 in main_loop () > ---Type <return> to continue, or q <return> to quit--- > at > /home/chc/acpi/xen-3.3-unstable/tools/ioemu/target-i386-dm/helper2.c:549 > #13 0x000000000040d264 in main (argc=20, argv=0x7fffdf99dab8) > at /home/chc/acpi/xen-3.3-unstable/tools/ioemu/vl.c:798 > > > 2) Qemu disappears when the installation has 35 minutes left. > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 47442692260208 (LWP 8063)] > 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 > (gdb) bt > #0 0x0000003eaa609924 in XShmPutImage () from /usr/lib64/libXext.so.6 > #1 0x0000003ebb03f309 in SDL_LoadObject () from > /usr/lib64/libSDL-1.2.so.0 > #2 0x0000003ebb03d297 in SDL_LoadObject () from > /usr/lib64/libSDL-1.2.so.0 > #3 0x0000003ebb01146b in SDL_PumpEvents () from > /usr/lib64/libSDL-1.2.so.0 > #4 0x000000000047df9e in sdl_resize () > #5 0x00000000004400f1 in vga_draw_graphic () > #6 0x000000000047e29b in sdl_refresh () > #7 0x000000000040a0ec in gui_update () > #8 0x0000000000405d7c in qemu_run_timers () > #9 0x000000000040a09b in main_loop_wait () > #10 0x0000000000485b6a in main_loop () > #11 0x000000000040d325 in main () > > > Best Regards, > -- Dongxiao >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel