crash on Perlbal 1.51

dormando dormando at rydia.net
Wed Nov 29 18:34:07 UTC 2006


Kevin Rosenberg wrote:
> Del Raco wrote:
>> Has anyone seen the following error on Perlbal 1.51? 
>> Nov 28 03:10:37 app-200 perlbal[16356]: crash log:
>> Can't call method "req_keep_alive" on an undefined
>> value at
>> /usr/local/share/perl/5.8.7/Perlbal/ClientHTTPBase.pm
>> line 124.
> 
> Yes.
> 
>> Any help would be appreciated.  Thanks.
> 
> I quickly hacked a workaround, but I don't understand the true cause of
> the error:
> 

We had the same issue back in october, fixed with a slightly different 
patch (and a little insight as to what might've been happening). But I 
don't have the time to dig into it further right now.

http://lists.danga.com/pipermail/perlbal/2006-October/000328.html

The root of the problem appears to be a few cases where the code allows 
a client to reset without telling its attached backend that it's reset. 
The backend object blindly uses its reference to the client once the 
next event happens. I don't think I properly caught all of the cases 
where that happens, so I submitted a kludge patch instead.

-Dormando


More information about the perlbal mailing list