Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2012 16:35:45 +0100
From:      =?ISO-8859-1?Q?Ermal_Lu=E7i?= <eri@freebsd.org>
To:        =?ISO-8859-1?Q?David_Sieb=F6rger?= <d.sieborger@ru.ac.za>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: pf crashes in pfr_update_stats()
Message-ID:  <CAPBZQG2uLOHBB5VJ7vv5QLhyL3B_ERFUP9a5=7vFMFgUdae3xg@mail.gmail.com>
In-Reply-To: <201201261638.26599.d.sieborger@ru.ac.za>
References:  <201201261638.26599.d.sieborger@ru.ac.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 26, 2012 at 3:38 PM, David Sieb=F6rger <d.sieborger@ru.ac.za> w=
rote:
> Hi,
>
> I have a pair of FreeBSD 9.0-RELEASE firewalls which are crashing
> repeatedly. =A0I've been able to connect to one of them with remote kgdb
> after it crashed (see kgdb session attached), but I haven't been able to
> get to the bottom of what's wrong. =A0Is anyone able to shed more light o=
n
> this?
>
> The first problem that I see is that the kt argument to
> pfr_update_stats() is null, so the kernel panics as soon as that's
> dereferenced.
>
> Where pfr_update_stats() is called from pf_test(), kgdb tells me that
> "Variable "tr" is not available." =A0(Is that because of a gcc
> optimisation?) =A0But, tr ought to equal r in this instance, and r is
> available, so I looked at r. =A0r->dst.addr.p.tbl is indeed null.
>

I have seen this in 8.x versions also.
Are you doing frequent updating of tables or loading larde lists of
addresses in them?

> Does anyone have any theories about why that could be the case, or
> anything else that I could do to debug this? =A0I can provide more
> configuration information if needed.
>
>
> --
> David Sieb=F6rger
> System Administrator, IT Division, Rhodes University
>
> _______________________________________________
> freebsd-pf@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
>



--=20
Ermal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPBZQG2uLOHBB5VJ7vv5QLhyL3B_ERFUP9a5=7vFMFgUdae3xg>