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.
Comment #1
Posted on Mar 27, 2009 by Quick HorseThanks 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
Status: Fixed
Labels:
Type-Defect
Priority-Medium