Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend null in epoll during musl CI run #4438

Open
SeanTAllen opened this issue Sep 7, 2023 · 0 comments
Open

Backend null in epoll during musl CI run #4438

SeanTAllen opened this issue Sep 7, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed needs investigation This needs to be looked into before its "ready for work"

Comments

@SeanTAllen
Copy link
Member

During an unrelated CI run, we hit an assertion during the pony_check/multiple_for_all test:

2023-09-07T13:20:38.8846124Z 282 tests started, 281 complete: pony_check/multiple_for_all started
2023-09-07T13:20:38.8851519Z [LWP 4479 exited]
2023-09-07T13:20:38.8873829Z /__w/ponyc/ponyc/src/libponyrt/asio/epoll.c:467: pony_asio_event_unsubscribe: Assertion `b != NULL` failed.
2023-09-07T13:20:38.8874426Z 
2023-09-07T13:20:38.8874550Z Backtrace functionality not available.
2023-09-07T13:20:38.8881455Z [LWP 4480 exited]
2023-09-07T13:20:38.8881752Z 
2023-09-07T13:20:38.8882286Z Thread 4 "stdlib-debug" received signal SIGABRT, Aborted.

from the code:

  asio_backend_t* b = ponyint_asio_get_backend();
  pony_assert(b != NULL);

I suspect this might have happened during shutdown. Otherwise it really makes no sense.

@SeanTAllen SeanTAllen added help wanted Extra attention is needed bug Something isn't working needs investigation This needs to be looked into before its "ready for work" labels Sep 7, 2023
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Sep 7, 2023
@SeanTAllen SeanTAllen removed the discuss during sync Should be discussed during an upcoming sync label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed needs investigation This needs to be looked into before its "ready for work"
Projects
None yet
Development

No branches or pull requests

2 participants