From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwIMk-00056J-Nb for qemu-devel@nongnu.org; Wed, 24 Aug 2011 14:39:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwIMj-0005R4-MX for qemu-devel@nongnu.org; Wed, 24 Aug 2011 14:39:54 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:56643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwIMj-0005Qv-I1 for qemu-devel@nongnu.org; Wed, 24 Aug 2011 14:39:53 -0400 Received: by fxbb27 with SMTP id b27so1363826fxb.4 for ; Wed, 24 Aug 2011 11:39:52 -0700 (PDT) Date: Wed, 24 Aug 2011 20:39:49 +0200 From: "Edgar E. Iglesias" Message-ID: <20110824183949.GC17167@zapo> References: <20110823191932.GA32250@zapo> <20110824181641.GB17167@zapo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110824181641.GB17167@zapo> Subject: Re: [Qemu-devel] PPC* and Sparc32 crash List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Peter Maydell , Avi Kivity , qemu-devel 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 > > wrote: > > > On Tue, Aug 23, 2011 at 06:59:01PM +0100, Peter Maydell wrote: > > >> On 23 August 2011 18:55, Blue Swirl 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=, line=1236, function=) at assert.c:81 #3 0x0000000000425cf9 in memory_region_del_subregion (mr=, subregion=) 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=, access_size_max=, access=0x4233d0 , 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)