All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Abort in monitor_puts.
@ 2013-03-22  9:17 KONRAD Frédéric
  2013-03-22 20:50 ` Luiz Capitulino
  0 siblings, 1 reply; 6+ messages in thread
From: KONRAD Frédéric @ 2013-03-22  9:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: Anthony Liguori, fred.konrad

[-- 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 --]

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

end of thread, other threads:[~2013-03-25 20:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-22  9:17 [Qemu-devel] Abort in monitor_puts KONRAD Frédéric
2013-03-22 20:50 ` 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

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.