[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] PPC* and Sparc32 crash
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-devel] PPC* and Sparc32 crash |
Date: |
Wed, 24 Aug 2011 20:39:49 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
> > <address@hidden> wrote:
> > > On Tue, Aug 23, 2011 at 06:59:01PM +0100, Peter Maydell wrote:
> > >> On 23 August 2011 18:55, Blue Swirl <address@hidden> 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)
- [Qemu-devel] PPC* and Sparc32 crash, Blue Swirl, 2011/08/23
- Re: [Qemu-devel] PPC* and Sparc32 crash, Peter Maydell, 2011/08/23
- Re: [Qemu-devel] PPC* and Sparc32 crash, Edgar E. Iglesias, 2011/08/23
- Re: [Qemu-devel] PPC* and Sparc32 crash, Blue Swirl, 2011/08/24
- Re: [Qemu-devel] PPC* and Sparc32 crash, Edgar E. Iglesias, 2011/08/24
- Re: [Qemu-devel] PPC* and Sparc32 crash, Edgar E. Iglesias, 2011/08/24
- Re: [Qemu-devel] PPC* and Sparc32 crash,
Edgar E. Iglesias <=
- [Qemu-devel] [PATCH] gt64xxx: fix crash in gt64120_pci_mapping(), Avi Kivity, 2011/08/24
- Re: [Qemu-devel] [PATCH] gt64xxx: fix crash in gt64120_pci_mapping(), Edgar E. Iglesias, 2011/08/24
Re: [Qemu-devel] PPC* and Sparc32 crash, Blue Swirl, 2011/08/24
Re: [Qemu-devel] PPC* and Sparc32 crash, Avi Kivity, 2011/08/24