pussuw commented on PR #10857: URL: https://github.com/apache/nuttx/pull/10857#issuecomment-1747361547
Btw, the crash occurs if another process is running, so some kind of bug exists in this case: ``` ville@workpc:~/wpc_toolchain/workspace/nuttx-bare/nuttx$ qemu-system-riscv64 -semihosting -M virt,aclint=on -cpu rv64 -smp 8 -bios none -kernel nuttx -nographic ABC NuttShell (NSH) NuttX-10.4.0 nsh> /system/bin/hello -t & /system/bin/hello [0:100] nsh> Hello world! exit [ 5.843000] _assert: Current Version: NuttX 10.4.0 071fb18501-dirty Oct 4 2023 20:32:52 risc-v [ 5.843000] _assert: Assertion failed : at file: common/riscv_doirq.c:79 task: /system/bin/init 0xc000004a [ 5.843000] up_dump_register: EPC: 0000000080001e5a [ 5.843000] up_dump_register: A0: 0000000080201730 A1: 000000000000004f A2: 0000000000000000 A3: 0000000000000000 [ 5.843000] up_dump_register: A4: 00000000802090c0 A5: 000000008020a540 A6: 0000000000000000 A7: 0000000000000003 [ 5.843000] up_dump_register: T0: 00000000802012f0 T1: 0000000000002000 T2: 0000000000002000 T3: 00000000c0202040 [ 5.843000] up_dump_register: T4: 00000000c0202038 T5: 00000000000000ff T6: 000000000000000f [ 5.843000] up_dump_register: S0: 0000000000000000 S1: 0000000080202098 S2: 0000000080209900 S3: 0000000000000000 [ 5.843000] up_dump_register: S4: 0000000080017ff0 S5: 0000000000044100 S6: 0000000080202098 S7: 000000000000004f [ 5.843000] up_dump_register: S8: 0000000000000000 S9: 0000000000000000 S10: 0000000000000000 S11: 0000000000000000 [ 5.843000] up_dump_register: SP: 0000000080201130 FP: 0000000000000000 TP: 0000000000000000 RA: 0000000080001e5a [ 5.843000] dump_stack: IRQ Stack: [ 5.843000] dump_stack: base: 0x802002b0 [ 5.843000] dump_stack: size: 00004096 [ 5.843000] dump_stack: sp: 0x80201130 [ 5.843000] stack_dump: 0x80201120: 80201130 00000000 80001f72 00000000 deadbeef deadbeef deadbeef deadbeef [ 5.843000] stack_dump: 0x80201140: deadbeef deadbeef deadbeef deadbeef 80209900 00000000 80201730 00000000 [ 5.843000] stack_dump: 0x80201160: 00000000 00000000 80017ff0 00000000 0000004f 00000000 7474754e 00000058 [ 5.843000] stack_dump: 0x80201180: 802098b8 00000000 8000301c 00000000 deadbeef deadbeef deadbeef ffffffff [ 5.843000] stack_dump: 0x802011a0: deadbeef deadbeef 00000000 2e303100 00302e34 00000000 802020a0 00000000 [ 5.843000] stack_dump: 0x802011c0: 37304120 31626631 31303538 7269642d 4f207974 20207463 30322034 32203332 [ 5.843000] stack_dump: 0x802011e0: 32333a30 0032353a 80201328 00000000 0000006e 73697200 00762d63 00000000 [ 5.843000] stack_dump: 0x80201200: 80209da0 00000000 80003dbe 00000000 00000000 00000000 00000000 00000000 [ 5.843000] stack_dump: 0x80201220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 5.843000] stack_dump: 0x80201240: 00000000 00000000 80201328 00000000 0000006e 00000000 80202098 00000000 [ 5.843000] stack_dump: 0x80201260: 80200fe0 00000000 80007516 00000000 00000001 00000000 80000ca8 00000000 [ 5.843000] stack_dump: 0x80201280: 8020af90 00000000 00000000 00000000 00000005 00000000 800009c2 00000000 [ 5.843000] dump_stack: Kernel Stack: [ 5.843000] dump_stack: base: 0 [ 5.843000] dump_stack: size: 00003072 [ 5.843000] dump_stack: User Stack: [ 5.843000] dump_stack: base: 0 [ 5.843000] dump_stack: size: 00000000 [ 5.843000] dump_tasks: PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACKBASE STACKSIZE USED FILLED COMMAND [ 5.843000] dump_tasks: ---- --- --- -------- ------- --- ------- ---------- ---------------- 0x802002b0 4096 4088 99.8%! irq [ 5.843000] dump_task: 0 0 0 FIFO Kthread N-- Ready 0000000000000000 0x80207010 3056 1760 57.5% Idle_Task [ 5.843000] dump_task: 1 1 100 RR Kthread --- Running 0000000000000000 0x8020a050 1968 704 35.7% lpwork 0x80201df0 0x80201e18 [ 5.843000] dump_task: 3 3 100 RR Task --- Waiting Semaphore 0000000000000000 0xc0202040 1984 392 19.7% /system/bin/hello -t ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org