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

           Summary: Segfault on writeln() from a Fiber
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: danny.are...@gmail.com


--- Comment #0 from Danny Arends <danny.are...@gmail.com> 2011-08-10 03:10:21 
PDT ---
Trying to print floats and doubles from a fiber it fails with a 
segfault, while it is possible to do the same in the main thread. 

The expected output of the attached code file: 
15 
15 
Done 

However I get: 
15 
segfault 

I am using the DMD64 D Compiler v 2.054 on Debian 64 

What am I doing wrong, because using to!string() on the floats and 
double allows me to print them to std.out. 

I however get weird behavior when I try to do math on the floats and 
doubles in the fiber, or when I pass them to C-functions. 

Kind regards, 
Danny

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

Reply via email to