yf13 commented on PR #12812:
URL: https://github.com/apache/nuttx/pull/12812#issuecomment-2261819515

   I tried this patch set locally but `vfork_test()` got `illegal instruction` 
exception:
   
   ```
   user_main: vfork() test
   riscv_exception: EXCEPTION: Illegal instruction. MCAUSE: 00000002, EPC: 
80203a40, MTVAL: 00000000
   riscv_exception: PANIC!!! Exception = 00000002
   _assert: Current Version: NuttX  12.4.0 d4f7a40037-dirty Aug  1 2024 
09:52:17 risc-v
   _assert: Assertion failed panic: at file: :0 task: leaks process: leaks 
0x8004ace4
   up_dump_register: EPC: 80203a40
   up_dump_register: A0: 00000000 A1: 00000000 A2: 00000000 A3: 00000000
   up_dump_register: A4: 00000000 A5: 00000000 A6: 00000000 A7: 00000000
   up_dump_register: T0: 00000000 T1: 00000000 T2: 00000000 T3: 00000000
   up_dump_register: T4: 00000000 T5: 00000000 T6: 00000000
   up_dump_register: S0: 80202f00 S1: 00000000 S2: 00000000 S3: 00000000
   up_dump_register: S4: 00000000 S5: 00000000 S6: 00000000 S7: 00000000
   up_dump_register: S8: 00000000 S9: 00000000 S10: 00000000 S11: 00000000
   up_dump_register: SP: 80204850 FP: 80202f00 TP: 00000000 RA: 80203a40
   dump_stack: User Stack:
   dump_stack:   base: 0x80203d78
   dump_stack:   size: 00002984
   dump_stack:     sp: 0x80204850
   stack_dump: 0x80204830: 00000000 00000000 00000000 00000000 00000000 
00000bb0 80202f00 80203a40
   stack_dump: 0x80204850: 80202da0 80202da4 80203a60 8005220a 00000000 
00000019 80203a60 00000000
   stack_dump: 0x80204870: 80202da0 8004ace4 80203a80 80051072 0007a000 
80203a80 80203a80 0a052342
   stack_dump: 0x80204890: 0007a000 8004ace4 80203ac0 8004ad28 000ff3c4 
00000001 00000012 000fc4f8
   stack_dump: 0x802048b0: 00002ecc 000fc4f8 00005e48 00000000 00000000 
00000000 00000000 00000000
   stack_dump: 0x802048d0: 801030b8 8004ace4 80203ae0 800400ba 00000000 
00000000 00000005 80202f10
   stack_dump: 0x802048f0: 00000000 00000000 80203af0 80006fb4 00000000 
00000000 80203b00 80006fb4
   stack_dump: 0x80204910: 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000
   dump_tasks:    PID GROUP PRI POLICY   TYPE    NPX STATE   EVENT      SIGMASK 
         STACKBASE  STACKSIZE      USED   FILLED    COMMAND
   dump_tasks:   ----   --- --- -------- ------- --- ------- ---------- 
---------------- 0x80100980      2048       836    40.8%    irq
   dump_task:       0     0   0 FIFO     Kthread - Ready              
0000000000000000 0x80102010      2032       656    32.2%    Idle_Task
   dump_task:       1     1 100 RR       Task    - Waiting Semaphore  
0000000000000000 0x80201000      3024      2076    68.6%    nsh_main
   dump_task:      12    12  50 RR       Task    - Waiting Semaphore  
0000000000000000 0x802020f8      3032      1164    38.3%    leaks
   dump_task:      13    13 100 RR       Task    - Waiting Semaphore  
0000000000000000 0x80202f50      2992      1212    40.5%    leaks Arg1 Arg2 
Arg3 Arg4
   dump_task:      14    14 100 RR       Task    - Running            
0000000000000000 0x80203d78      2984       624    20.9%    leaks Arg1 Arg2 
Arg3 Arg4
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to