www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12012] New: Error when call std.process.executeShell

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

           Summary: Error when call std.process.executeShell
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: dvshapkin mail.ru


--- Comment #0 from Dmitry <dvshapkin mail.ru> 2014-01-27 08:50:44 PST ---
"Error of segmentation (core dumped)" occurs
when run this code:

import std.process;

void main(string[] args) {
    auto res = executeShell("ls");
}

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 27 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12012


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow gmail.com


--- Comment #1 from Vladimir Panteleev <thecybershadow gmail.com> 2014-01-28
02:39:30 EET ---
Can you compile with -g, run under a debugger, and post the stack trace of the
segmentation fault?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 27 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12012



--- Comment #2 from Dmitry <dvshapkin mail.ru> 2014-01-28 06:05:05 PST ---
(In reply to comment #1)
Could you write the exact command to create a dump? I'm not familiar with the
debugger.
Error which I wrote only occurs when compiling whith ldc2. When compiling with
DMD all okay.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 28 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12012


Vladimir Panteleev <thecybershadow gmail.com> changed:

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


--- Comment #3 from Vladimir Panteleev <thecybershadow gmail.com> 2014-01-28
16:11:30 EET ---
Please submit LDC bugs to the LDC developers:
http://wiki.dlang.org/Reporting_LDC_issues

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