From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPA2c-0000k8-Iy for qemu-devel@nongnu.org; Sat, 12 Nov 2011 04:38:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPA2b-0006ks-8V for qemu-devel@nongnu.org; Sat, 12 Nov 2011 04:38:26 -0500 Received: from cantor2.suse.de ([195.135.220.15]:50910 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPA2b-0006kk-3f for qemu-devel@nongnu.org; Sat, 12 Nov 2011 04:38:25 -0500 Message-ID: <4EBE3E88.4030109@suse.de> Date: Sat, 12 Nov 2011 10:38:16 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <4EBDD460.10103@suse.de> <4EBE1FBD.3030207@weilnetz.de> In-Reply-To: <4EBE1FBD.3030207@weilnetz.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [TestDays] info mtree abort List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Jan Kiszka , Alexander Graf , qemu-devel Developers , Avi Kivity Am 12.11.2011 08:26, schrieb Stefan Weil: > Am 12.11.2011 03:05, schrieb Andreas F=E4rber: >> On current qemu.git master for qemu-system-x86_64 I observe crashes >> similar to this one when running info mtree on the SDL monitor console= : >> >> *** glibc detected *** >> /home/andreas/QEMU/qemu-rl78/rl78-softmmu/qemu-system-rl78: free(): >> invalid pointer: 0x4545454545454545 *** >> >> #0 0x00007ffff6308d95 in raise () from /lib64/libc.so.6 >> #1 0x00007ffff630a2ab in abort () from /lib64/libc.so.6 >> #2 0x00007ffff6342ece in __libc_message () from /lib64/libc.so.6 >> #3 0x00007ffff6348c06 in malloc_printerr () from /lib64/libc.so.6 >> #4 0x00000000004e9024 in mtree_print_mr (mon_printf=3D0x4ef720 >> , f=3D0xf89b10, mr=3D, level=3D0, base=3D= 0, >> alias_print_queue=3D0x7fffffffd610) >> at /home/andreas/QEMU/qemu-rl78/memory.c:1405 >> #5 0x00000000004ec8b6 in mtree_info (mon_printf=3D0x4ef720 >> , f=3D0xf89b10) at >> /home/andreas/QEMU/qemu-rl78/memory.c:1417 >=20 >=20 > qemu-system-i386 also has the same problem. It does not crash > (so most users won't notice anything going wrong), but Valgrind > shows the bug, too: Stefan, thanks for sharing your valgrind command line. Alex didn't notice the missing initialization for qemu-system-s390x virtio either, so I guess my system (openSUSE 12.1 RC2) must have some stricter default setting... Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg