www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8507] New: (Regression 2.060) rdmd hangs and mutex failures

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

           Summary: (Regression 2.060) rdmd hangs and mutex failures
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: alex lycus.org



CEST ---
(There's no rdmd component, so...)

I don't know if this bug exists on other platforms, but on Linux (x86_64) the
rdmd in 2.060 eventually hangs (and in some cases even crashes due to mutex
failures).

Given a test.d like this:

import std.stdio;

void main()
{
    writeln("Hello World");
}

Try running:

for x in {0..9999}; do echo iteration $x; rdmd test.d; done

This should yield several mutex errors, and eventually make one of the rdmd
invocations hang. This is a bit of a pain since my program's test suite relies
on rdmd to run the suite.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 04 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8507




07:21:37 EET ---
I was also experiencing similar issues on my previous system (running Windows
Vista x64). The problem went away after I changed the line "if (false)" to "if
(true)", thus disabling the multi-threaded stat-ing.

However, I can't reproduce the problem on my current system (Windows 7 x64).

I think we should just remove the multithreaded stat until the underlying bug
can be fixed. AFAIK there is no recorded measurement that it provides an actual
performance benefit.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 09 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8507


safety0ff.bugz <safety0ff.bugz gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |safety0ff.bugz gmail.com



02:19:31 PDT ---
Works fine on my Linux x86-64 system.

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