xiaoxiang781216 commented on PR #7318:
URL: https://github.com/apache/incubator-nuttx/pull/7318#issuecomment-1280360728

   @masayuki2009 I try rv-virt:knsh64 with the last mainline:
   ```
   commit 0dfd1f004defb2278bf99e305859a4cbb07675b0
   Author: Alan Carvalho de Assis <acas...@gmail.com>
   Date:   Sun Oct 16 15:59:46 2022 -0300
   
       esp32-devkitc: Add board support to Rotary Encoder
       
       Reviewed-by: Petro Karashchenko <petro.karashche...@gmail.com>
   ```
   The similar crash happen:
   ```
   qemu-system-riscv64 -semihosting -M virt,aclint=on -cpu rv64 -smp 8 -bios 
none -kernel nuttx -nographic
   ABC[    0.005000] up_assert: Assertion failed at file:init/nx_bringup.c 
line: 297 task: Idle Task
   [    0.011000] riscv_registerdump: EPC: 0000000080006bbe
   [    0.015000] riscv_registerdump: A0: 0000000000000000 A1: 0000000080201530 
A2: 0000000010000000 A3: 00000000800155ea
   [    0.025000] riscv_registerdump: A4: 0000000000000001 A5: 0000000000000000 
A6: 000000000000006c A7: 0000000000000068
   [    0.033000] riscv_registerdump: T0: 0000000000000030 T1: 0000000000000009 
T2: 0000000000000020 T3: 000000000000002a
   [    0.042000] riscv_registerdump: T4: 000000000000002e T5: 00000000000001ff 
T6: 000000000000002d
   [    0.050000] riscv_registerdump: S0: 0000000080201530 S1: 0000000080200a58 
S2: 00000000802016a0 S3: 0000000080206b30
   [    0.063000] riscv_registerdump: S4: 0000000000000000 S5: 0000000000000000 
S6: 0000000000000000 S7: 0000000000000000
   [    0.076000] riscv_registerdump: S8: 0000000000000000 S9: 0000000000000000 
S10: 0000000000000000 S11: 0000000000000000
   [    0.084000] riscv_registerdump: SP: 0000000080206b20 FP: 0000000080201530 
TP: 0000000000000000 RA: 0000000080006bbe
   [    0.098000] riscv_dump_stack: IRQ Stack:
   [    0.104000] riscv_dump_stack: sp:     80206b30
   [    0.107000] riscv_dump_stack:   base: 802001f0
   [    0.112000] riscv_dump_stack:   size: 00000800
   [    0.118000] riscv_dump_stack: ERROR: IRQ Stack pointer is not within the 
stack
   [    0.126000] riscv_dump_stack: User Stack:
   [    0.128000] riscv_dump_stack: sp:     80206b30
   [    0.132000] riscv_dump_stack:   base: 80206030
   [    0.136000] riscv_dump_stack:   size: 00000bd0
   [    0.139000] riscv_stackdump: 0000000080206b20: 80201530 00000000 8000672a 
00000000 00000129 00000000 80014930 00000000
   [    0.151000] riscv_stackdump: 0000000080206b40: 00000000 00000000 80200a48 
00000000 802016b4 00000000 802016b8 00000000
   [    0.160000] riscv_stackdump: 0000000080206b60: 00000005 00000000 80004294 
00000000 00000005 00000000 800015ec 00000000
   [    0.165000] riscv_stackdump: 0000000080206b80: 80200a58 00000000 80016400 
00000000 00000005 00000000 8000151e 00000000
   [    0.171000] riscv_stackdump: 0000000080206ba0: 80400000 00000000 00400000 
00000000 00000000 00000000 00000000 00000000
   [    0.185000] riscv_stackdump: 0000000080206bc0: 00000000 00000000 00000000 
00000000 00000000 00000000 80000640 00000000
   [    0.194000] riscv_stackdump: 0000000080206be0: 00000000 00000000 800006ea 
00000000 00000000 00000000 8000004c 00000000
   [    0.204000] riscv_dump_stack: Kernel Stack:
   [    0.208000] riscv_dump_stack: sp:     80206b30
   [    0.210000] riscv_dump_stack:   base: 00000000
   [    0.214000] riscv_dump_stack:   size: 00000c00
   [    0.218000] riscv_dump_stack: ERROR: Kernel Stack pointer is not within 
the stack
   [    0.225000] riscv_showtasks:    PID    PRI     STACK      USED   FILLED   
 COMMAND
   [    0.232000] riscv_showtasks:   ----   ----      2048      2040    99.6%!  
 irq
   [    0.238000] riscv_dump_task:      0      0      3024      1200    39.6%   
 Idle Task
   ```
   Do I need specially setup or rv-virt:knsh64 broken before this patchset?


-- 
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

Reply via email to