Summary: setAssertHandler leads to segfault
           Product: D
           Version: 2.030
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime

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() 

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to