qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] SDL window Resize Crash
@ 2009-07-28 21:42 Stephen Depooter
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Depooter @ 2009-07-28 21:42 UTC (permalink / raw)
  To: qemu-devel

On Tuesday 28 July 2009 02:39:14 am Blue Swirl wrote:
> On Mon, Jul 27, 2009 at 5:16 PM, Stephen Depooter<stephend@xandros.com> 
wrote:
> > Working with qemu from the stable-0.11 branch, I have seen a crash when
> > trying to resize the SDL qemu window smaller.
> >
> > Resizing the window larger "just" causes video corruption.
> >
> > This is with qemu-system-arm using the versatilepb board.  However I
> > suspect the bug is in the common SDL code.
>
> Looks like it's the same problem I fixed with Sparc32 TCX. Would this
> patch fix the bug?


Looks good.  This fixes the crash and the video corruption.


-- 
Stephen Depooter
<stephend@xandros.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Qemu-devel] SDL window Resize Crash
@ 2009-07-27 14:16 Stephen Depooter
  2009-07-28  6:39 ` Blue Swirl
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Depooter @ 2009-07-27 14:16 UTC (permalink / raw)
  To: qemu-devel


Working with qemu from the stable-0.11 branch, I have seen a crash when trying 
to resize the SDL qemu window smaller.

Resizing the window larger "just" causes video corruption.

This is with qemu-system-arm using the versatilepb board.  However I suspect 
the bug is in the common SDL code.


I haven't been able to track down the issue yet since I have been busy with 
other things, so thought I should report the bug at least and hope that 
someone else will have time to try and track it down.


pl110_draw_line16_lblp_rgb32 (opaque=<value optimized out>, d=0x7f6019218000 
<Address 0x7f6019218000 out of bounds>, src=0x7f6029978000 "",
    width=<value optimized out>, deststep=<value optimized out>) 
at /home/stephend/src/git/qemu/hw/pl110_template.h:257
257             COPY_PIXEL(d, glue(rgb_to_pixel,BITS)(r, g, b));
(gdb) bt
#0  pl110_draw_line16_lblp_rgb32 (opaque=<value optimized out>, 
d=0x7f6019218000 <Address 0x7f6019218000 out of bounds>, 
src=0x7f6029978000 "",
    width=<value optimized out>, deststep=<value optimized out>) 
at /home/stephend/src/git/qemu/hw/pl110_template.h:257
#1  0x000000000048d215 in framebuffer_update_display (ds=0x33e0ee0, 
base=<value optimized out>, cols=640, rows=480,
    src_width=<value optimized out>, dest_row_pitch=2560, dest_col_pitch=0, 
invalidate=1, fn=0x438f10 <pl110_draw_line16_lblp_rgb32>,
    opaque=0x3490318, first_row=0x7fff44331f14, last_row=0x7fff44331f10) 
at /home/stephend/src/git/qemu/hw/framebuffer.c:99
#2  0x0000000000439fae in pl110_update_display (opaque=<value optimized out>) 
at /home/stephend/src/git/qemu/hw/pl110.c:156
#3  0x00000000004eec8b in sdl_refresh (ds=0x33e0ee0) at sdl.c:724
#4  0x000000000040a3de in gui_update (opaque=<value optimized out>) 
at /home/stephend/src/git/qemu/console.h:217
#5  0x000000000040b574 in main_loop_wait (timeout=<value optimized out>) 
at /home/stephend/src/git/qemu/vl.c:1022
#6  0x000000000040f1f2 in main (argc=11, argv=0x7fff44333698, envp=<value 
optimized out>) at /home/stephend/src/git/qemu/vl.c:4346



-- 
Stephen Depooter
<stephend@xandros.com>

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

end of thread, other threads:[~2009-07-28 21:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 21:42 [Qemu-devel] SDL window Resize Crash Stephen Depooter
  -- strict thread matches above, loose matches on Subject: below --
2009-07-27 14:16 Stephen Depooter
2009-07-28  6:39 ` Blue Swirl
2009-07-28 16:51   ` Luiz Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).