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

Anders Nygren anders_nygren2002@REDACTED
Thu Jul 24 03:03:05 CEST 2003


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,
                                       
[{dict,fetch_val,[4,[]]},
                                        
{beam_clean,find_all_used,3},
                                        
{beam_clean,module,2},
                                         {compile,
                                            
'-select_passes/2-anonymous-2-',
                                             2},
                                         {compile,
                                            
'-internal_comp/4-anonymous-1-',
                                             2},
                                        
{compile,fold_comp,3},
                                        
{compile,internal_comp,4},
                                        
{compile,internal,3}]}}},
              
[{compile,'-select_passes/2-anonymous-2-',2},
               
{compile,'-internal_comp/4-anonymous-1-',2},
                {compile,fold_comp,3},
                {compile,internal_comp,4},
                {compile,internal,3}]}
error


---------------------------------------------------------------

The second bug crashes the debugger.
1, start the debugger
2, move the monitor window so that a part of the Title
bar of the 
window is outside the screen.
3, move the mouse pointer down into the monitor window
again.

134> debugger:start().
{ok,<0.439.0>}
135> 

=ERROR REPORT==== 23-Jul-2003::19:33:33 ===
Error in process <0.439.0> with exit value:
{badarith,[{dbg_ui_mon_win,handle_ev
ent,2},{dbg_ui_mon,loop,1}]}



_____________________________________________________
Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express
Se mer på: http://se.docs.yahoo.com/info/express/help/index.html



More information about the erlang-bugs mailing list