compiler and debugger bugs, R9B-1, Windows XP Home Edition

Richard Carlsson <>
Thu Jul 24 13:39:44 CEST 2003


You probably meant 'queue:new()', not 'queue.new()'.
Anyway, this has been fixed in R9C, so the compiler
does not crash. Instead you will see the warning
"function 'queue.new'/0 undefined".

	/Richard

On Thu, 24 Jul 2003, Anders Nygren wrote:

> I have found two bugs in R9B-1 on Windows XP Home Edition.
>
> The first crashes the compiler. The following little program
> demonstrates it.
>
> ---------------------------------------------------------------
>
> -module(bug).
> -export([bug/0]).
> -record(rec,{f1}).
>
> test()->
>    #rec{f1=queue.new()}.
>
> ---------------------------------------------------------------
>
> 133> c(bug).
> ./bug.erl:none: internal error in beam_clean;
> crash reason: {{case_clause,{'EXIT',{function_clause,


Richard Carlsson ()   (This space intentionally left blank.)
E-mail: 	WWW: http://user.it.uu.se/~richardc/
 "Having users is like optimization: the wise course is to delay it."
   -- Paul Graham



More information about the erlang-bugs mailing list