masayuki2009 commented on PR #6302:
URL: https://github.com/apache/incubator-nuttx/pull/6302#issuecomment-1134159173

   @zhuyanlinzyl 
   
   >Testing in qemu esp32 with ostest with fputest
   
   I noticed that crash happened with esp32-devkitc:smp on qemu.
   
   ```
   NuttShell (NSH) NuttX-10.1.0
   nsh>  
   nsh> uname -a
   NuttX 10.1.0 e69c4ee637 May 23 2022 13:14:14 xtensa esp32-devkitc
   nsh> mount
     /proc type procfs
   nsh> ps
     PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK  
 USED  FILLED COMMAND
       0     0   0   0 FIFO     Kthread N-- Assigned           00000000 003040 
000696  22.8%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Running            00000000 003040 
000432  14.2%  CPU1 IDLE
       2     2   0 100 RR       Task    --- Running            00000000 003024 
001592  52.6%  nsh_main
   
   ...
   
   nsh> ostest
   stdio_test: write fd=1
   stdio_test: Standard I/O Check: printf
   stdio_test: write fd=2
   stdio_test: Standard I/O Check: fprintf to stderr
   ostest_main: putenv(Variable1=BadValue3)
   ostest_main: setenv(Variable1, GoodValue1, TRUE)
   ostest_main: setenv(Variable2, BadValue1, FALSE)
   ostest_main: setenv(Variable2, GoodValue2, TRUE)
   ostest_main: setenv(Variable3, Variable3, FALSE)
   ostest_main: setenv(Variable3, Variable3, FALSE)
   show_variable: Variable=Variable1 has value=GoodValue1
   show_variable: Variable=Variable2 has value=GoodValue2
   show_variable: Variable=Variable3 has value=GoodValue3
   ostest_main: Started user_main at PID=24
   ...
   
   user_main: FPU test
   Starting task FPU#1
   fpu_test: Started task FPU#1 at PID=25
   [CPU1] xtensa_user_panic: User Exception: EXCCAUSE=0020 task: FPU#1
   [CPU1] xtensa_dumpstate: CPU1:
   [CPU1] xtensa_registerdump:    PC: 400e10b4    PS: 00060030
   [CPU1] xtensa_registerdump:    StartingA task F0PU#2
   : 800d37eb    A1: 3ffe59d0    A2: 3ffb2308    A3: 00000000
   pCPU1] xtensa_registfpu_etest: Srtarted dtask FPuU#2 at mPID=26
        A4: 00000000    A5: 00000001    A6: 00000002    A7: 0000000FPU#02: pass
   1
   [CPU1] xtensa_registerdump:    A8: 800e10b4    A9: 3ffe59b0   A10: 00000000  
 A11: 00000001
   [CPU1] xtensa_registerdump:   A12: 00060020   A13: 00000014   A14: 00000001  
 A15: 00060723
   [CPU1] xtensa_registerdump:   SAR: 0000001f CAUSE: 00000020 VADDR: 00000000
   [CPU1] xtensa_registerdump:  LBEG: 00000000  LEND: 00000000  LCNT: 00000000
   [CPU1] xtensa_dumpstate: sp:     3ffb1460
   [CPU1] xtensa_dumpstate: IRQ stack:
   [CPU1] xtensa_dumpstate:   base: 3ffb0d00
   [CPU1] xtensa_dumpstate:   size: 00000800
   [CPU1] xtensa_dumpstate:   used: 000002f0
   [CPU1] xtensa_stackdump: 3ffb1460: 00060723 3ffb14c0 00000020 3ffe58f8 
000007e0 3ffb1480 00000008 3ffb42a8
   [CPU1] xtensa_stackdump: 3ffb1480: 3ffafeb0 3ffb1500 3ffb0d00 3ffe5280 
800d4d32 3ffb14c0 00000020 3ffe58f8
   [CPU1] xtensa_stackdump: 3ffb14a0: 3f400210 00000020 3ffaff30 00000002 
40080879 3ffb14e0 00000020 3ffe58f8
   [CPU1] xtensa_stackdump: 3ffb14c0: 800d1f16 3ffe5990 00060020 00000001 
00040023 3ffb1500 00000000 3ffe5960
   [CPU1] xtensa_stackdump: 3ffb14e0: 800e10b4 3ffe59b0 00000000 00000001 
deadbeef deadbeef deadbeef deadbeef
   [CPU1] xtensa_dumpstate: sp:     3ffe59d0
   ```
   


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