seyyed / scalaris

Automatically exported from code.google.com/p/scalaris
Apache License 2.0
0 stars 0 forks source link

Node crashes on 'Local message statistics' link #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
A Scalaris node crashes when a user goes to its web status page and clicks
the 'Local message statistics' link. 

What steps will reproduce the problem?
1. use bin/scalaris.local.cfg (a copy of the .example file)
2. start bin/boot.sh
3. start bin/cs_local.sh
4. goto http://localhost:8001
5. click the 'Local message statistics' link

Expected: the local message statistics are shown

Actual: the webpage says:

Internal error, yaws code crashed

ERROR erlang  code  crashed:
 File: ../docroot_node/logger.yaws:14
Reason: {badarith,[{m1,make_table,5},
                   {m1,out,1},
                   {yaws_server,deliver_dyn_part,8},
                   {yaws_server,aloop,3},
                   {yaws_server,acceptor0,2},
                   {proc_lib,init_p_do_apply,3}]}
Req: {http_request,'GET',{abs_path,"/logger.yaws"},{1,1}}
Stack: [{m1,make_table,5},
        {m1,out,1},
        {yaws_server,deliver_dyn_part,8},
        {yaws_server,aloop,3},
        {yaws_server,acceptor0,2},
        {proc_lib,init_p_do_apply,3}]

This happens with the Scalaris trunk version 232.

Original issue reported on code.google.com by mdenbur...@gmail.com on 27 Mar 2009 at 1:07

GoogleCodeExporter commented 8 years ago
Thanks for the report. Message statistics are disabled at the moment anyway. 
But you
can enable them in src/comm_layer/comm_layer.hrl.

fixed in revision 234

Original comment by schu...@gmail.com on 27 Mar 2009 at 2:42