Page fault in ipfw?

Max Laier max at love2party.net
Tue Jan 9 16:04:36 UTC 2007


On Tuesday 09 January 2007 16:29, Rong-en Fan wrote:
> On 1/9/07, Sergey Zaharchenko <doublef-ctm at yandex.ru> wrote:
> > Hello Rong-en!
> >
> > Tue, Jan 09, 2007 at 10:07:16PM +0800 you wrote:
> > > On 1/9/07, Sergey Zaharchenko <doublef-ctm at yandex.ru> wrote:
> > > >Hello -current,
> > > >
> > > >After updating from December to yesterday's CURRENT (to try
> > > > catching the SMB recursive locking) I observe the following fault
> > > > when I connect to the internet via PPP:
> > >
> > > [...]
> > >
> > > Just curious, do you have any rule with 'log' keyword?
> >
> > Well yes I do, and the logging seems to be it. I'm having problems
> > with making a normal stack trace, but the fault itself occurs in
> > ipfw_log()
> >
> > at /usr/src/sys/netinet/ip_fw2.c:928:
> > :                {
> > :                        tcp = L3HDR(struct tcphdr, ip); <--- here
> > :                        udp = L3HDR(struct udphdr, ip);
> >
> > I've tried setting net.inet.ip.fw.verbose=0 and everything seems ok.
> > But I'd like to keep logging...
> >
> > Thank you,
>
> I also see this problem on my current. I will try to obtain a core dump
> this week.

Strange.  The initial dump looked like a call to a NULL function pointer, 
but this looks differently.  There where two bigger changes in ip_fw2.c 
that might be related: The cleanup of mtod() and LibAlias.  The latter is 
now cleanly #ifdef'ed out (at least it seems that way to me).  I've CC'ed 
the corresponding authors so if you could provide a better dump, maybe 
something comes to mind.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070109/2bb3450f/attachment.pgp


More information about the freebsd-current mailing list