April 04, 2015
https://issues.dlang.org/show_bug.cgi?id=14327

--- Comment #9 from Szymon Gatner <szymon.gatner@gmail.com> ---
I assume that was agnerated by VisualD:

set PATH=D:\devel\D\dmd2\windows\\bin;C:\Program Files (x86)\Windows
Kits\8.1\\\bin;%PATH%
set DMD_LIB=C:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\\lib\amd64;C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64
set WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.1\
set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\
"C:\Program Files (x86)\VisualD\pipedmd.exe" dmd -lib -m64 -g -debug -X
-Xf"Debug\dlib.json" -deps="Debug\dlib.dep" -of"Debug\dlib.lib" -map
"Debug\dlib.map" lib.d
if errorlevel 1 goto reportError
if not exist "Debug\dlib.lib" (echo "Debug\dlib.lib" not created! && goto
reportError)

goto noError

:reportError
echo Building Debug\dlib.lib failed!

:noError

--
April 09, 2015
https://issues.dlang.org/show_bug.cgi?id=14327

--- Comment #10 from Szymon Gatner <szymon.gatner@gmail.com> ---
Did it help to reproduce?

--
October 14, 2015
https://issues.dlang.org/show_bug.cgi?id=14327

--- Comment #11 from Szymon Gatner <szymon.gatner@gmail.com> ---
Just tested the same with Visual Studio 2015 and Beta D 2.069.0-b1 using mscoff32 version of phobos. Bug still persists I am afraid. This time excpetion is thrown from stdio.d line 3076:

auto w = .trustedStdout.lockingTextWriter();

--
October 18, 2015
https://issues.dlang.org/show_bug.cgi?id=14327

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario@gmx.de

--- Comment #12 from Rainer Schuetze <r.sagitario@gmx.de> ---
The problem is that the stdin,stdout,stderr handles are only initialized when running d_run_main, but not rt_init.

--
October 18, 2015
https://issues.dlang.org/show_bug.cgi?id=14327

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #13 from Rainer Schuetze <r.sagitario@gmx.de> ---
https://github.com/D-Programming-Language/druntime/pull/1412

--
October 29, 2015
https://issues.dlang.org/show_bug.cgi?id=14327

--- Comment #14 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/848c97c52186934dae807e2b0923c8fbb0f17e15
issue 14327: move call to init_msvc() into rt_init()

https://github.com/D-Programming-Language/druntime/commit/1c95b5827012f448d2d917c98dd310ac211dec69 Merge pull request #1412 from rainers/issue_14327

issue 14327: move call to init_msvc() into rt_init()

--
October 29, 2015
https://issues.dlang.org/show_bug.cgi?id=14327

--- Comment #15 from github-bugzilla@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/de2788d911129545531e0e42d1c8630b3f406e7c Merge pull request #1412 from rainers/issue_14327

issue 14327: move call to init_msvc() into rt_init()

--
October 30, 2015
https://issues.dlang.org/show_bug.cgi?id=14327

--- Comment #16 from github-bugzilla@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/82715d0589d815a77c7139a59193899866a35f02 fixed Issue 14327 - Unhandled exception from writeln()

- this is an empty dummy commit to close the bugzilla
  issue and generate a changelog entry
- see #1412 (and de2788d911) for the original fix

--
October 30, 2015
https://issues.dlang.org/show_bug.cgi?id=14327

github-bugzilla@puremagic.com changed:

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

--
January 03, 2016
https://issues.dlang.org/show_bug.cgi?id=14327

--- Comment #17 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/848c97c52186934dae807e2b0923c8fbb0f17e15
issue 14327: move call to init_msvc() into rt_init()

https://github.com/D-Programming-Language/druntime/commit/1c95b5827012f448d2d917c98dd310ac211dec69 Merge pull request #1412 from rainers/issue_14327

--