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

Crash in HandleSymbolCodeQuery if module is unloaded #888

Open
jkriegshauser opened this issue Sep 23, 2024 · 0 comments
Open

Crash in HandleSymbolCodeQuery if module is unloaded #888

jkriegshauser opened this issue Sep 23, 2024 · 0 comments

Comments

@jkriegshauser
Copy link
Contributor

We have a heavily modularized application. When running with privileges to get sys-tracing, the query backlog can grow quite high.

The shutdown order looks something like:

  1. Unload most modules.
  2. Unload our profiling-tracy module (blocks until tracy::ShutdownProfiler() returns)
  3. Unload the rest of our modules
  4. Exit application

Unfortunately, if a SymbolCodeQuery query is processed for a module that unloaded, we usually end up in the CrashHandler and the application is hung at this point.

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