[Issue 14226] invalid Runtime.traceHandler setup
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 24 06:14:16 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=14226
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #3245 "Fix Issue 14226 - Don't initialize/overwrite
global trace handler with each thread" was merged into master:
- afd2d6bbd678e51cd5794e55fea16b7ab6793ab5 by Martin Kinkelin:
Fix Issue 14226 - Don't initialize/overwrite global trace handler with each
thread
Instead, initialize it once as part of rt_init().
Keep it as a module ctor instead of manually initializing it in
rt_init() because `defaultTraceHandler` might depend on other modules
and their module ctors; that's the case for Windows, where generating a
trace requires the core.sys.windows.stacktrace module ctor to be run
first.
https://github.com/dlang/druntime/pull/3245
--
More information about the Digitalmars-d-bugs
mailing list