[I] [BUG] nxffs test [nuttx]</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=commits@nuttx.apache.org&q=from:%22via+GitHub%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">via GitHub</span></span></a></span> <span class="date"><a href="/search?l=commits@nuttx.apache.org&q=date:20250612" rel="nofollow">Thu, 12 Jun 2025 23:49:29 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> github-xiaodong opened a new issue, #16528: URL: <a rel="nofollow" href="https://github.com/apache/nuttx/issues/16528">https://github.com/apache/nuttx/issues/16528</a></pre><pre> ### Description / Steps to reproduce the issue 1. Using an AArch64-based SoC with SPI interface to control a W25-series Flash (e.g., W25Q128). 2. The following functions are called in sequence: w25_initialize() (SPI Flash driver initialization) nxffs_initialize() (NXFFS filesystem setup) nx_mount() (mounting the filesystem) 3. Nxffs test config as follow CONFIG_TESTING_NXFFS_NEBLOCKS=32 CONFIG_TESTING_NXFFS_MAXNAME=24 CONFIG_TESTING_NXFFS_MAXFILE=1024 CONFIG_TESTING_NXFFS_MAXIO=347 CONFIG_TESTING_NXFFS_MAXOPEN=32 CONFIG_TESTING_NXFFS_MOUNTPT="/mnt/w25a" CONFIG_TESTING_NXFFS_NLOOPS=2 4. Running nxffs command in shell ### On which OS does this issue occur? [OS: Linux] ### What is the version of your OS? Ubuntu22.04 ### NuttX Version release 12.4 ### Issue Architecture [Arch: arm64] ### Issue Area [Area: File System] ### Host information After executing nxffs operations, there is a probabilistic occurrence where: The first file is successfully created and written with data. However, the file fails to be detected during nxffs_directory scanning. Consequently, subsequent calls to nxffs_rdfile result in the error: ```ERROR: Failed to open file for reading: 2``` Through repeated testing, we've confirmed this file loss exclusively affects the first created file. ![Image](<a rel="nofollow" href="https://github.com/user-attachments/assets/0cc2dbf3-6706-4703-b483-e7111c99c41a">https://github.com/user-attachments/assets/0cc2dbf3-6706-4703-b483-e7111c99c41a</a>) ![Image](<a rel="nofollow" href="https://github.com/user-attachments/assets/c936d7ab-3353-4df5-b158-d93265265e89">https://github.com/user-attachments/assets/c936d7ab-3353-4df5-b158-d93265265e89</a>) ### 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 </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg139616.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#139617">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#139617">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg139620.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email tSliceCur"><span class="subject">[I] [BUG] <title> nxffs test [nuttx]</span> <span class="sender italic">via GitHub</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg139620.html">Re: [I] [BUG] <title> nxffs test [nuttx]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg139634.html">Re: [I] [BUG] <title> nxffs test [nuttx]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg139738.html">Re: [I] [BUG] <title> nxffs test [nuttx]</a></span> <span class="sender italic">via GitHub</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="[I] [BUG] <title> nxffs test [nuttx]"> <input type="hidden" name="msgid" value="I_kwDODZiUac67Tkox@gitbox.apache.org"> <input type="hidden" name="relpath" value="commits@nuttx.apache.org/msg139617.html"> <input type="submit" value=" via GitHub "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="commits@nuttx.apache.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search commits"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/commits@nuttx.apache.org/">commits - all messages</a></li> <li class="icons-about"><a href="/commits@nuttx.apache.org/info.html">commits - about the list</a></li> <li class="icons-expand"><a href="/search?l=commits@nuttx.apache.org&q=subject:%22%5C%5BI%5C%5D+%5C%5BBUG%5C%5D+%3Ctitle%3E+nxffs+test+%5C%5Bnuttx%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg139616.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg139620.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">I_kwDODZiUac67Tkox@gitbox.apache.org</li> </ul> </div> </body> </html>