bombela / backward-cpp

A beautiful stack trace pretty printer for C++
MIT License
3.78k stars 480 forks source link

SymInitialize/SymLoadModule64 are single threaded #186

Open TrianglesPCT opened 4 years ago

TrianglesPCT commented 4 years ago

These functions are called every time a Printer is constructed, but according to MSDN they are single threaded and not safe to call from multiple threads.

The docs also state SymInitialize should be matched with a call to SymCleanup, and that is best to just call SymInitialize once on startup.