8000 Segfault during SIGTERM handling · Issue #1633 · coturn/coturn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Segfault during SIGTERM handling #1633

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

Open
yzabalotski opened this issue Jan 20, 2025 · 0 comments
Open

Segfault during SIGTERM handling #1633

yzabalotski opened this issue Jan 20, 2025 · 0 comments

Comments

@yzabalotski
Copy link
yzabalotski commented Jan 20, 2025

SIGTERM causes main thread to exit, atexit callbacks are triggered (OPENSSL_cleanup is among them) while another threads might concurrently call openssl functions (e.g. RAND_bytes).

It can be fixed by:

  1. disable openssl atexit cleanup call
  2. join all threads

While the issue doesn't do much harm, it hides real problems and produces additional noize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0