Bug 12012 – Error when call std.process.executeShell

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2014-01-27T08:50:00Z
Last change time
2014-01-28T06:11:30Z
Assigned to
nobody
Creator
dvshapkin

Comments

Comment #0 by dvshapkin — 2014-01-27T08:50:44Z
"Error of segmentation (core dumped)" occurs when run this code: import std.process; void main(string[] args) { auto res = executeShell("ls"); }
Comment #1 by dlang-bugzilla — 2014-01-27T16:39:30Z
Can you compile with -g, run under a debugger, and post the stack trace of the segmentation fault?
Comment #2 by dvshapkin — 2014-01-28T06:05:05Z
(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.
Comment #3 by dlang-bugzilla — 2014-01-28T06:11:30Z
Please submit LDC bugs to the LDC developers: http://wiki.dlang.org/Reporting_LDC_issues