Erlang on FreeBSD/amd64

Benno Rice benno@REDACTED
Thu Feb 10 12:18:27 CET 2005


Brian Buchanan wrote:
> Benno,
> 
> I just did a little investigative work on this.  Here's an error I get:
> 
> =ERROR REPORT==== 9-Feb-2005::21:47:41 ===
> Error in process <0.22.0> with exit value:
> {badarg,[{erlang,demonitor,[{}]},{io,wait_io_mon_reply,2},{epp,scan_toks,2}]}
> 
> ./disk_log.erl:none: internal error in parse_module;
> crash reason: {badarg,[{erlang,demonitor,[{}]},
>                        {io,wait_io_mon_reply,2},
>                        {epp,scan_toks,2}]}
> 
> 
> I instrumented the bootstrap version of the io module and discovered what
> appears to be reference corruption in the interpreter after a process
> waits in "receive".

[snip]

I tried following your suggestions but I wasn't able to work out how to 
modify the bootstrap versions.  I assume I'd need to recompile them 
somehow?  Editing the .erl files containing scan_toks/2 doesn't appear 
to get me any extra debug output.

-- 
Benno Rice
benno@REDACTED
http://jeamland.net/



More information about the erlang-bugs mailing list