All of lore.kernel.org
 help / color / mirror / Atom feed
From: "KONRAD Frédéric" <fred.konrad@greensocs.com>
To: qemu-devel <qemu-devel@nongnu.org>
Cc: Anthony Liguori <aliguori@us.ibm.com>, fred.konrad@greensocs.com
Subject: [Qemu-devel] Abort in monitor_puts.
Date: Fri, 22 Mar 2013 10:17:58 +0100	[thread overview]
Message-ID: <514C21C6.3070800@greensocs.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2875 bytes --]

Hi,

Seems there is an issue with the current git (found by toddf on IRC).

To reproduce:

./qemu-system-x86_64 --monitor stdio --nographic

and put "?" it should abort.

Here is the backtrace:

#0  0x00007f77cd347935 in raise () from /lib64/libc.so.6
#1  0x00007f77cd3490e8 in abort () from /lib64/libc.so.6
#2  0x00007f77cd3406a2 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007f77cd340752 in __assert_fail () from /lib64/libc.so.6
#4  0x00007f77d1c1f226 in monitor_puts (mon=<optimized out>,
     str=<optimized out>) at 
/home/konradf/Bureau/test-qemu/qemu/monitor.c:297
#5  monitor_puts (mon=0x7f77d2bb10f0, str=
     0x7fff8780b106 " qcow2.  The -n flag requests QEMU\n\t\t\tto reuse 
the image found in new-image-file, instead of\n\t\t\trecreating it from 
scratch.\n")
     at /home/konradf/Bureau/test-qemu/qemu/monitor.c:292
#6  0x00007f77d1c201b6 in monitor_vprintf (mon=0x7f77d2bb10f0,
     fmt=<optimized out>, ap=<optimized out>)
     at /home/konradf/Bureau/test-qemu/qemu/monitor.c:322
#7  0x00007f77d1c203d4 in monitor_printf (mon=mon@entry=0x7f77d2bb10f0,
     fmt=fmt@entry=0x7f77d1d13a63 "%s%s %s -- %s\n")
     at /home/konradf/Bureau/test-qemu/qemu/monitor.c:329
#8  0x00007f77d1c21b07 in help_cmd_dump (name=<optimized out>,
     prefix=<optimized out>, cmds=<optimized out>, mon=<optimized out>)
     at /home/konradf/Bureau/test-qemu/qemu/monitor.c:732
#9  help_cmd (mon=0x7f77d2bb10f0, name=<optimized out>)
     at /home/konradf/Bureau/test-qemu/qemu/monitor.c:742
#10 0x00007f77d1c256b9 in handle_user_command 
(mon=mon@entry=0x7f77d2bb10f0,
     cmdline=<optimized out>)
---Type <return> to continue, or q <return> to quit---
     at /home/konradf/Bureau/test-qemu/qemu/monitor.c:3985
#11 0x00007f77d1c25a5e in monitor_command_cb (mon=0x7f77d2bb10f0,
     cmdline=<optimized out>, opaque=<optimized out>)
     at /home/konradf/Bureau/test-qemu/qemu/monitor.c:4601
#12 0x00007f77d1b8fa4b in readline_handle_byte (rs=0x7f77d2bb1560,
     ch=<optimized out>) at readline.c:373
#13 0x00007f77d1c25787 in monitor_read (opaque=<optimized out>,
     buf=<optimized out>, size=<optimized out>)
     at /home/konradf/Bureau/test-qemu/qemu/monitor.c:4587
#14 0x00007f77d1b7d76d in qemu_chr_be_write (len=<optimized out>, buf=
     0x7fff8780c200 "\rL03", s=0x7f77d2ba88a0) at qemu-char.c:160
#15 fd_chr_read (chan=<optimized out>, cond=<optimized out>, opaque=
     0x7f77d2ba88a0) at qemu-char.c:767
#16 0x00007f77d10ba825 in g_main_context_dispatch ()
    from /lib64/libglib-2.0.so.0
#17 0x00007f77d1b56c39 in glib_pollfds_poll () at main-loop.c:187
#18 os_host_main_loop_wait (timeout=<optimized out>) at main-loop.c:207
#19 main_loop_wait (nonblocking=<optimized out>) at main-loop.c:443
#20 0x00007f77d1a3cd15 in main_loop () at vl.c:2038
#21 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>)
     at vl.c:4424

Fred.

[-- Attachment #2: Type: text/html, Size: 4091 bytes --]

             reply	other threads:[~2013-03-22  9:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-22  9:17 KONRAD Frédéric [this message]
2013-03-22 20:50 ` [Qemu-devel] Abort in monitor_puts Luiz Capitulino
2013-03-22 21:39   ` Luiz Capitulino
2013-03-25  7:42     ` Gerd Hoffmann
2013-03-25 11:56       ` Luiz Capitulino
2013-03-25 20:11         ` Gerd Hoffmann

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=514C21C6.3070800@greensocs.com \
    --to=fred.konrad@greensocs.com \
    --cc=aliguori@us.ibm.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.