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

Rickard Green rickard@REDACTED
Mon Feb 4 14:55:39 CET 2013


>> 
>> 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




More information about the erlang-bugs mailing list