Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLSF doesn't work with rv-virt/knsh64 #12291

Open
yf13 opened this issue May 6, 2024 · 1 comment
Open

TLSF doesn't work with rv-virt/knsh64 #12291

yf13 opened this issue May 6, 2024 · 1 comment

Comments

@yf13
Copy link
Contributor

yf13 commented May 6, 2024

Reproducing

Similar to that of issue #12209, but using latest master from Nuttx upstream.

QEMU is still 6.2 but OpenSBI firmware is v1.0, as the default v0.9 is no longer supported but latest S-mode.

Crash info:

(gdb) bt
#0  _assert (filename=filename@entry=0x8021ce90 "/home/yf/Projects/Nuttx/nuttx/arch/risc-v/src/common/riscv_pgalloc.c", linenum=<optimized out>, msg=0x0, regs=0x80401390 <g_last_regs>, regs@entry=0x0) at /home/yf/Projects/Nuttx/nuttx/sched/misc/assert.c:544
#1  0x0000000080202d50 in __assert (filename=filename@entry=0x8021ce90 "/home/yf/Projects/Nuttx/nuttx/arch/risc-v/src/common/riscv_pgalloc.c", linenum=<optimized out>, msg=<optimized out>) at /home/yf/Projects/Nuttx/nuttx/libs/libc/assert/lib_assert.c:36
#2  0x00000000802135a6 in pgalloc (brkaddr=<optimized out>, npages=<optimized out>) at /home/yf/Projects/Nuttx/nuttx/arch/risc-v/src/common/riscv_pgalloc.c:125
#3  0x0000000080209c6a in dispatch_syscall () at /home/yf/Projects/Nuttx/nuttx/arch/risc-v/src/common/riscv_swint.c:76
Backtrace stopped: frame did not save the PC

As code base changed, this is booked to track it rather than reopening 12209.

@xiaoxiang781216
Copy link
Contributor

it's a different problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants