qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: QEMU-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] segfault with VNC and --enable-debug
Date: Mon, 16 May 2011 18:16:39 +0100	[thread overview]
Message-ID: <BANLkTimXtPZ2fWsYu-6+MXwwVyKzTpjSYQ@mail.gmail.com> (raw)

Hi,

I found a segfault when I use VNC with qemu compiled with
--enable-debug. Without debug mode, that works fine. The segfault
happen usualy when the debian (guest) is ready to be used, or a little
bit after I'm logged in, in console mode.

Here is few detail:

HEAD
711c212 Merge remote-tracking branch 'stefanha/trivial-patches' into staging

# Configured with: '../configure' '--target-list=i386-softmmu'
'--enable-trace-backend=stderr' '--enable-debug'

Run with:
~/work/qemu/_build-noxen/i386-softmmu/qemu -name debian -vnc
0.0.0.0:0,to=99 -sdl -boot order=c -smp 2,maxcpus=3 -net
nic,vlan=0,macaddr=00:16:3e:26:42:7d,model=rtl8139 -net
tap,vlan=0,ifname=tap8.0,script=no -m 512 -drive
file=/root/vm/vm.img,if=ide,index=0,media=disk,format=raw

And the backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x91fdce94 in ?? ()
(gdb) bt
#0  0x91fdce94 in ?? ()
#1  0x0811f3a5 in vnc_refresh_server_surface (vd=0x8b3f720) at
/local/home/anthony/work/qemu/ui/vnc.c:2419
#2  0x0811f572 in vnc_refresh (opaque=0x8b3f720) at
/local/home/anthony/work/qemu/ui/vnc.c:2453
#3  0x08138ce1 in qemu_run_timers (clock=0x89647d8) at
/local/home/anthony/work/qemu/qemu-timer.c:608
#4  0x08139081 in qemu_run_all_timers () at
/local/home/anthony/work/qemu/qemu-timer.c:726
#5  0x081d7daa in main_loop_wait (nonblocking=1) at
/local/home/anthony/work/qemu/vl.c:1336
#6  0x081d7e65 in main_loop () at /local/home/anthony/work/qemu/vl.c:1377
#7  0x081dca68 in main (argc=18, argv=0xbffff684, envp=0xbffff6d0) at
/local/home/anthony/work/qemu/vl.c:3289
(gdb) up
#1  0x0811f3a5 in vnc_refresh_server_surface (vd=0x8b3f720) at
/local/home/anthony/work/qemu/ui/vnc.c:2419
2419                    if (!test_and_clear_bit((x / 16), vd->guest.dirty[y]))

Regards,

-- 
Anthony PERARD

                 reply	other threads:[~2011-05-16 17:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=BANLkTimXtPZ2fWsYu-6+MXwwVyKzTpjSYQ@mail.gmail.com \
    --to=anthony.perard@citrix.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).