<div>My last letter was written w/o testing for other problems, I've found there were other calls to lists:nthtail/2.</div><div>I've attached a new patch file in this letter<br></div><br><div class="gmail_quote">2009/10/22 Dmitriy Budashny <span dir="ltr"><<a href="mailto:dmitriy.budashny@gmail.com">dmitriy.budashny@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hi  there<br clear="all"></div><div>I've found some strange issue with tv while using stumpwm. tv was crashing while I was trying to load some table, so I got such output to my console:</div>
<div>### log begins here ###</div>
<div>=ERROR REPORT==== 22-Oct-2009::16:31:05 ===<br>Error in process <0.571.0> with exit value: {function_clause,[{lists,nthtail,[6,[]]},{tv_pg_gridfcns,resize_grid,3},{tv_pg,loop,1}]}<br><br>Internal error... restarting. <br>

10>                           <br>=ERROR REPORT==== 22-Oct-2009::16:31:06 ===<br>Error in process <0.578.0> with exit value: {function_clause,[{lists,nthtail,[6,[]]},{tv_pg_gridfcns,resize_grid,3},{tv_pg,loop,1}]}<br>

<br>Internal error... restarting. </div><div>### log ends here ###<br><br></div><div>So it continued restarting over and over again. The problem was with call to lists:nthtail(6,[]) which raised exception:</div>
<div>** exception error: no function clause matching lists:nthtail(6,[])</div><div>So I've made small changes to tv_pg_gridfcns.erl file. Patch attached.</div><br><font color="#888888">-- <br>wbr, dym<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>wbr, dym<br>