[erlang-questions] CC: erl segmentation fault in http_base_64

Matthias Lang <>
Tue Oct 10 08:35:22 CEST 2006

datacompboy writes:

 > Is am right, and this crashdump was reproduceable in other cases other than http_base_64 ?


http_base_64 is just plain Erlang code. You can find it in your
installation, e.g. on a unix system:

  ~ >locate http_base_64.erl

and then it's an interesting little exercise in "differential
analysis" to cut it down to a shorter program which also
crashes. Here's how far I got in fifteen minutes:

     crash() -> crash(0,atom).
     crash(_,X) -> 0 bsl (X bsl 1) bsl 0.


More information about the erlang-questions mailing list