[Issue 4854] New: writefln Segmentation fault if no globals

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 11 14:30:17 PDT 2010


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

           Summary: writefln Segmentation fault if no globals
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Mac OS X
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: alexibu at mac.com


--- Comment #0 from Alex Burton <alexibu at mac.com> 2010-09-11 14:29:49 PDT ---
Hi,

I have dmd version 2.048, OS X 10.5.8

If I compile this :

import std.stdio;
int main()
{
    writefln("%d",0);
    return 0;
}

with "dmd file.d"

and then run it

I get segmentation fault in writefln

if I then compile this :

import std.stdio;
int x;
int main()
{
    writefln("%d",0);
    return 0;
}

and run it, it works.

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