shtirlic commented on PR #16301: URL: https://github.com/apache/nuttx/pull/16301#issuecomment-2847357863
@jlaitine oops, without SMP on rp2350 ``` user_main: signal handler test sighand_test: Initializing semaphore to 0 sighand_test: Unmasking SIGCHLD sighand_test: Registering SIGCHLD handler sighand_test: Starting waiter task sighand_test: Started waiter_main pid=78 waiter_main: Waiter started waiter_main: Unmasking signal 32 waiter_main: Registering signal handler waiter_main: oact.sigaction=0 oact.sa_flags=0 oact.sa_mask=0000000000000000 waiter_main: Waiting on semaphore sighand_test: Signaling pid=78 with signo=32 sigvalue=42 waiter_main: sem_wait() successfully interrupted by signal waiter_main: done sighand_test: done End of test memory usage: VARIABLE BEFORE AFTER ======== ======== ======== arena 72cc0 72cc0 ordblks 6 4 mxordblk 31238 31238 uordblks 41790 417c8 fordblks 31530 314f8 user_main: nested signal handler test signest_test: Starting signal waiter task at priority[ 113.520000] [ ALERT] ostest: arm_hardfault: Hard Fault escalation: [ 113.520000] [ ALERT] ostest: arm_usagefault: PANIC!!! Usage Fault: [ 113.520000] [ ALERT] ostest: arm_usagefault: IRQ: 3 regs: 0x20055350 [ 113.520000] [ ALERT] ostest: arm_usagefault: BASEPRI: 00000080 PRIMASK: 00000000 IPSR: 00000003 CONTROL: 00000000 [ 113.520000] [ ALERT] ostest: arm_usagefault: CFSR: 00020000 HFSR: 40000000 DFSR: 00000000 BFAR: e000ed38 AFSR: 00000000 [ 113.520000] [ ALERT] ostest: arm_usagefault: Usage Fault Reason: [ 113.520000] [ ALERT] ostest: arm_usagefault: Invalid state [ 113.520000] [ ALERT] ostest: dump_assert_info: Current Version: NuttX 12.9.0 921c3364ad May 2 2025 21:26:50 arm [ 113.520000] [ ALERT] ostest: dump_assert_info: Assertion failed panic: at file: :0 task: ostest process: ostest 0x100af001 [ 113.520000] [ ALERT] ostest: up_dump_register: R0: 00000001 R1: 00000000 R2: 200552d0 R3: 00000000 [ 113.520000] [ ALERT] ostest: up_dump_register: R4: 00000000 R5: 00000000 R6: 00000000 FP: 20053350 [ 113.520000] [ ALERT] ostest: up_dump_register: R8: 00000000 SB: 00000000 SL: 00000000 R11: 00000000 [ 113.520000] [ ALERT] ostest: up_dump_register: IP: 00000000 SP: 200553a0 LR: 10017d21 PC: 00000000 [ 113.520000] [ ALERT] ostest: up_dump_register: xPSR: 00000000 BASEPRI: 00000080 CONTROL: 00000000 [ 113.520000] [ ALERT] ostest: up_dump_register: EXC_RETURN: fffffffd [ 113.520000] [ ALERT] ostest: dump_stackinfo: User Stack: [ 113.520000] [ ALERT] ostest: dump_stackinfo: base: 0x20053460 [ 113.520000] [ ALERT] ostest: dump_stackinfo: size: 00008176 [ 113.520000] [ ALERT] ostest: dump_stackinfo: sp: 0x200553a0 [ 113.520000] [ ALERT] ostest: stack_dump: 0x20055380: 00000001 00000000 200552d0 00000000 00000000 10017d21 00000000 00000000 [ 113.520000] [ ALERT] ostest: stack_dump: 0x200553a0: 00ffffff 00000000 00000000 66010000 2000e2fc 20053350 00000000 2004ebc0 [ 113.520000] [ ALERT] ostest: stack_dump: 0x200553c0: 200553dc 00000080 00053350 00000000 000553d8 20053350 200553e0 1002f721 [ 113.520000] [ ALERT] ostest: stack_dump: 0x200553e0: 20053450 2000e2f4 00000000 20053450 200553f8 1002d653 deadbeef 00000000 [ 113.520000] [ ALERT] ostest: stack_dump: 0x20055400: 20055408 1002f639 00000000 2000e2f4 00000004 fffffffc 20055420 100af01d [ 113.520000] [ ALERT] ostest: stack_dump: 0x20055420: 00000000 00000000 20055430 1003690b 00000000 100af001 20055440 1001b48d [ 113.520000] [ ALERT] ostest: stack_dump: 0x20055440: 00000000 20053350 00000000 00000000 00000000 00000000 00000000 00000000 [ 113.520000] [ ALERT] ostest: dump_tasks: PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACKBASE STACKSIZE USED FILLED CPU COMMAND [ 113.520000] [ ALERT] ostest: dump_tasks: ---- --- --- -------- ------- --- ------- ---------- ---------------- 0x20008f70 2048 1524 74.4% ---- irq [ 113.520000] [ ALERT] ostest: dump_task: 0 0 0 FIFO Kthread - Ready 0000000000000000 0x2000ef4c 1008 560 55.5% 93.1% Idle_Task [ 113.520000] [ ALERT] ostest: dump_task: 1 0 224 RR Kthread - Waiting Semaphore 0000000000000000 0x2000f850 1984 368 18.5% 0.0% hpwork 0x200071e0 0x20007210 [ 113.520000] [ ALERT] ostest: dump_task: 2 0 100 RR Kthread - Waiting Semaphore 0000000000000000 0x20010150 1984 368 18.5% 0.0% lpwork 0x2000722c 0x2000725c [ 113.520000] [ ALERT] ostest: dump_task: 83 8 102 RR pthread - Running 0000000000000000 0x20053460 8176 756 9.2% 0.0% ostest 0x100af001 0 [ 113.520000] [ ALERT] ostest: dump_task: 4 4 100 RR Task - Waiting Signal 0000000000000000 0x20011d08 16344 5324 32.5% 6.3% atom_shell_main [ 113.520000] [ ALERT] ostest: dump_task: 5 5 100 RR Task - Waiting Signal 0000000000000000 0x20015d08 2016 1956 97.0%! 0.0% nsh [ 113.520000] [ ALERT] ostest: dump_task: 6 0 50 RR Kthread - Waiting Signal 0000000000000000 0x20049fc0 2000 1024 51.2% 0.0% picocalc_kbd_poll [ 113.520000] [ ALERT] ostest: dump_task: 7 7 100 RR Task - Waiting Signal 0000000000000000 0x2004d9f0 4064 1052 25.8% 0.0% ostest [ 113.520000] [ ALERT] ostest: dump_task: 8 8 100 RR Task - Ready 0000000000000000 0x2004ee08 8120 1132 13.9% 0.5% ostest Arg1 Arg2 Arg3 Arg4 [ 113.520000] [ ALERT] ostest: dump_task: 79 8 101 RR pthread - Waiting Semaphore 0000000000000000 0x20050dd8 8176 564 6.8% 0.0% ostest 0x100aeeb9 0 [ 113.520000] [ ALERT] ostest: sched_dumpstack: backtrace| 0: 0x10042d68 0x2000f324 [ 113.520000] [ ALERT] ostest: sched_dumpstack: backtrace| 1: 0x1001df9e 0xdeadbeef [ 113.520000] [ ALERT] ostest: sched_dumpstack: backtrace| 2: 0x1001df9e 0xdeadbeef [ 113.520000] [ ALERT] ostest: sched_dumpstack: backtrace| 4: 0x1001f91a [ 113.520000] [ ALERT] ostest: sched_dumpstack: backtrace| 5: 0x1001f91a [ 113.520000] [ ALERT] ostest: sched_dumpstack: backtrace| 6: 0x1001f91a [ 113.520000] [ ALERT] ostest: sched_dumpstack: backtrace| 7: 0x1001f91a [ 113.520000] [ ALERT] ostest: sched_dumpstack: backtrace| 8: 0x1001d47e 0x20050c50 [ 113.520000] [ ALERT] ostest: sched_dumpstack: backtrace|79: 0x1001df9e ``` -- 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