threads/103127: Kernel panic while using thread features in Squid 2.6

Anders Nordby anders at fupp.net
Mon Sep 18 01:33:49 PDT 2006


Hi,

On Sat, Sep 16, 2006 at 01:50:44PM -0700, John-Mark Gurney wrote:
>> After talking with Pawel, I tried the attached patch to get some kqueue
>> debug info. I just got it:
>> 
>> Sep 13 20:18:56 cache3 kernel: NULL f_event in new kn
>> Sep 13 20:18:56 cache3 kernel: f_event == NULL
> 
> This means that the f_attach method for that event isn't setting f_event
> properly...  We need to figure out which event this is happening w/...
> 
> Try the following modifications:
>> (..)
> > +			if (kn->kn_fop->f_event == NULL)
>  {
> > +				printf("NULL f_event in new kn\n");

This modification was already done with the patch from Pawel, check the
audit-trail of this PR. By using that patch, I got the messages "NULL
f_event in new kn" and "f_event == NULL".

Cheers,

-- 
Anders.


More information about the freebsd-threads mailing list