qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: paul@codesourcery.com
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] find_prop() assertion failed
Date: Fri, 5 Jun 2009 14:45:07 -0300	[thread overview]
Message-ID: <20090605144507.2b12f0d8@redhat.com> (raw)


 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

             reply	other threads:[~2009-06-05 17:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-05 17:45 Luiz Capitulino [this message]
2009-06-05 19:47 ` [Qemu-devel] find_prop() assertion failed Alex Williamson

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=20090605144507.2b12f0d8@redhat.com \
    --to=lcapitulino@redhat.com \
    --cc=paul@codesourcery.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).