[Issue 5289] New: std.conv.parse!double() results in a segmentation fault.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 29 03:30:00 PST 2010


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

           Summary: std.conv.parse!double() results in a segmentation
                    fault.
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: jmdavisProg at gmx.com


--- Comment #0 from Jonathan M Davis <jmdavisProg at gmx.com> 2010-11-29 03:28:32 PST ---
This program

import std.conv;
import std.stdio;

void main()
{
    writeln(parse!double("1.0"));
}


results in a segfault. In fact, _every_ value that I've tried to parse to a
double or a float has resulted in a segfault. Maybe there are some that work,
but I haven't found them, and the ones that I need to work don't.

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