内々に使っている samidare がこんなダイイングメッセージを 残して死ぬようになってしまった。
/var/samidare/htree/htree/loc.rb:258:in `loc_list': stack level too deep (SystemStackError) from /var/samidare/htree/htree/loc.rb:272:in `path' from /var/samidare/samidare/main.rb:367:in `ignore_tree' from /var/samidare/samidare/main.rb:366:in `filter' from /var/samidare/htree/htree/traverse.rb:261:in `each_with_index' from /var/samidare/htree/htree/traverse.rb:36:in `each' from /var/samidare/htree/htree/traverse.rb:36:in `each_with_index' from /var/samidare/htree/htree/traverse.rb:36:in `each_child_with_index' from /var/samidare/htree/htree/traverse.rb:261:in `filter' ... 2949 levels... from /var/samidare/samidare/main.rb:1282:in `main' from /var/samidare/samidare/main.rb:1400 from /var/samidare/update.rb:10:in `load' from /var/samidare/update.rb:10
super しているその super 先が同じメソッドになってしまっているため、 無限ループになるらしい (追記:これは嘘だった)
とりあえず samidare と htree を HEAD にしてみよう。
digital:/var/samidare % ruby update.rb --single-thread /var/samidare/wc/htree/htree/loc.rb:258:in `loc_list': stack level too deep (SystemStackError) from /var/samidare/wc/htree/htree/loc.rb:272:in `path' from /var/samidare/wc/samidare/main.rb:373:in `ignore_tree' from /var/samidare/wc/samidare/main.rb:372:in `filter' from /var/samidare/wc/htree/htree/traverse.rb:261:in `each_with_index' from /var/samidare/wc/htree/htree/traverse.rb:36:in `each' from /var/samidare/wc/htree/htree/traverse.rb:36:in `each_with_index' from /var/samidare/wc/htree/htree/traverse.rb:36:in `each_child_with_index' from /var/samidare/wc/htree/htree/traverse.rb:261:in `filter' ... 2949 levels... from /var/samidare/wc/samidare/main.rb:1291:in `main' from /var/samidare/wc/samidare/main.rb:1409 from update.rb:10:in `load' from update.rb:10
変わらなかった。 引き続き調査中。
(23:15)
原因判明。HTML がこんなだった。
<FONT size="-1" color="#000000"><FONT size="-2"></FONT><FONT size="-1"><BR><FONT color="#000000"><FONT size="-1"><FONT c olor="#000000"><FONT size="-1"><FONT color="#000000"><FONT s ize="-1"><FONT color="#999999" size="+2"><FONT size="+1"><FO NT color="#000000" size="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT color="#999999" size="+2"><FONT size= "+1"><FONT color="#000000" size="+2"><FONT size="+1"><FONT s ize="-1" color="#000000"><FONT color="#999999" size="+2"><FO NT size="+1"><FONT color="#000000" size="+2"><FONT size="+1" ><FONT size="-1" color="#000000"><FONT color="#999999" size= "+2"><FONT size="+1"><FONT color="#000000" size="+2"><FONT s ize="+1"><FONT size="-1" color="#000000"><FONT color="#99999 9" size="+2"><FONT size="+1"><FONT color="#000000" size="+2" ><FONT size="+1"><FONT size="-1" color="#000000"><FONT color ="#999999" size="+2"><FONT size="+1"><FONT color="#000000" s ize="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FO NT color="#999999" size="+2"><FONT size="+1"><FONT color="#0 00000" size="+2"><FONT size="+1"><FONT size="-1" color="#000 000"><FONT color="#999999" size="+2"><FONT size="+1"><FONT c olor="#000000" size="+2"><FONT size="+1"><FONT size="-1" col or="#000000"><FONT color="#999999" size="+2"><FONT size="+1" ><FONT color="#000000" size="+2"><FONT size="+1"><FONT size= "-1" color="#000000"><FONT color="#999999" size="+2"><FONT s ize="+1"><FONT color="#000000" size="+2"><FONT size="+1"><FO NT size="-1" color="#000000"><FONT color="#999999" size="+2" ><FONT size="+1"><FONT color="#000000" size="+2"><FONT size= "+1"><FONT size="-1" color="#000000"><FONT color="#999999" s ize="+2"><FONT size="+1"><FONT color="#000000" size="+2"><FO NT size="+1"><FONT size="-1" color="#000000"><FONT color="#9 99999" size="+2"><FONT size="+1"><FONT color="#000000" size= "+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT c olor="#999999" size="+2"><FONT size="+1"><FONT color="#00000 0" size="+2"><FONT size="+1"><FONT size="-1" color="#000000" ><FONT color="#999999" size="+2"><FONT size="+1"><FONT color ="#000000" size="+2"><FONT size="+1"><FONT size="-1" color=" #000000"><FONT color="#999999" size="+2"><FONT size="+1"><FO NT color="#000000" size="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT color="#999999" size="+2"><FONT size= "+1"><FONT color="#000000" size="+2"><FONT size="+1"><FONT s ize="-1" color="#000000"><FONT color="#999999" size="+2"><FO NT size="+1"><FONT color="#000000" size="+2"><FONT size="+1" ><FONT size="-1" color="#000000"><FONT color="#999999" size= "+2"><FONT size="+1"><FONT color="#000000" size="+2"><FONT s ize="+1"><FONT size="-1" color="#000000"><FONT color="#99999 9" size="+2"><FONT size="+1"><FONT color="#000000" size="+2" ><FONT size="+1"><FONT size="-1" color="#000000"><FONT color ="#999999" size="+2"><FONT size="+1"><FONT color="#000000" s ize="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FO NT color="#999999" size="+2"><FONT size="+1"><FONT color="#0 00000" size="+2"><FONT size="+1"><FONT size="-1" color="#000 000"><FONT color="#999999" size="+2"><FONT size="+1"><FONT c olor="#000000" size="+2"><FONT size="+1"><FONT size="-1" col or="#000000"><FONT color="#999999" size="+2"><FONT size="+1" ><FONT color="#000000" size="+2"><FONT size="+1"><FONT size= "-1" color="#000000"><FONT color="#999999" size="+2"><FONT s ize="+1"><FONT color="#000000" size="+2"><FONT size="+1"><FO NT size="-1" color="#000000"><FONT color="#999999" size="+2" ><FONT size="+1"><FONT color="#000000" size="+2"><FONT size= "+1"><FONT size="-1" color="#000000"><FONT color="#999999" s ize="+2"><FONT size="+1"><FONT color="#000000" size="+2"><FO NT size="+1"><FONT size="-1" color="#000000"><FONT color="#9 99999" size="+2"><FONT size="+1"><FONT color="#000000" size= "+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT c olor="#999999" size="+2"><FONT size="+1"><FONT color="#00000 0" size="+2"><FONT size="+1"><FONT size="-1" color="#000000" ><FONT color="#999999" size="+2"><FONT size="+1"><FONT color ="#000000" size="+2"><FONT size="+1"><FONT size="-1" color=" #000000"><FONT color="#999999" size="+2"><FONT size="+1"><FO NT color="#000000" size="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT color="#999999" size="+2"><FONT size= "+1"><FONT color="#000000" size="+2"><FONT size="+1"><FONT s ize="-1" color="#000000"><FONT color="#999999" size="+2"><FO NT size="+1"><FONT color="#000000" size="+2"><FONT size="+1" ><FONT size="-1" color="#000000"><FONT color="#999999" size= "+2"><FONT size="+1"><FONT color="#000000" size="+2"><FONT s ize="+1"><FONT size="-1" color="#000000"><FONT color="#99999 9" size="+2"><FONT size="+1"><FONT color="#000000" size="+2" ><FONT size="+1"><FONT size="-1" color="#000000"><FONT color ="#999999" size="+2"><FONT size="+1"><FONT color="#000000" s ize="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FO NT color="#999999" size="+2"><FONT size="+1"><FONT color="#0 00000" size="+2"><FONT size="+1"><FONT size="-1" color="#000 000"><FONT color="#999999" size="+2"><FONT size="+1"><FONT c olor="#000000" size="+2"><FONT size="+1"><FONT size="-1" col or="#000000"><FONT color="#999999" size="+2"><FONT size="+1" ><FONT color="#000000" size="+2"><FONT size="+1"><FONT size= "-1" color="#000000"><FONT color="#999999" size="+2"><FONT s ize="+1"><FONT color="#000000" size="+2"><FONT size="+1"><FO NT size="-1" color="#000000"><FONT color="#999999" size="+2" ><FONT size="+1"><FONT color="#000000" size="+2"><FONT size= "+1"><FONT size="-1" color="#000000"><FONT color="#999999" s ize="+2"><FONT size="+1"><FONT color="#000000" size="+2"><FO NT size="+1"><FONT size="-1" color="#000000"><FONT color="#9 99999" size="+2"><FONT size="+1"><FONT color="#000000" size= "+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT c olor="#999999" size="+2"><FONT size="+1"><FONT color="#00000 0" size="+2"><FONT size="+1"><FONT size="-1" color="#000000" ><FONT color="#999999" size="+2"><FONT size="+1"><FONT color ="#000000" size="+2"><FONT size="+1"><FONT size="-1" color=" #000000"><FONT color="#999999" size="+2"><FONT size="+1"><FO NT color="#000000" size="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT color="#999999" size="+2"><FONT size= "+1"><FONT color="#000000" size="+2"><FONT size="+1"><FONT s ize="-1" color="#000000"><FONT color="#999999" size="+2"><FO NT size="+1"><FONT color="#000000" size="+2"><FONT size="+1" ><FONT size="-1" color="#000000"><FONT color="#999999" size= "+2"><FONT size="+1"><FONT color="#000000" size="+2"><FONT s ize="+1"><FONT size="-1" color="#000000"><FONT color="#99999 9" size="+2"><FONT size="+1"><FONT color="#000000" size="+2" ><FONT size="+1"><FONT size="-1" color="#000000"><FONT color ="#999999" size="+2"><FONT size="+1"><FONT color="#000000" s ize="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FO NT color="#999999" size="+2"><FONT size="+1"><FONT color="#0 00000" size="+2"><FONT size="+1"><FONT size="-1" color="#000 000"><FONT color="#999999" size="+2"><FONT size="+1"><FONT c olor="#000000" size="+2"><FONT size="+1"><FONT size="-1" col or="#000000"><FONT color="#999999" size="+2"><FONT size="+1" ><FONT color="#000000" size="+2"><FONT size="+1"><FONT size= "-1" color="#000000"><FONT color="#999999" size="+2"><FONT s ize="+1"><FONT color="#000000" size="+2"><FONT size="+1"><FO NT size="-1" color="#000000"><FONT color="#999999" size="+2" ><FONT size="+1"><FONT color="#000000" size="+2"><FONT size= "+1"><FONT size="-1" color="#000000"><FONT color="#999999" s ize="+2"><FONT size="+1"><FONT color="#000000" size="+2"><FO NT size="+1"><FONT size="-1" color="#000000"><FONT color="#9 99999" size="+2"><FONT size="+1"><FONT color="#000000" size= "+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT c olor="#999999" size="+2"><FONT size="+1"><FONT color="#00000 0" size="+2"><FONT size="+1"><FONT size="-1" color="#000000" ><FONT color="#999999" size="+2"><FONT size="+1"><FONT color ="#000000" size="+2"><FONT size="+1"><FONT size="-1" color=" #000000"><FONT color="#999999" size="+2"><FONT size="+1"><FO NT color="#000000" size="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT color="#999999" size="+2"><FONT size= "+1"><FONT color="#000000" size="+2"><FONT size="+1"><FONT s ize="-1" color="#000000"><FONT color="#999999" size="+2"><FO NT size="+1"><FONT color="#000000" size="+2"><FONT size="+1" ><FONT size="-1" color="#000000"><FONT color="#999999" size= "+2"><FONT size="+1"><FONT color="#000000" size="+2"><FONT s ize="+1"><FONT size="-1" color="#000000"><FONT color="#99999 9" size="+2"><FONT size="+1"><FONT color="#000000" size="+2" ><FONT size="+1"><FONT size="-1" color="#000000"><FONT color ="#999999" size="+2"><FONT size="+1"><FONT color="#000000" s ize="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FO NT color="#999999" size="+2"><FONT size="+1"><FONT color="#0 00000" size="+2"><FONT size="+1"><FONT size="-1" color="#000 000"><FONT color="#999999" size="+2"><FONT size="+1"><FONT c olor="#000000" size="+2"><FONT size="+1"><FONT size="-1" col or="#000000"><FONT color="#999999" size="+2"><FONT size="+1" ><FONT color="#000000" size="+2"><FONT size="+1"><FONT size= "-1" color="#000000"><FONT color="#999999" size="+2"><FONT s ize="+1"><FONT color="#000000" size="+2"><FONT size="+1"><FO NT size="-1" color="#000000"><FONT color="#999999" size="+2" ><FONT size="+1"><FONT color="#000000" size="+2"><FONT size= "+1"><FONT size="-1" color="#000000"><FONT color="#999999" s ize="+2"><FONT size="+1"><FONT color="#000000" size="+2"><FO NT size="+1"><FONT size="-1" color="#000000"><FONT color="#9 99999" size="+2"><FONT size="+1"><FONT color="#000000" size= "+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT c olor="#999999" size="+2"><FONT size="+1"><FONT color="#00000 0" size="+2"><FONT size="+1"><FONT size="-1" color="#000000" ><FONT color="#999999" size="+2"><FONT size="+1"><FONT color ="#000000" size="+2"><FONT size="+1"><FONT size="-1" color=" #000000"><FONT color="#999999" size="+2"><FONT size="+1"><FO NT color="#000000" size="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT color="#999999" size="+2"><FONT size= "+1"><FONT color="#000000" size="+2"><FONT size="+1"><FONT s ize="-1" color="#000000"><FONT color="#999999" size="+2"><FO NT size="+1"><FONT color="#000000" size="+2"><FONT size="+1" ><FONT size="-1" color="#000000"><FONT color="#999999" size= "+2"><FONT size="+1"><FONT color="#000000" size="+2"><FONT s ize="+1"><FONT size="-1" color="#000000"><FONT color="#99999 9" size="+2"><FONT size="+1"><FONT color="#000000" size="+2" ><FONT size="+1"><FONT size="-1" color="#000000"><FONT color ="#999999" size="+2"><FONT size="+1"><FONT color="#000000" s ize="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FO NT color="#999999" size="+2"><FONT size="+1"><FONT color="#0 00000" size="+2"><FONT size="+1"><FONT size="-1" color="#000 000"><FONT color="#999999" size="+2"><FONT size="+1"><FONT c olor="#000000" size="+2"><FONT size="+1"><FONT size="-1" col or="#000000"><FONT color="#999999" size="+2"><FONT size="+1" ><FONT color="#000000" size="+2"><FONT size="+1"><FONT size= "-1" color="#000000"><FONT color="#999999" size="+2"><FONT s ize="+1"><FONT color="#000000" size="+2"><FONT size="+1"><FO NT size="-1" color="#000000"><FONT color="#999999" size="+2" ><FONT size="+1"><FONT color="#000000" size="+2"><FONT size= "+1"><FONT size="-1" color="#000000"><FONT color="#999999" s ize="+2"><FONT size="+1"><FONT color="#000000" size="+2"><FO NT size="+1"><FONT size="-1" color="#000000"><FONT color="#9 99999" size="+2"><FONT size="+1"><FONT color="#000000" size= "+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT c olor="#999999" size="+2"><FONT size="+1"><FONT color="#00000 0" size="+2"><FONT size="+1"><FONT size="-1" color="#000000" ><FONT color="#999999" size="+2"><FONT size="+1"><FONT color ="#000000" size="+2"><FONT size="+1"><FONT size="-1" color=" #000000"><FONT color="#999999" size="+2"><FONT size="+1"><FO NT color="#000000" size="+2"><FONT size="+1"><FONT size="-1" color="#000000"><FONT color="#999999" size="+2"><FONT size= "+1"><FONT color="#000000" size="+2"><FONT size="+1"><FONT s ize="-1" color="#000000"><FONT color="#999999" size="+2"><FO NT size="+1"><FONT color="#000000" size="+2"><FONT size="+1" ><FONT size="-1" color="#000000"><FONT color="#999999" size= "+2"><FONT size="+1"><FONT color="#000000" size="+2"><FONT s ize="+1"><FONT size="-1" color="#000000"><FONT color="#99999 9" size="+2"><FONT size="+1"><FONT color="#000000" size="+2" ><FONT size="+1"><FONT size="-1" color="#000000"><FONT color ="#999999" size="+2"><FONT size="+1"><FONT color="#000000" s ize="+2"><FONT size="+1">(05/05/10)<BR></FONT></FONT></FONT> </FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FO NT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT>< /FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FON T></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></ FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT ></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></F ONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FO NT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT>< /FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FON T></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></ FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT ></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></F ONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FO NT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT>< /FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FON T></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></ FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT ></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></F ONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FO NT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT>< /FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FON T></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></ FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT ></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></F ONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FO NT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT>< /FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FON T></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></ FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT ></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></F ONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FO NT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT>< /FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FON T></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></ FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT ></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></F ONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FO NT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT>< /FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FON T></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></ FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT ></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></F ONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FO NT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT>< /FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FON T></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></ FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT ></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></F ONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </FONT></FONT>
なにこの幾何学模様。
というわけで最後に一つだけ、 問題の HTML から一部を引用してこの話を終わることにしたい。
<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
(00:24)
Copyright (c) 2002-2007 青木峰郎 / Minero Aoki. All rights reserved.
VS.NETでもWEBデザイン画面で頻繁にラベルやテーブルをいじくってたらこうなります(w