Skip to content

Instantly share code, notes, and snippets.

@hanetzer
Created April 7, 2022 10:50
Show Gist options
  • Save hanetzer/25ce1c72d5e6e56ec211cb0c8eb39d19 to your computer and use it in GitHub Desktop.
Save hanetzer/25ce1c72d5e6e56ec211cb0c8eb39d19 to your computer and use it in GitHub Desktop.
(gdb) run
Starting program: /home/hanetzer/Projects/qemu/build/qemu-system-arm -M rsdm290e -nographic
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff2397640 (LWP 100910)]
Thread 1 "qemu-system-arm" received signal SIGSEGV, Segmentation fault.
0x0000555555cb6d26 in cpu_get_address_space (cpu=cpu@entry=0x5555569882e0, asidx=0) at ../softmmu/physmem.c:769
769 return cpu->cpu_ases[asidx].as;
(gdb) thread apply all bt
Thread 2 (Thread 0x7ffff2397640 (LWP 100910) "qemu-system-arm"):
#0 0x00007ffff58f410a in clock_nanosleep () at /lib64/libc.so.6
#1 0x00007ffff58f89f3 in nanosleep () at /lib64/libc.so.6
#2 0x00007ffff6e6e6f0 in g_usleep () at /usr/lib64/libglib-2.0.so.0
#3 0x0000555555f11030 in call_rcu_thread (opaque=opaque@entry=0x0) at ../util/rcu.c:253
#4 0x0000555555f07719 in qemu_thread_start (args=<optimized out>) at ../util/qemu-thread-posix.c:556
#5 0x00007ffff58a8dea in () at /lib64/libc.so.6
#6 0x00007ffff592ce70 in clone () at /lib64/libc.so.6
Thread 1 (Thread 0x7ffff239ac00 (LWP 100906) "qemu-system-arm"):
#0 0x0000555555cb6d26 in cpu_get_address_space (cpu=cpu@entry=0x5555569882e0, asidx=0) at ../softmmu/physmem.c:769
#1 0x0000555555b7f78a in arm_boot_address_space (info=0x5555564ce540 <rsdm290e_binfo>, cpu=0x5555569882e0) at ../hw/arm/boot.c:59
#2 arm_load_kernel (cpu=0x5555569882e0, ms=0x5555567b96e0, info=0x5555564ce540 <rsdm290e_binfo>) at ../hw/arm/boot.c:1294
#3 0x0000555555993ff0 in machine_run_board_init (machine=0x5555567b96e0) at ../hw/core/machine.c:1187
#4 0x00005555558eace3 in qemu_init_board () at ../softmmu/vl.c:2656
#5 qmp_x_exit_preconfig (errp=<optimized out>) at ../softmmu/vl.c:2746
#6 0x00005555558ee86c in qmp_x_exit_preconfig (errp=<optimized out>) at ../softmmu/vl.c:2741
#7 qemu_init (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at ../softmmu/vl.c:3776
#8 0x00005555558879d9 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at ../softmmu/main.c:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment