[erlang-bugs] Unexpected badarg from io:format

Bengt Kleberg <>
Thu Feb 22 14:10:14 CET 2007

On 2007-02-22 11:16, Denis Bilenko wrote:
> Hello,
> I've run into a problem with io:format, it exits with these arguments:
> ()190> io:format("~w~p", ["xxxxxxxxxxxxxxxxxxx", <<1>>]).
> ** exited: {badarg,[{io,format,
>                         [<0.27.0>,"~w~p",["xxxxxxxxxxxxxxxxxxx",<<1>>]]},
>                     {erl_eval,do_apply,5},

not reproducible. i get:

io:format("~w~p", ["xxxxxxxxxxxxxxxxxxx", <<1>>]).

Erlang (ASYNC_THREADS,HIPE) (BEAM) emulator version 5.5.3
SunOS ws67042 5.8 Generic_117350-39 sun4u sparc SUNW,Sun-Blade-1500

Those were the days...
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."

More information about the erlang-bugs mailing list