[Issue 3208] New: setAssertHandler leads to segfault
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jul 24 23:52:51 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3208
Summary: setAssertHandler leads to segfault
Product: D
Version: 2.030
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: druntime
AssignedTo: sean at invisibleduck.org
ReportedBy: lutger.blijdestijn at gmail.com
The following code produces a segmentation fault. If compiled with -g this does
not occur.
import core.exception;
void handleAssertion(string file, size_t line, string msg = null) {};
static this()
{
setAssertHandler( &handleAssertion );
}
void main()
{
assert(false);
}
--
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