[erlang-bugs] R14B04 erlc OOM on buggy .hrl include

Konstantin Nikiforov <>
Tue Mar 13 09:43:50 CET 2012


Steps to reproduce:

0. mkdir abcd
1. Copy attached files to abcd/
2.
 $ erl
 1> c(error1).

Expected result:
- syntax error in line 7 in wrappers.hrl

Real result:
- compiler hungs and crashes with out-of-memory.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error1.erl
Type: text/x-erlang
Size: 86 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20120313/126b8fa8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrappers.hrl
Type: text/x-erlang
Size: 346 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20120313/126b8fa8/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20120313/126b8fa8/attachment-0002.bin>


More information about the erlang-bugs mailing list