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

   ### Description / Steps to reproduce the issue
   
   Hi folks,
   
   I've tracked commit 
https://github.com/apache/nuttx/commit/b8e30b54ec9c3092cb44394cdb6a4958dd6d3b42 
(fs/vfs: Separate file descriptors from file descriptions) from #16499 to an 
issue on Espressif's CI.
   
   Our QEMU tests on ESP32-C3 started failing on "ps" command.
   
   Here's where it stops:
   ```
   [...]
   Attempting to boot anyway...
   entry 0x4038383c
   *** Booting NuttX ***
   dram: lma 0x00000020 vma 0x3fc83c10 len 0x788    (1928)
   iram: lma 0x000007b0 vma 0x40380000 len 0x3c04   (15364)
   padd: lma 0x000043c8 vma 0x00000000 len 0xbc30   (48176)
   imap: lma 0x00010000 vma 0x42000000 len 0x1ee54  (126548)
   padd: lma 0x0002ee5c vma 0x00000000 len 0x119c   (4508)
   dmap: lma 0x00030000 vma 0x3c020000 len 0xbce0   (48352)
   total segments stored 6
   rtc_init(dbg): not burn core voltage in efuse or burn wrong voltage value in 
chip version: 03
   ABC
   NuttShell (NSH) NuttX-10.4.0
   nsh> ps
     PID GROUP PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK            
STACK COMMAND
       0     0   0 FIFO     Kthread   - Ready              0000000000000000 
0002032 Idle_Task
       1     1 100 RR       Task      - Running            0000000000000000
   ```
   
   I suspect something related to `DEBUG_ASSERTIONS`, but was not able to dig 
deeper.
   
   And to reproduce:
   
   - Checkout to said commit
   - ./tools/configure.sh esp32c3-generic:ostest
   - Enable: `CONFIG_ESPRESSIF_MERGE_BINS`, `CONFIG_DEBUG_FEATURES`, 
`CONFIG_DEBUG_ASSERTIONS`
   - make
   - Run QEMU with: `qemu-system-riscv32 -nographic -icount 3 -machine esp32c3 
-drive file=nuttx.merged.bin,if=mtd,format=raw`
   - Call `ps`
   
   Can we take a look at this?
   I'm available to run any tests required.
   
   Thanks!
   
   ### On which OS does this issue occur?
   
   [OS: Linux]
   
   ### What is the version of your OS?
   
   Mint 22.1
   
   ### NuttX Version
   
   master
   
   ### Issue Architecture
   
   [Arch: risc-v]
   
   ### Issue Area
   
   [Area: Debugging]
   
   ### Host information
   
   _No response_
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to