Last active
August 29, 2015 14:27
-
-
Save kuenishi/76333a8a93bc8ccad308 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>erl -s init stop | |
Erlang/OTP 18 [erts-7.0.2] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false] [dtrace] | |
Eshell V7.0.2 (abort with ^G) | |
1> > | |
>escript stderr.erl | |
<0.21.0> | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 1 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 2 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 3 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 4 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 5 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 6 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 7 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 8 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 9 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 10 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 11 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 12 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 13 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 14 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 15 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 16 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 17 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 18 | |
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 19 | |
12345678901234567890123456789012345678901234567890123456789012> | |
>uname -a | |
Darwin micott.local 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(stderr). | |
-compile(export_all). | |
main(_) -> | |
Arg0 = [ [["1234567890" || _ <- [1,2,3,4,5,6,7,8,9,0]], 32, integer_to_list(L), $\n] | |
|| L <- lists:seq(1, 200) ], | |
io:format(standard_error, "~p~n", [whereis(standard_error)]), | |
R = io:put_chars(standard_error, Arg0), | |
io:format(standard_error, "~p, ~p~n", [R, whereis(standard_error)]). |
In other code,
=ERROR REPORT==== 9-Aug-2015::21:05:49 ===
** Generic server standard_error_sup terminating
** Last message in was {'EXIT',<0.20.0>,eagain}
** When Server state == {state,standard_error,undefined,<0.20.0>,
{local,standard_error_sup}}
** Reason for termination ==
** eagain
FYI: erlang/otp#807
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This could not be reproduced in Ubuntu 14.04. Also could not be reproduced in R16B02 on MacOS.