From: David Buchanan <d@vidbuchanan.co.uk>
To: Gerd Hoffmann <kraxel@redhat.com>, qemu-devel@nongnu.org
Cc: P J P <ppandit@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2] vga: stop passing pointers to vga_draw_line* functions
Date: Mon, 9 Oct 2017 14:09:06 +0100 [thread overview]
Message-ID: <6ceac427-3cdb-56f3-1a53-0639562ddd10@vidbuchanan.co.uk> (raw)
In-Reply-To: <1507553788.32088.12.camel@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 2232 bytes --]
On 09/10/17 13:56, Gerd Hoffmann wrote:
> How do you start
> qemu? Which user interface?
Like this:
qemu-system-x86_64 -vga cirrus [disk image]
(which I assume is using the GTK interface)
I have attached the reproducer NASM source and disk image.
Note that the reproducer is using VBE.
> Have you seen a stacktrace with pixman in there? Care to share it?
#0 0x00007fffe1c2bf61 in () at /usr/lib/libpixman-1.so.0
#1 0x00007fffe1c385db in () at /usr/lib/libpixman-1.so.0
#2 0x00007fffe1c38991 in () at /usr/lib/libpixman-1.so.0
#3 0x00007fffe1c6eb7c in () at /usr/lib/libpixman-1.so.0
#4 0x00007fffe1c2aca1 in pixman_image_composite32 () at
/usr/lib/libpixman-1.so.0
#5 0x0000555555be5630 in gd_switch (dcl=0x555557e088b0,
surface=0x555556d76ac0) at /tmp/qemu/ui/gtk.c:628
#6 0x0000555555bb216a in dpy_gfx_replace_surface (con=0x5555569718d0,
surface=0x555556d76ac0)
at /tmp/qemu/ui/console.c:1552
#7 0x000055555580aab6 in vga_draw_graphic (s=0x5555576de2c0,
full_update=0x1) at /tmp/qemu/hw/display/vga.c:1561
#8 0x000055555580b388 in vga_update_display (opaque=0x5555576de2c0) at
/tmp/qemu/hw/display/vga.c:1756
#9 0x0000555555bae64d in graphic_hw_update (con=0x5555569718d0) at
/tmp/qemu/ui/console.c:263
#10 0x0000555555be50f8 in gd_refresh (dcl=0x555557e088b0) at
/tmp/qemu/ui/gtk.c:493
#11 0x0000555555bb22a8 in dpy_refresh (s=0x5555577b05c0) at
/tmp/qemu/ui/console.c:1589
#12 0x0000555555bae362 in gui_update (opaque=0x5555577b05c0) at
/tmp/qemu/ui/console.c:201
#13 0x0000555555d20445 in timerlist_run_timers
(timer_list=0x555556928210) at /tmp/qemu/util/qemu-timer.c:536
#14 0x0000555555d204a2 in qemu_clock_run_timers
(type=QEMU_CLOCK_REALTIME) at /tmp/qemu/util/qemu-timer.c:547
#15 0x0000555555d208fe in qemu_clock_run_all_timers () at
/tmp/qemu/util/qemu-timer.c:662
#16 0x0000555555d21125 in main_loop_wait (nonblocking=0x0) at
/tmp/qemu/util/main-loop.c:521
#17 0x0000555555926553 in main_loop () at /tmp/qemu/vl.c:1995
#18 0x000055555592e793 in main (argc=0x4, argv=0x7fffffffe218,
envp=0x7fffffffe240) at /tmp/qemu/vl.c:4902
#19 0x00007fffdc663f6a in __libc_start_main () at /usr/lib/libc.so.6
#20 0x000055555577394a in _start ()
Thanks.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: poc.asm --]
[-- Type: text/x-asm; name="poc.asm", Size: 303 bytes --]
BITS 16
ORG 0x7C00
mov ax, 0x4F02
mov bx, 0x4118 ; 1024x768x24, LFB enabled
int 0x10 ; init VESA graphics via BIOS
mov dx, 0x3d4
mov al, 0x1d
out dx, al
mov dx, 0x3d5
in al, dx
or al, 0x80
out dx, al
jmp $
TIMES 510-($-$$) DB 0
DW 0xAA55 ; boot signature
[-- Attachment #3: poc.img --]
[-- Type: application/x-raw-disk-image, Size: 512 bytes --]
prev parent reply other threads:[~2017-10-09 13:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-28 12:29 [Qemu-devel] [PATCH v2] vga: stop passing pointers to vga_draw_line* functions Gerd Hoffmann
2017-10-09 11:55 ` David Buchanan
2017-10-09 12:56 ` Gerd Hoffmann
2017-10-09 13:09 ` David Buchanan [this message]
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=6ceac427-3cdb-56f3-1a53-0639562ddd10@vidbuchanan.co.uk \
--to=d@vidbuchanan.co.uk \
--cc=kraxel@redhat.com \
--cc=ppandit@redhat.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 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.