comejv commented on issue #16689:
URL: https://github.com/apache/nuttx/issues/16689#issuecomment-3049368662

   Here is my config: 
   
[config_h7_fs_debug.txt](https://github.com/user-attachments/files/21124434/config_h7_fs_debug.txt)
   
   And the diff (excluding comments vs empty):
   [diff.txt](https://github.com/user-attachments/files/21124566/diff.txt)
   
   I added the DEBUG_FS flag and now `ps` does not even run once:
   ```shell
   nsh> uname -a
   NuttX 0.0.0 1df6aa92-dirty Jan  1 1980 00:00:00 arm nucleo-h743zi
   nsh> mount -t procfs /proc
   nx_mount: found procfs
   nsh> ps
     PID GROUP PRI Pprocfs_opendir: relpath: ""
   procfs_open: Open '0/status'
   proc_open: Open '0/status'
   procfs_read: buffer=0x38000d28 buflen=511
   proc_read: buffer=0x38000d28 buflen=511
   procfs_read: buffer=0x38000dc2 buflen=357
   proc_read: buffer=0x38000dc2 buflen=357
   Oprocfs_open: Open '0/stack'
   proc_open: Open '0/stack'
   procfs_read: buffer=0x38000dc3 buflen=356
   proc_read: buffer=0x38000dc3 buflen=356
   procfs_read: buffer=0x38000e02 buflen=293
   proc_read: buffer=0x38000e02 buflen=293
   procfs_open: Open '0/cmdline'
   proc_open: Open '0/cmdline'
   procfs_read: buffer=0x38000dc3 buflen=356
   proc_read: buffer=0x38000dc3 buflen=356
   procfs_read: buffer=0x38000dcd buflen=346
   proc_read: buffer=0x38000dcd buflen=346
   LIprocfs_open: Open '1/status'
   proc_open: Open '1/status'
   procfs_read: buffer=0x38000d28 buflen=511
   proc_read: buffer=0x38000d28 buflen=511
   procfs_read: buffer=0x38000dc0 buflen=359
   proc_read: buffer=0x38000dc0 buflen=359
   Cprocfs_open: Open '1/stack'
   proc_open: Open '1/stack'
   procfs_read: buffer=0x38000dc1 buflen=358
   proc_read: buffer=0x38000dc1 buflen=358
   procfs_read: buffer=0x38000e00 buflen=295
   proc_read: buffer=0x38000e00 buflen=295
   procfs_open: Open '1/cmdline'
   proc_open: Open '1/cmdline'
   procfs_read: buffer=0x38000dc1 buflen=358
   proc_read: buffer=0x38000dc1 buflen=358
   dump_assert_info: Current Version: NuttX  0.0.0 1df6aa92-dirty Jan  1 1980 
00:00:00 arm
   dump_assert_info: Assertion failed panic: at file: :0 task: nsh_mainH 
process: nsh_mainT 0x801a4dd
   up_dump_register: R0: 5f68736e R1: ffffffff R2: 380007b4  R3: 5f68736e
   up_dump_register: R4: 080162e5 R5: 08023388 R6: 00000000  FP: 00000000
   up_dump_register: R8: 00000000 SB: 00000000 SL: 00000000 R11: 00000000
   up_dump_register: IP: 00000000 SP: 38000670 LR: 08005ff7  PC: 08006a44
   up_dump_register: xPSR: a1000000 BASEPRI: 00000080 CONTROL: 00000000
   up_dump_register: EXC_RETURN: ffffffe9
   dump_stackinfo: User Stack:
   dump_stackinfo:   base: 0x380002c8
   dump_stackinfo:   size: 167772160
   dump_stackinfo:     sp: 0x38000670
   ```
   Followed by an infinite stack dump.


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