[Issue 12395] New: Program segfaults despite being entirely within SafeD

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 17 18:52:20 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12395

           Summary: Program segfaults despite being entirely within SafeD
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dspies at ualberta.ca


--- Comment #0 from David Spies <dspies at ualberta.ca> 2014-03-17 18:52:17 PDT ---
I've annotated every class and function with @safe, but my program is still
segfaulting and I can't figure out why or where.  I've tried compiling under
both v2.065 and v2.066-devel-f17dfa3

My understanding is that method-calls to @safe functions are guaranteed by the
compiler not to segfault, so that means this the result of a DMD bug, yes? 
Please let me know if I misunderstood @safe.

(compile with -main -unittest)

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


More information about the Digitalmars-d-bugs mailing list