[erlang-questions] Bug in amd64 escript

G. Allen Morris III gam3-erlang@REDACTED
Wed Sep 24 15:39:26 CEST 2008


I was writing a simple little script in erlang that outputs lots of
text to standard out.  The problem is that the output is cut off.

If I pipe the output through 'more' then all the output is seen.

I get simular output if I run the program with 

erl -noshell -pa `pwd` \
    -s bobeer bobeer  -s erlang halt

If I use

erl -noshell -pa `pwd` \
    -s bobeer bobeer  -s init stop

then it works.

Having init:stop() at the end of the script does not help.

This is on debian with this version

 Erlang (BEAM) emulator version 5.6.3 [source] [64-bit] [smp:3]
 [async-threads:0] [kernel-poll:false]

This problem does not seem to be on my 32 bit computer

 Erlang (BEAM) emulator version 5.6.3 [source] [smp:2] [async-threads:0]
 [kernel-poll:false]



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 242 bytes
Desc: Digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080924/d41479bc/attachment.bin>


More information about the erlang-questions mailing list