[Issue 10851] Stack trace missing for null object access in module constructor
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 25 21:11:56 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10851
kekeniro2 at yahoo.co.jp changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kekeniro2 at yahoo.co.jp
--- Comment #1 from kekeniro2 at yahoo.co.jp 2013-10-25 21:11:54 PDT ---
I hit this.
Written in core.runtime.d :
static this()
{
// NOTE: Some module ctors will run before this handler is set, so it's
// still possible the app could exit without a stack trace. If
// this becomes an issue, the handler could be set in C main
// before the module ctors are run.
Runtime.traceHandler = &defaultTraceHandler;
}
At least, it had better be changed to 'shared static this'.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list