Debugger bug

Anders Nygren Anders.Nygren@REDACTED
Tue Jul 13 19:25:45 CEST 2004


I tried to send this some time ago but it never made it to the list.
So here we go again.
/Anders Nygren

Hi
I think I have found a bug in the debugger.
Set a breakpoint on line 61 in bug1:handle_call({crash,A,B,C},From,State)


4> bug1:start_link().
{ok,<0.59.0>}
5> bug1:crash().

In the debugger press continue.

=ERROR REPORT==== 15-Jun-2004::08:57:41 ===
** Generic server bug1 terminating
** Last message in was {crash,a,b,c}
** When Server state == {state}
** Reason for termination ==
** [{does_not_exist,a,b}]
** exited: [{does_not_exist,a,b}] **
6>
=CRASH REPORT==== 15-Jun-2004::08:57:41 ===
  crasher:
    pid: <0.59.0>
    registered_name: bug1
    error_info: [{does_not_exist,a,b}]
    initial_call: {gen,init_it,
                      [gen_server,<0.24.0>,<0.24.0>,{local,bug1},bug1,[],[]]}
    ancestors: [<0.24.0>]
    messages: []
    links: [<0.24.0>,<0.65.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 233
    stack_size: 21
    reductions: 187
  neighbours:
    neighbour: [{pid,<0.24.0>},
                  {registered_name,[]},
                  {initial_call,{erlang,apply,2}},
                  {current_function,{gen,wait_resp_mon,3}},
                  {ancestors,[]},
                  {messages,[]},
                  {links,[<0.23.0>,<0.52.0>,<0.59.0>]},
                  {dictionary,[]},
                  {trap_exit,false},
                  {status,waiting},
                  {heap_size,233},
                  {stack_size,27},
                  {reductions,1330}]

=ERROR REPORT==== 15-Jun-2004::08:57:41 ===
Bad value on output port '/usr/bin/wish8.4 /usr/local/lib/erlang/lib/gs-1.5.2/
priv/gstk.tcl -- /usr/local/lib/erlang/lib/gs-1.5.2/priv'

gs error: kernel backend died reason {port_handler,#Port<0.52>,badsig}

GS frontend. Last mgs in was:{'EXIT',<0.44.0>,
                                     {port_handler,#Port<0.52>,badsig}}
exit:{'EXIT',<0.44.0>,{port_handler,#Port<0.52>,badsig}}
Reason: {'EXIT',{gs_kernel_died,{port_handler,#Port<0.52>,badsig}}}
===================================================================

After this all debugger windows disappear and I can not start the debugger
again.
I use R9C-0 on SuSE 9.0

/Anders Nygren


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug1.erl.gz
Type: application/x-gzip
Size: 761 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20040713/df91183b/attachment.bin>


More information about the erlang-questions mailing list