qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash when running Qemu.


From: Jean-Christophe DUBOIS
Subject: Crash when running Qemu.
Date: Sun, 28 Jun 2020 12:55:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

Hi,

Since the last pull I did this week end on the qemu git tree (master branch) I am unable to "start" qemu anymore (It was working OK from git master previously).

Traces are provided bellow.

Am I the only one to get this behavior?

JC

jcd@jcd-UX305CA:~/Projects/µCOS/work$ ../../qemu/qemu/arm-softmmu/qemu-system-arm -machine mcimx6ul-evk -m 128M -display none -serial stdio -kernel ./OS.elf
double free or corruption (!prev)
Abandon (core dumped)

Running the same command from "gdb" provides the following backtrace.

jcd@jcd-UX305CA:~/Projects/µCOS/work$ gdb ../../qemu/qemu/arm-softmmu/qemu-system-arm
GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ../../qemu/qemu/arm-softmmu/qemu-system-arm...
(gdb) run -machine mcimx6ul-evk -m 128M -display none -serial stdio -kernel ./OS.elf Starting program: ../../qemu/qemu/arm-softmmu/qemu-system-arm -machine mcimx6ul-evk -m 128M -display none -serial stdio -kernel ./OS.elf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff738e700 (LWP 71630)]
double free or corruption (!prev)

Thread 1 "qemu-system-arm" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50    ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
(gdb) where
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff75d8859 in __GI_abort () at abort.c:79
#2  0x00007ffff76433ee in __libc_message
    (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff776d285 "%s\n")
    at ../sysdeps/posix/libc_fatal.c:155
#3  0x00007ffff764b47c in malloc_printerr
    (str=str@entry=0x7ffff776f690 "double free or corruption (!prev)")
    at malloc.c:5347
#4  0x00007ffff764d12c in _int_free
    (av=0x7ffff779eb80 <main_arena>, p=0x5555567a3990, have_lock=<optimized out>) at malloc.c:4317
#5  0x0000555555c906c3 in type_initialize_interface
    (ti=ti@entry=0x5555565b8f40, interface_type=0x555556597ad0, parent_type=0x55555662ca10) at qom/object.c:259
#6  0x0000555555c902da in type_initialize (ti=ti@entry=0x5555565b8f40)
    at qom/object.c:323
#7  0x0000555555c90d20 in type_initialize (ti=0x5555565b8f40)
    at qom/object.c:1028
#8  object_class_foreach_tramp
    (key=<optimized out>, value=0x5555565b8f40, opaque=0x7fffffffdc20)
    at qom/object.c:1016
#9  0x00007ffff7c89058 in g_hash_table_foreach ()
    at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x0000555555c913a5 in object_class_foreach
    (opaque=0x7fffffffdc18, include_abstract=false, implements_type=<optimized out>, fn=0x555555c8f270 <object_class_get_list_tramp>) at qom/object.c:84
#11 object_class_get_list
    (implements_type=implements_type@entry=0x555555fd5e0c "machine", include_abstract=include_abstract@entry=false) at qom/object.c:1095
#12 0x00005555559a2195 in select_machine ()
    at /home/jcd/Projects/qemu/qemu/softmmu/vl.c:3828
#13 qemu_init (argc=<optimized out>, argv=0x7fffffffdef8, envp=<optimized out>)
    at /home/jcd/Projects/qemu/qemu/softmmu/vl.c:3828
#14 0x0000555555856f9d in main
    (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>)
    at /home/jcd/Projects/qemu/qemu/softmmu/main.c:48
(gdb)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]