Re: [I] [BUG] Premature exit of a process will cause the group to be released ahead of schedule. [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:20251202" rel="nofollow">Tue, 02 Dec 2025 03:22:15 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> anchao commented on issue #17418: URL: <a rel="nofollow" href="https://github.com/apache/nuttx/issues/17418#issuecomment-3601532636">https://github.com/apache/nuttx/issues/17418#issuecomment-3601532636</a></pre><pre> > > [@anchao](<a rel="nofollow" href="https://github.com/anchao">https://github.com/anchao</a>) do you have method to fix this issue? or let [@husong2](<a rel="nofollow" href="https://github.com/husong2">https://github.com/husong2</a>) revert your patch first. > > Have you guys run this demo on the community code? I tested it locally and it worked fine. > > ``` > nsh> hello > a_thread_func entry > a_thread_func entry 2222 > Test FAILED: Did not detach the thread, main still waiting for it to end execution. > Test PASSED > Test PASSED 2222 > ``` > > Furthermore, the back reference design of the tcb group is flawless because all threads maintain a linked list reference count for tg_members, and the group's lifecycle is also maintained by this count. I suspect your issue only manifests in internal branches, right? Please check if you have changed the group logic. also verified on qemu arm64 <img width="693" height="407" alt="Image" src="<a rel="nofollow" href="https://github.com/user-attachments/assets/6cc596c6-5a9d-4f6e-bc32-4233a603b841"">https://github.com/user-attachments/assets/6cc596c6-5a9d-4f6e-bc32-4233a603b841"</a>; /> -- 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 </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg148201.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#148202">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#148202">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg148206.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg148194.html">[I] [BUG] <title>Premature exit of a process will cause t...</a></span> <span class="sender italic">via GitHub</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg148195.html">Re: [I] [BUG] <title>Premature exit of a process wil...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg148196.html">Re: [I] [BUG] <title>Premature exit of a process wil...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg148201.html">Re: [I] [BUG] <title>Premature exit of a process wil...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email tSliceCur"><span class="subject">Re: [I] [BUG] <title>Premature exit of a process wil...</span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg148206.html">Re: [I] [BUG] <title>Premature exit of a process wil...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg148210.html">Re: [I] [BUG] <title>Premature exit of a process wil...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg148246.html">Re: [I] [BUG] Premature exit of a process will cause the g...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg148247.html">Re: [I] [BUG] Premature exit of a process will cause the g...</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="Re: [I] [BUG] <title>Premature exit of a process will cause the group to be released ahead of schedule. [nuttx]"> <input type="hidden" name="msgid" value="I_kwDODZiUac7bmcn3-df6e4336-1f32-4ff3-9d6a-448bc706f2c9@gitbox.apache.org"> <input type="hidden" name="relpath" value="commits@nuttx.apache.org/msg148202.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:%22Re%5C%3A+%5C%5BI%5C%5D+%5C%5BBUG%5C%5D+%3Ctitle%3EPremature+exit+of+a+process+will+cause+the+group+to+be+released+ahead+of+schedule.+%5C%5Bnuttx%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg148201.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg148206.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_kwDODZiUac7bmcn3-df6e4336-1f32-4ff3-9d6a-448bc706f2c9@gitbox.apache.org</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9aa79fcffe18e910',t:'MTc2NTE0ODI3MA=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>