-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Running the attached zephyr.elf.gz, generated by MWDT, under QEMU casues it to assert.
qemu-system-arc64 -cpu hs6x \
-m 8M \
-nographic \
-no-reboot \
-monitor none \
-global cpu.firq=false \
-global cpu.num-irqlevels=15 \
-global cpu.num-irq=25 \
-global cpu.ext-irq=20 \
-global cpu.freq_hz=10000000 \
-global cpu.timer0=true \
-global cpu.timer1=true \
-global cpu.has-mpu=true \
-global cpu.mpu-numreg=16 \
-net none \
-pidfile qemu.pid \
-chardev stdio,id=con,mux=on \
-serial chardev:con \
-mon chardev=con,mode=readline \
-icount shift=6,align=off,sleep=off \
-rtc clock=vm \
-kernel zephyr.elf
qemu-system-arc64: /src/qemu/master/target/arc/decoder-v3.c:342: arc_find_format_v3: Assertion `mcount != 0' failed.
Aborted
@abrodkin reported a SIGSEGV when using QEMU from the Zephyr SDK.
Thread 3 "qemu-system-arc" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 876949]
0x0000555555b42626 in arc_find_format_v3 ()
(gdb) bt
#0 0x0000555555b42626 in arc_find_format_v3 ()
#1 0x0000555555b0eecf in decode_opc ()
#2 0x0000555555b127ba in arc_tr_translate_insn ()
#3 0x0000555555c1bb49 in translator_loop ()
#4 0x0000555555b12882 in gen_intermediate_code ()
#5 0x0000555555c1a309 in tb_gen_code ()
#6 0x0000555555c14687 in cpu_exec ()
#7 0x0000555555c2cf10 in tcg_cpus_exec ()
#8 0x0000555555c2d7e7 in rr_cpu_thread_fn ()
#9 0x0000555555d8e129 in qemu_thread_start ()
#10 0x00007ffff7836e26 in ?? () from /zephyr-sdk-0.16.1/sysroots/x86_64-pokysdk-linux/lib/libpthread.so.0
#11 0x00007ffff7766ecf in clone () from /zephyr-sdk-0.16.1/sysroots/x86_64-pokysdk-linux/lib/libc.so.6
Metadata
Metadata
Assignees
Labels
No labels