[erlang-bugs] Unexpected badarg from io:format

Denis Bilenko denis.bilenko@REDACTED
Thu Feb 22 11:16:16 CET 2007


Hello,

I've run into a problem with io:format, it exits with these arguments:

(emacs@REDACTED)190> io:format("~w~p", ["xxxxxxxxxxxxxxxxxxx", <<1>>]).
** exited: {badarg,[{io,format,
                        [<0.27.0>,"~w~p",["xxxxxxxxxxxxxxxxxxx",<<1>>]]},
                    {erl_eval,do_apply,5},
                    {shell,exprs,6},
                    {shell,eval_loop,3}]} **

Contents of string doesn't matter, but length does.

erl -version: Erlang (ASYNC_THREADS) (BEAM) emulator version 5.5.3



More information about the erlang-bugs mailing list