LibBSD | libbsd kqueue TCP peer close/reset notifications appear to be lost, maybe due to absence of NOTE_EOF? (#69)

Chris Johns (@chris) gitlab at rtems.org
Sun Mar 29 22:45:28 UTC 2026




Chris Johns commented: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/69#note_147373


I see different results for this test:

```
assertion "n == (ssize_t) ctx->rn" failed: file "../../testsuite/selectpollkqueue01/test_main.c", line 201, function: worker_task
```

Adding print statement of `n` and `cts-rn` changed the result to:

```
workeassertion "event.flags == EV_EOF" failed: file "../../testsuite/selectpollkqueue01/test_main.c", line 1139, function: test_kqueue_close
```

I am concerned about this test if a simple print statement changes the out come?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/69#note_147373
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260329/656d191f/attachment.htm>


More information about the bugs mailing list