Re: [I] [BUG] System crashing when using IPERF after #16231 [nuttx]

2025-05-10 Thread via GitHub


anchao closed issue #16337: [BUG] System crashing when using IPERF after #16231
URL: https://github.com/apache/nuttx/issues/16337


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



Re: [I] [BUG] System crashing when using IPERF after #16231 [nuttx]

2025-05-08 Thread via GitHub


Fix-Point commented on issue #16337:
URL: https://github.com/apache/nuttx/issues/16337#issuecomment-2862126714

   Hi. Please check if PR(https://github.com/apache/nuttx/pull/16342) can fix 
this?


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



Re: [I] [BUG] System crashing when using IPERF after #16231 [nuttx]

2025-05-07 Thread via GitHub


xiaoxiang781216 commented on issue #16337:
URL: https://github.com/apache/nuttx/issues/16337#issuecomment-2858986166

   @Fix-Point please look at this issue


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



[I] [BUG] System crashing when using IPERF after #16231 [nuttx]

2025-05-07 Thread via GitHub


fdcavalcanti opened a new issue, #16337:
URL: https://github.com/apache/nuttx/issues/16337

   ### Description / Steps to reproduce the issue
   
   Hi all,
   
   The performance tests using IPERF are failing after the PR #16231. This can 
be easily replicated using the `sta_softap` defconfig on any of the following 
targets: ESP32, ESP32S3, ESP32C3 and ESP32C6.
   
   The test connects to WiFi hotspot succesfully, but fails when `iperf -c 
` is called. It affects RISC-V and Xtensa devices, as shown above.
   
   I have tracked the problem using `git bisect` and arrived at this point: 
`sched/wqueue: Change dq to list.` (`9dbb9b49`)
   
   # Steps to reproduce
   Example using ESP32S3:
   - Checkout to `9dbb9b49`
   - `./tools/configure.sh esp32s3-devkit:sta_softap`
   - Enable: `DEBUG_ASSERTIONS`, `SCHED_BACKTRACE`
   - make and flash
   - Connect to WiFi using `wapi essid`, `wapi psk` and `renew`
   - Call `iperf -c `
   
   # Error Log
   
   ```
   nsh> renew wlan0
   nsh> iperf -c 10.42.0.1
IP: 10.42.0.182
   
mode=tcp-client sip=10.42.0.182:5001,dip=10.42.0.1:5001, interval=3, time=30
   [CPU1] xtensa_user_panic: User Exception: EXCCAUSE=001d task: lpwork
   [CPU1] dump_assert_info: Current Version: NuttX  10.4.0 9dbb9b49c6 May  7 
2025 09:34:26 xtensa
   [CPU1] dump_assert_info: Assertion failed user panic: at file: 
common/xtensa_assert.c:190 task(CPU1): lpwork process: Kernel 0x42013690
   [CPU1] up_dump_register:PC: 420348c2PS: 00060d32
   [CPU1] up_dump_register:A0: 82034988A1: 3fcb0e80A2: 3fcab6e0
A3: 3fc9a08c
   [CPU1] up_dump_register:A4: 420258b0A5: 3fc9a054A6: 
A7: 3fcb0e80
   [CPU1] up_dump_register:A8: 820348beA9:    A10:    
A11: 0096
   [CPU1] up_dump_register:   A12: 3fcab708   A13: 00060320   A14: fff2   
A15: 3fcb0e60
   [CPU1] up_dump_register:   SAR: 001f CAUSE: 001d VADDR: 
   [CPU1] up_dump_register:  LBEG: 40056fc5  LEND: 40056fe7  LCNT: 
   [CPU1] dump_stackinfo: User Stack:
   [CPU1] dump_stackinfo:   base: 0x3fcb0070
   [CPU1] dump_stackinfo:   size: 4032
   [CPU1] dump_stackinfo: sp: 0x3fcb0e80
   [CPU1] stack_dump: 0x3fcb0e60:     820349a7 
3fcb0eb0 3fcab6e0 3fc9a08c
   [CPU1] stack_dump: 0x3fcb0e80:  00060d20 0096 3fcb7998 0001 
3c0b01a0 3fc9faf0 3fcb0e90
   [CPU1] stack_dump: 0x3fcb0ea0: 82025920 3fcb0ed0  3fc9a08c 420258b0 
3fc9a054 0096 3fcb0eb0
   [CPU1] stack_dump: 0x3fcb0ec0: 82025c21 3fcb0ef0 3fc9a054 cccd 420258b0 
3fc9a054 0096 3fcb0ed0
   [CPU1] stack_dump: 0x3fcb0ee0: 82043dc9 3fcb0f10 3fc9bf2c 3fc9a054 0003 
3fc996c8  3fcb0ef0
   [CPU1] stack_dump: 0x3fcb0f00: 82043508 3fcb0f40 3fc9bf2c 3fc9a054 82017c49 
3fcb0f40 3fcabaf8 00060d20
   [CPU1] stack_dump: 0x3fcb0f20: 42025b00 0028 3c0b5b1c 3fcb0f10 820435bd 
3fcb0f60 3fc9bf2c 420949f8
   [CPU1] stack_dump: 0x3fcb0f40: 3fc9bf2c 0002 0054 3fcb0f40 82046ad5 
3fcb0f80 3fc9bf2c 42046f78
   [CPU1] stack_dump: 0x3fcb0f60: 3fc9a054  0029 3fcb0f60 82046b1c 
3fcb0fa0 3fc9be3c 00f0
   [CPU1] stack_dump: 0x3fcb0f80: 3fca12b0 0002 fff2 3fcb0f80 82013708 
3fcb0fc0 3fc9be3c 3fcaff58
   [CPU1] stack_dump: 0x3fcb0fa0: 3fc9bf2c 3fc9bf2c 3fca12b0 3fcb0fa0 82014500 
3fcb0fe0  00060120
   [CPU1] stack_dump: 0x3fcb0fc0: 3fc90e38 00060120 3fca1ea4 3fcb0fc0  
3fcb1010 0002 42013690
   [CPU1] stack_dump: 0x3fcb0fe0: 3fcab718 42046afc 3fc9be3c  3fcab6e0 
3fcab710 3fcab708 3fcb0fe0
   [CPU1] stack_dump: 0x3fcb1000:  3fcb1030    
  3fcb1010
   [CPU1] stack_dump: 0x3fcb1020:      
  
   [CPU1] sched_dumpstack: backtrace| 2: 0x42039aac 0x40379a9d 0x40379d40 
0x40379699 0x40379176 0x403750a7 0x420348c2 0x42034988
   [CPU1] sched_dumpstack: backtrace| 2: 0x420349a7 0x42025920 0x42025c21 
0x42043dc9 0x42043508 0x420435bd 0x42046ad5 0x42046b1c
   [CPU1] sched_dumpstack: backtrace| 2: 0x42034988
   [CPU1] dump_fatal_info: Dump CPU0: PAUSED
   [CPU1] up_dump_register:PC: 42093c54PS: 00060b20
   [CPU1] up_dump_register:A0: 8201304cA1: 3fcab680A2: 
A3: 3fc90c00
   [CPU1] up_dump_register:A4: 3fc90e38A5: 00060b20A6: 0004
A7: 3fcab680
   [CPU1] up_dump_register:A8: A9: 3fcc17a0   A10: 3fcc0728   
A11: 3fc98f28
   [CPU1] up_dump_register:   A12: 8037a140   A13: 3fc98f08   A14:    
A15: 3fcc1630
   [CPU1] up_dump_register:   SAR: 0020 CAUSE: 3fcab680 VADDR: 
   [CPU1] up_dump_register:  LBEG: 400556d5  LEND: 400556e5  LCNT: fffe
   [CPU1] dump_stackinfo: User Stack:
   [CPU1] dump_stackinfo:   base: 0x3fcaaaf0
   [CPU1] dump_stackinfo:   size: 3056
   [CPU1] dump_stackinfo: sp: 0x3fcab680
   [CPU1] stack_dump: 0x3fcab660: 3f016400   2000 803751f6 
3fcab6a0