All of lore.kernel.org
 help / color / mirror / Atom feed
* qemu disappear when installing windows guest (sdl=1)
@ 2008-06-18  1:56 Xu, Dongxiao
  2008-06-19 20:01 ` Stefano Stabellini
  0 siblings, 1 reply; 3+ messages in thread
From: Xu, Dongxiao @ 2008-06-18  1:56 UTC (permalink / raw)
  To: xen-devel; +Cc: Samuel Thibault, Stefano Stabellini

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: qemu disappear when installing windows guest (sdl=1)
  2008-06-18  1:56 qemu disappear when installing windows guest (sdl=1) Xu, Dongxiao
@ 2008-06-19 20:01 ` Stefano Stabellini
  2008-06-20  0:44   ` Xu, Dongxiao
  0 siblings, 1 reply; 3+ messages in thread
From: Stefano Stabellini @ 2008-06-19 20:01 UTC (permalink / raw)
  To: Xu, Dongxiao; +Cc: xen-devel, Samuel Thibault

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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: qemu disappear when installing windows guest (sdl=1)
  2008-06-19 20:01 ` Stefano Stabellini
@ 2008-06-20  0:44   ` Xu, Dongxiao
  0 siblings, 0 replies; 3+ messages in thread
From: Xu, Dongxiao @ 2008-06-20  0:44 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, Samuel Thibault

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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-20  0:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-18  1:56 qemu disappear when installing windows guest (sdl=1) Xu, Dongxiao
2008-06-19 20:01 ` Stefano Stabellini
2008-06-20  0:44   ` Xu, Dongxiao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.