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

McDowell, Edward D. <>
Wed Feb 6 20:35:46 CET 2013

The erl.exe crash no longer occurs using otp_win32_R16B_test. :)
There was never a problem with the win64 version.

I will test both versions further and let you know if I find any problems.
Despite the crash, R16A runs about 20% faster than R15B on some highly-concurrent test programs.

-----Original Message-----
From:  [mailto:] On Behalf Of Rickard Green
Sent: Wednesday, February 06, 2013 12:57 PM
To: Erlang Bugs
Subject: Re: [erlang-bugs] R16A erl.exe does not exit properly on Windows.

On Feb 4, 2013, at 2:55 PM, Rickard Green <> 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

Rickard Green, Erlang/OTP, Ericsson AB

erlang-bugs mailing list


More information about the erlang-bugs mailing list