fdcavalcanti commented on PR #18011:
URL: https://github.com/apache/nuttx/pull/18011#issuecomment-3784345819

   Here's the backtrace for C6:
   ```
   dump_tasks:    PID GROUP PRI POLICY   TYPE    NPX STATE   EVENT      SIGMASK 
         STACKBASE  STACKSIZE   COMMAND
   dump_tasks:   ----   --- --- -------- ------- --- ------- ---------- 
---------------- 0x40819380      2048   irq
   dump_task:       0     0   0 FIFO     Kthread -   Ready              
0000000000000000 0x40826e40      2016   Idle_Task
   dump_task:       1     0 100 RR       Kthread -   Running            
0000000000000000 0x40827ab8      1960   lpwork 0x40816320 0x40816368
   dump_task:       2     2 100 RR       Task    -   Waiting Semaphore  
0000000000000000 0x40828668      1976   nsh_main
   dump_task:       3     0 223 RR       Kthread -   Waiting Semaphore  
0000000000000000 0x40828fc0      1984   hr_timer
   dump_task:       4     0 253 RR       Kthread -   Waiting MQ empty   
0000000000000000 0x4082aa58      6600   wifi
   dump_task:       5     0 100 RR       Kthread -   Waiting Semaphore  
0000000000000000 0x408331e8      1960   netdev-wlan0 0x40833060 0
   dump_task:       9     9 100 RR       Task    -   Waiting Semaphore  
0000000000000000 0x408345b8      1928   iperf -c 192.168.0.125 -i 3 -t 10
   dump_task:      10     9 100 RR       pthread -   Waiting Semaphore  
0000000000000000 0x4083a0b0      4064   iperf_traffic 0x42040bba 0x40834c20
   dump_task:      11     9 101 RR       pthread -   Waiting Signal     
0000000000000000 0x4083b0b8      4056   iperf_report 0x42041216 0x40834c20
   
   $ ./tools/btdecode.sh esp32c6 bt
   Backtrace for task 9:
   0x42010620: sys_call0 at syscall.h:161
    (inlined by) up_switch_context at riscv_switchcontext.c:83
   0x40834b90: ?? ??:0
   0x4200caa6: nxsem_wait at sem_wait.c:202
   0x42008a4c: nxsem_wait_uninterruptible at sem_wait.c:314 (discriminator 1)
   0x4202fd58: pthread_join at pthread_join.c:149
   0x4204157c: iperf_start at iperf.c:965
   0x42037ccc: iperf_main at iperf_main.c:325
   0x4200c916: nxtask_startup at task_startup.c:72 (discriminator 1)
   0x420098a6: nxtask_start at task_start.c:72
   
   Backtrace for task 5:
   0x42010620: sys_call0 at syscall.h:161
    (inlined by) up_switch_context at riscv_switchcontext.c:83
   0x40833930: ?? ??:0
   0x4200caa6: nxsem_wait at sem_wait.c:202
   0x420a896e: netdev_upper_loop at netdev_upperhalf.c:816 (discriminator 1)
   0x4200988c: nxtask_start at task_start.c:112
   
   Backtrace for task 4:
   0x42010620: sys_call0 at syscall.h:161
    (inlined by) up_switch_context at riscv_switchcontext.c:83
   0x4082c360: ?? ??:0
   0x42049b68: file_mq_timedreceive_internal at mq_receive.c:195
   0x42049c20: file_mq_receive at mq_receive.c:488
   0x4204ee66: queue_recv_wrapper at esp_wifi_adapter.c:1153
   0x4080c28e: ppTask at ??:?
   
   Backtrace for task 3:
   0x42010620: sys_call0 at syscall.h:161
    (inlined by) up_switch_context at riscv_switchcontext.c:83
   0x40829710: ?? ??:0
   0x4200caa6: nxsem_wait at sem_wait.c:202
   0x42008a4c: nxsem_wait_uninterruptible at sem_wait.c:314 (discriminator 1)
   0x408029cc: esp_hr_timer_thread at esp_hr_timer.c:133 (discriminator 2)
   0x4200988c: nxtask_start at task_start.c:112
   
   Backtrace for task 2:
   0x42010620: sys_call0 at syscall.h:161
    (inlined by) up_switch_context at riscv_switchcontext.c:83
   0x40828ba0: ?? ??:0
   0x4200caa6: nxsem_wait at sem_wait.c:202
   0x4200b9cc: uart_readv at serial.c:1261
   0x42003fdc: file_readv_compat at fs_read.c:116
    (inlined by) file_readv at fs_read.c:221
   0x42004086: nx_readv at fs_read.c:304
   0x420040d0: readv at fs_read.c:369
   0x42004108: read at fs_read.c:404
   0x42010bfc: readline_getc at readline_fd.c:79
   0x42015b74: readline_common at readline_common.c:519
   0x42010cc2: readline_fd at readline_fd.c:238
   0x4201094e: nsh_session at nsh_session.c:233
   0x4201080c: nsh_consolemain at nsh_consolemain.c:81
   0x420107ac: nsh_main at nsh_main.c:82
   0x4200c916: nxtask_startup at task_startup.c:72 (discriminator 1)
   0x420098a6: nxtask_start at task_start.c:72
   
   Backtrace for task 1:
   0x420306ce: sched_backtrace at sched_backtrace.c:104
   0x4200e654: sched_dumpstack at sched_dumpstack.c:71
   0x4200653a: dump_backtrace at assert.c:459
   0x42006dde: nxsched_foreach at sched_foreach.c:69 (discriminator 2)
   0x42006962: dump_fatal_info at assert.c:778
    (inlined by) _assert at assert.c:915
   0x4200c404: __assert at lib_assert.c:39
   0x4201e1cc: psock_send_eventhandler at tcp_send_buffered.c:456
   0x42023268: devif_conn_event at devif_callback.c:438
   0x42021ec4: tcp_callback at tcp_callback.c:310
   0x420a98e6: tcp_poll at tcp_devpoll.c:132
   0x420a90e8: devif_poll_tcp_connections at devif_poll.c:679
    (inlined by) devif_poll_connections at devif_poll.c:951
   0x420a917a: devif_iob_poll at devif_poll.c:1059
    (inlined by) devif_poll at devif_poll.c:1142
   0x420a83a0: netdev_upper_tx at netdev_upperhalf.c:362
    (inlined by) netdev_upper_txavail_work at netdev_upperhalf.c:391
   0x420a83fc: netdev_upper_txavail at netdev_upperhalf.c:887
   0x4201f9a0: netdev_txnotify_dev at netdev_txnotify.c:124
   0x42020ea4: tcp_timer_expiry at tcp_timer.c:159
   0x42007cb2: up_irq_save at irq.h:772
    (inlined by) spin_lock_irqsave_nopreempt at spinlock.h:522
    (inlined by) work_thread at kwork_thread.c:256
   0x4200988c: nxtask_start at task_start.c:112
   
   Backtrace for task 0:
   0x4200fc30: up_idle at esp_idle.c:226
   0x40827590: ?? ??:0
   
   Backtrace for task 10:
   0x42010620: sys_call0 at syscall.h:161
    (inlined by) up_switch_context at riscv_switchcontext.c:83
   0x4083add0: ?? ??:0
   0x4200caa6: nxsem_wait at sem_wait.c:202
   0x42008a4c: nxsem_wait_uninterruptible at sem_wait.c:314 (discriminator 1)
   0x42036de0: iob_allocwait at iob_alloc.c:207
    (inlined by) iob_timedalloc at iob_alloc.c:273
   0x42023682: net_iobtimedalloc at net_lock.c:362
    (inlined by) net_iobtimedalloc at net.h:524
   0x420227d6: tcp_wrbuffer_timedalloc at tcp_wrbuffer.c:103 (discriminator 1)
   0x4201e974: psock_tcp_send at tcp_send_buffered.c:1534 (discriminator 1)
   0x4201c73e: inet_send at inet_sockif.c:1734 (discriminator 1)
    (inlined by) inet_send at inet_sockif.c:1676 (discriminator 1)
   0x4201c8ce: inet_sendmsg at inet_sockif.c:1883
   0x4201bd0a: psock_sendmsg at sendmsg.c:98
   0x4201bac0: psock_sendto at sendto.c:135
   0x4201bb12: sendto at sendto.c:247
   0x4201ba74: send at send.c:164
   0x42040ef4: iperf_tcp_client at iperf.c:806
   0x42040aa6: iperf_run_client at iperf.c:477
   0x42040bee: iperf_task_traffic at iperf.c:873
   0x420324da: pthread_startup at pthread_create.c:61 (discriminator 1)
   0x4204a07e: pthread_start at pthread_create.c:153
   
   Backtrace for task 11:
   0x42010620: sys_call0 at syscall.h:161
    (inlined by) up_switch_context at riscv_switchcontext.c:83
   0x4083bfb0: ?? ??:0
   0x4204a690: clock_nanosleep at sig_nanosleep.c:196
   0x42034f86: sleep at lib_sleep.c:118
   0x420412d8: iperf_report_task at iperf.c:317
   0x420324da: pthread_startup at pthread_create.c:61 (discriminator 1)
   0x4204a07e: pthread_start at pthread_create.c:153
   ```


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