[Issue 8391] New: Segmentation fault (core dumped) with std.write

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 15 12:30:26 PDT 2012


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

           Summary: Segmentation fault (core dumped) with std.write
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: iteronvexor at gmail.com


--- Comment #0 from Caligo <iteronvexor at gmail.com> 2012-07-15 12:30:25 PDT ---
---------------8<---------------8<---------------
double f2(double[double] data) {
  writeln(data);
  return 1.0;
}

void f1(double[double] data) {
  writef("%s %s", 1.5, f2(data));
}

void main() {

  f1([1:10]);
}
--------------->8--------------->8---------------

compiling and running this on 64-bit GNU/Linux with DMD 2.060beta gives:

Segmentation fault (core dumped)

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