Am 12.11.2011 08:26, schrieb Stefan Weil: > Am 12.11.2011 03:05, schrieb Andreas Färber: >> 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=0x4ef720 >> <monitor_printf>, f=0xf89b10, mr=<optimized out>, level=0, base=0, >> alias_print_queue=0x7fffffffd610) >> at /home/andreas/QEMU/qemu-rl78/memory.c:1405 >> #5 0x00000000004ec8b6 in mtree_info (mon_printf=0x4ef720 >> <monitor_printf>, f=0xf89b10) at >> /home/andreas/QEMU/qemu-rl78/memory.c:1417 > > > 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 -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg