tracy icon indicating copy to clipboard operation
tracy copied to clipboard

Crash in HandleSymbolCodeQuery if module is unloaded

Open jkriegshauser opened this issue 5 months ago • 0 comments

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.

jkriegshauser avatar Sep 23 '24 22:09 jkriegshauser