http://d.puremagic.com/issues/show_bug.cgi?id=6376



--- Comment #6 from kenn...@gmail.com 2011-07-25 10:52:50 PDT ---
Actually my initial guess is right. The bug is due to corruption of the
Throwable object -- in particular its classinfo -- from the
defaultTraceHandler. 

Using this:

    extern (C) void rt_setTraceHandler(Throwable.TraceInfo function(void*
ptr));
    void main() {
        rt_setTraceHandler(null);
        // rest of main

makes the segfault go away (and the stack trace too).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to