| Author |
Message |
< Erlang bugs mailing list ~ compiler and debugger bugs, R9B-1, Windows XP Home Edition |
| anders_nygren2002 at yaho |
Posted: Thu Jul 24, 2003 1:03 am |
|
|
|
Guest
|
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 |
|
|
| Back to top |
|
| richardc at csd.uu.se |
Posted: Thu Jul 24, 2003 11:39 am |
|
|
|
Guest
|
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 (richardc_at_csd.uu.se) (This space intentionally left blank.)
E-mail: Richard.Carlsson_at_csd.uu.se WWW: http://user.it.uu.se/~richardc/
"Having users is like optimization: the wise course is to delay it."
-- Paul Graham
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|