[erlang-bugs] R16A erl.exe does not exit properly on Windows.

Rickard Green rickard@REDACTED
Wed Feb 6 18:57:24 CET 2013


On Feb 4, 2013, at 2:55 PM, Rickard Green <rickard@REDACTED> wrote:

>>> 
>>> The Erlang command line program erl.exe release R16A does not exit properly
>>> 
>>> on Windows 7 Starter Edition using a 32-bit processor.
>> I bet this has something to do with the flushing of "stdout" data at exit. I will be way from OTP for a week, but will send you approximately one million questions about this when I get back, if it's not already solved by then! Just to let you know you're not ignored :)
>>> 
>>> 
>>> When the shell is terminated using either init:stop() or halt() several
>>> 
>>> hundred carriage-return line-feed sequences are printed and then Windows
>>> 
>>> displays "erl.exe has stopped working." No crash dump is produced.
>>> 
>>> 
>>> 
>>> This problem does not occur with the Windows shell werl.exe.
>>> _______________________________________________
> 
> We have found three bugs in the vanilla/fd/spawn-driver code on Windows. One of them being in the flush of stdout as Patrik was betting on. Fixes of these bugs will probably fix this issue as well as other crashes on Windows. We will try to make a test Windows build available as soon as possible, but I don't know exactly how and when yet.
> 
> Regards,
> Rickard Green, Erlang/OTP, Ericsson AB
> 


Snapshots from our daily tests follow. The crash during exit of erl.exe should have been fixed. Please let us know the result if you test them out.

32-bit Windows binary package: http://erlang.org/download/otp_win32_R16B_test.exe
64-bit Windows binary package: http://erlang.org/download/otp_win64_R16B_test.exe

Regards,
Rickard Green, Erlang/OTP, Ericsson AB




More information about the erlang-bugs mailing list