You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by "raiden00pl (via GitHub)" <gi...@apache.org> on 2026/08/26 10:29:38 UTC

[PR] tests: fix race in GdbController gcore tests [nuttx-ntfc]

raiden00pl opened a new pull request, #17:
URL: https://github.com/apache/nuttx-ntfc/pull/17

   The gcore tests wrote the "Saved corefile" and GCORE_MARKER reply lines into the pipe before calling generate_coredump().  If the reader thread consumed those lines before generate_coredump() reset _gcore_done and _last_corefile, the reset discarded them and the wait timed out, returning None (seen as a flaky CI failure on the Python 3.14 job).
   
   Feed the reply via a proc.stdin.write side effect triggered by the GCORE_MARKER echo command instead, so it arrives only after the controller has issued the gcore command -- mirroring real gdb and making the ordering deterministic.
   


-- 
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: dev-unsubscribe@nuttx.apache.org

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


Re: [PR] tests: fix race in GdbController gcore tests [nuttx-ntfc]

Posted by "raiden00pl (via GitHub)" <gi...@apache.org>.
raiden00pl commented on PR #17:
URL: https://github.com/apache/nuttx-ntfc/pull/17#issuecomment-5474877189

   ping @xiaoxiang781216 @jerpelea @acassis @cederom 


-- 
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: dev-unsubscribe@nuttx.apache.org

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


Re: [PR] tests: fix race in GdbController gcore tests [nuttx-ntfc]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #17:
URL: https://github.com/apache/nuttx-ntfc/pull/17


-- 
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: dev-unsubscribe@nuttx.apache.org

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