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: s...@invisibleduck.org
        ReportedBy: lutger.blijdest...@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: -------

Reply via email to