All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Avi Kivity <avi@redhat.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] PPC* and Sparc32 crash
Date: Wed, 24 Aug 2011 20:39:49 +0200	[thread overview]
Message-ID: <20110824183949.GC17167@zapo> (raw)
In-Reply-To: <20110824181641.GB17167@zapo>

On Wed, Aug 24, 2011 at 08:16:41PM +0200, Edgar E. Iglesias wrote:
> On Wed, Aug 24, 2011 at 05:49:42PM +0000, Blue Swirl wrote:
> > On Tue, Aug 23, 2011 at 7:19 PM, Edgar E. Iglesias
> > <edgar.iglesias@gmail.com> wrote:
> > > On Tue, Aug 23, 2011 at 06:59:01PM +0100, Peter Maydell wrote:
> > >> On 23 August 2011 18:55, Blue Swirl <blauwirbel@gmail.com> wrote:
> > >> > qemu-system-ppc: /src/qemu/memory.c:1183:
> > >> > memory_region_add_subregion_common: Assertion `!subregion->parent'
> > >> > failed.
> > >> > Aborted
> > >> > qemu-system-ppc64: /src/qemu/memory.c:1183:
> > >> > memory_region_add_subregion_common: Assertion `!subregion->parent'
> > >> > failed.
> > >> > Aborted
> > >> > qemu-system-sparc: /src/qemu/hw/sysbus.c:156:
> > >> > sysbus_register_withprop: Assertion `info->qdev.size >=
> > >> > sizeof(SysBusDevice)' failed.
> > >> > Aborted
> > >> >
> > >> > This is with b861b7419c49ad53e786062b4fbf6da53468f130. Other targets
> > >> > seem to work.
> > >>
> > >> n810 is also broken with a similar assertion to ppc, which I have a
> > >> patch in progress to fix.
> > >
> > > MIPS malta is broken in the same way.
> > 
> > Doesn't crash with these command lines:
> > $ ./obj-amd64/mips-softmmu/qemu-system-mips -bios /dev/null -machine malta
> > $ ./obj-amd64/mipsel-softmmu/qemu-system-mipsel -bios /dev/null -machine malta
> > $ ./obj-amd64/mips64el-softmmu/qemu-system-mips64el -bios /dev/null
> > -machine malta
> > $ ./obj-amd64/mips64-softmmu/qemu-system-mips64 -bios /dev/null -machine malta
> 
> 
> Sorry, forgot the backtrace:

And here is the correct backtrace... :)

(gdb) bt
#0  0x00007ffff5b423a5 in __GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff5b45b0b in __GI_abort () at abort.c:92
#2  0x00007ffff5b3ad4d in __GI___assert_fail (
    assertion=0x5d331e "subregion->parent == mr", file=<optimized out>, 
    line=1236, function=<optimized out>) at assert.c:81
#3  0x0000000000425cf9 in memory_region_del_subregion (mr=<optimized out>, 
    subregion=<optimized out>) at /home/edgar/src/c/qemu/qemu/memory.c:1236
#4  0x00000000005adf17 in gt64120_pci_mapping (s=0x138f650)
    at /home/edgar/src/c/qemu/qemu/hw/gt64xxx.c:293
#5  gt64120_pci_mapping (s=0x138f650)
    at /home/edgar/src/c/qemu/qemu/hw/gt64xxx.c:285
#6  0x00000000004234b0 in access_with_adjusted_size (addr=80, 
    value=0x7fffeef428a8, size=4, access_size_min=<optimized out>, 
    access_size_max=<optimized out>, 
    access=0x4233d0 <memory_region_write_accessor>, opaque=0x1393590)
    at /home/edgar/src/c/qemu/qemu/memory.c:284
#7  0x0000000000424900 in memory_region_write_thunk_n (_mr=0x1393590, addr=80, 
    size=4, data=64) at /home/edgar/src/c/qemu/qemu/memory.c:849
#8  0x0000000040000138 in ?? ()
#9  0x0000000000000000 in ?? ()
(gdb) 

  reply	other threads:[~2011-08-24 18:39 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-23 17:55 [Qemu-devel] PPC* and Sparc32 crash Blue Swirl
2011-08-23 17:59 ` Peter Maydell
2011-08-23 19:19   ` Edgar E. Iglesias
2011-08-24 17:49     ` Blue Swirl
2011-08-24 18:14       ` Edgar E. Iglesias
2011-08-24 18:16       ` Edgar E. Iglesias
2011-08-24 18:39         ` Edgar E. Iglesias [this message]
2011-08-24 19:09           ` [Qemu-devel] [PATCH] gt64xxx: fix crash in gt64120_pci_mapping() Avi Kivity
2011-08-24 19:17             ` Edgar E. Iglesias
2011-08-24 17:54   ` [Qemu-devel] PPC* and Sparc32 crash Blue Swirl
2011-08-24 18:05     ` Peter Maydell
2011-08-24  9:41 ` Avi Kivity
2011-08-24 17:48   ` Blue Swirl
2011-08-24 18:20     ` Avi Kivity
2011-08-24 18:40     ` [Qemu-devel] [PATCH] ppc_oldworld, ppc_newworld: fix escc BAR related crash Avi Kivity
2011-08-24 18:43     ` [Qemu-devel] PPC* and Sparc32 crash Avi Kivity
2011-08-24 19:43       ` Blue Swirl
2011-08-24 19:59         ` Avi Kivity
2011-08-24 20:02           ` Blue Swirl
2011-08-25  4:43             ` Avi Kivity
2011-08-25 17:33               ` Blue Swirl
2011-08-25 19:31                 ` Avi Kivity
2011-08-25 20:17                   ` Blue Swirl

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=20110824183949.GC17167@zapo \
    --to=edgar.iglesias@gmail.com \
    --cc=avi@redhat.com \
    --cc=blauwirbel@gmail.com \
    --cc=peter.maydell@linaro.org \
    --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.