www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6018] New: Multiple includes of std.parallelism causes DMD to segfault.

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6018

           Summary: Multiple includes of std.parallelism causes DMD to
                    segfault.
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: jcrapuchettes gmail.com



10:42:54 PDT ---
If a project includes several files and each has a private import of
std.parallelism, DMD will segfault. If the imports are moved to a single public
import, the compilation will finish correctly.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 16 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6018


David Simcha <dsimcha yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsimcha yahoo.com



Can you elaborate a little?  I haven't been seeing this.  Specifically, have
you been compiling all the files together or separately?  Can you create a
small test case?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 16 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6018




09:18:52 PDT ---
Created an attachment (id=978)
DMD2 -v output

I just tried to create a simple test case, but couldn't get it to break. I am
including the output from DMD with -v. As you can see all of the files were
compiled together. I did notice, after commenting out one file, that DMD always
died just after outputting "function this". This makes me wonder if it has some
connection to

auto varPool = taskPool.workerLocalStorage(new ThreadStore());

but that isn't based on actual evidence.


I hope this helps a little. I would be happy to send you the files privately,
but I can't post them as they belong to the company I work for.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 17 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6018


Jonathan Crapuchettes <jcrapuchettes gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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