qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Depooter <stephend@xandros.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] SDL window Resize Crash
Date: Mon, 27 Jul 2009 10:16:23 -0400	[thread overview]
Message-ID: <200907271016.23581.stephend@xandros.com> (raw)


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>

             reply	other threads:[~2009-07-27 14:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-27 14:16 Stephen Depooter [this message]
2009-07-28  6:39 ` [Qemu-devel] SDL window Resize Crash Blue Swirl
2009-07-28 16:51   ` Luiz Capitulino
  -- strict thread matches above, loose matches on Subject: below --
2009-07-28 21:42 Stephen Depooter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200907271016.23581.stephend@xandros.com \
    --to=stephend@xandros.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).