qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] find_prop() assertion failed
@ 2009-06-05 17:45 Luiz Capitulino
  2009-06-05 19:47 ` Alex Williamson
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Capitulino @ 2009-06-05 17:45 UTC (permalink / raw)
  To: paul; +Cc: qemu-devel


 Hi Paul,

 By starting QEMU with the following command:

~/bin/qemu/bin/qemu -hda root_fs-qemu -kernel bzImage -append "root=/dev/sda console=ttyS0,115200 console=tty 4" -monitor telnet:localhost:4555,server -snapshot

 And the running telnet on another terminal:

~/ telnet localhost 4555

 I get 100% of CPU for a while and the following assertion is trigged:

qemu: /home/lcapitulino/src/qemu-qmp/hw/qdev.c:194: find_prop: Assertion `prop->type == type' failed.

 It works if I revert 1431b6a17e6546569e09bcf8fb7773c925658d8f. Stack
backtrace follows (although I'm not sure whether it's needed/helps):

"""
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7bdada0 in raise () from /lib/i686/libc.so.6
#2  0xb7bdc808 in abort () from /lib/i686/libc.so.6
#3  0xb7bd3cde in __assert_fail () from /lib/i686/libc.so.6
#4  0x080f7d14 in find_prop (dev=<value optimized out>, name=0x81afc52 "data", 
#5  0x080f7da6 in qdev_get_prop_ptr (dev=0x97cd4e8, name=0x81afc52 "data")
#6  0x080cf24a in smbus_eeprom_init (dev=0x97cd4e8)
#7  0x080f7957 in qdev_init (dev=0x97cd4e8) at /home/lcapitulino/src/qemu-qmp/hw/qdev.c:113
#8  0x0808b240 in pc_init1 (ram_size=<value optimized out>, boot_device=0x819453a "cad", 
Cannot access memory at address 0x493f
#9  0x08052e27 in main (argc=10, argv=0xbfe09f44, envp=)
"""

-- 
Luiz

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

* Re: [Qemu-devel] find_prop() assertion failed
  2009-06-05 17:45 [Qemu-devel] find_prop() assertion failed Luiz Capitulino
@ 2009-06-05 19:47 ` Alex Williamson
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Williamson @ 2009-06-05 19:47 UTC (permalink / raw)
  To: Luiz Capitulino; +Cc: paul, qemu-devel

On Fri, Jun 5, 2009 at 11:45 AM, Luiz Capitulino <lcapitulino@redhat.com> wrote:
>
>  Hi Paul,
>
>  By starting QEMU with the following command:
>
> ~/bin/qemu/bin/qemu -hda root_fs-qemu -kernel bzImage -append "root=/dev/sda console=ttyS0,115200 console=tty 4" -monitor telnet:localhost:4555,server -snapshot
>
>  And the running telnet on another terminal:
>
> ~/ telnet localhost 4555
>
>  I get 100% of CPU for a while and the following assertion is trigged:
>
> qemu: /home/lcapitulino/src/qemu-qmp/hw/qdev.c:194: find_prop: Assertion `prop->type == type' failed.
>
>  It works if I revert 1431b6a17e6546569e09bcf8fb7773c925658d8f. Stack
> backtrace follows (although I'm not sure whether it's needed/helps):

Yep, me too.  I can't figure out any incantation of qemu-system-x86_64
that works with this patch.

Alex

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

end of thread, other threads:[~2009-06-05 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-05 17:45 [Qemu-devel] find_prop() assertion failed Luiz Capitulino
2009-06-05 19:47 ` Alex Williamson

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).