[erlang-bugs] calling module_info() on a R9C2 beam causes erlang R12B4 to segfault

martin kjellin <>
Wed Oct 8 17:06:10 CEST 2008


I've attached segfault.beam, compiled with R9C2, that when loaded into a 
R12B4 system causes erlang to segfault when segfault:module_info() is 
called. Calling module_info() on the same beam works in R11B5 (and 
R9C2). Attached is also the source code (it's not a very complicated 
module...) but it's not a straighforward map between the erl- and 
beam-file as there's a parse transform involved.

segfault.beam is compiled with debug info.

I run ubuntu 8.04 on a pentium m.

best regards
Martin Kjellin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: segfault.beam
Type: application/octet-stream
Size: 1680 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20081008/f85e9d5d/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: segfault.erl
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20081008/f85e9d5d/attachment.ksh>

More information about the erlang-bugs mailing list