small patch for tv

Dmitriy Budashny dmitriy.budashny@REDACTED
Tue Dec 1 07:43:44 CET 2009


Guys, could you please have a look at this problem?
Maybe my patch is look like a workaround for a problem, but I just wanted to
point you at the existing situation.
Thanks in advance
PS: I didn't use new git-based mechanism of proposing patches, because as I
said it looks like a workaround for me and not a solution.

On Fri, Oct 23, 2009 at 10:39 AM, Dmitriy Budashny <
dmitriy.budashny@REDACTED> wrote:

> My last letter was written w/o testing for other problems, I've found there
> were other calls to lists:nthtail/2.
> I've attached a new patch file in this letter
>
> 2009/10/22 Dmitriy Budashny <dmitriy.budashny@REDACTED>
>
> Hi  there
>> 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:
>> ### log begins here ###
>> =ERROR REPORT==== 22-Oct-2009::16:31:05 ===
>> Error in process <0.571.0> with exit value:
>> {function_clause,[{lists,nthtail,[6,[]]},{tv_pg_gridfcns,resize_grid,3},{tv_pg,loop,1}]}
>>
>> Internal error... restarting.
>> 10>
>> =ERROR REPORT==== 22-Oct-2009::16:31:06 ===
>> Error in process <0.578.0> with exit value:
>> {function_clause,[{lists,nthtail,[6,[]]},{tv_pg_gridfcns,resize_grid,3},{tv_pg,loop,1}]}
>>
>> Internal error... restarting.
>> ### log ends here ###
>>
>> So it continued restarting over and over again. The problem was with call
>> to lists:nthtail(6,[]) which raised exception:
>> ** exception error: no function clause matching lists:nthtail(6,[])
>> So I've made small changes to tv_pg_gridfcns.erl file. Patch attached.
>>
>> --
>> wbr, dym
>>
>
>
>
> --
> wbr, dym
>



-- 
wbr, dym


More information about the erlang-patches mailing list