[Issue 14226] invalid Runtime.traceHandler setup

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 24 02:16:07 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=14226

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@kinke updated dlang/druntime pull request #3245 "Fix Issue 14226 - Don't
initialize/overwrite global trace handler with each thread" fixing this issue:

- 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