Subject: Re: Crashes in bpf
To: Julio M. Merino Vidal <jmmv@menta.net>
From: None <cube@cubidou.net>
List: current-users
Date: 10/25/2004 08:31:54
On Sun, Oct 24, 2004 at 10:24:15PM +0200, Julio M. Merino Vidal wrote:
> Hi all,
> 
> during the last few weeks, I've been experiencing (what seem to be) random
> crashes in bpf.  They always happen at system bootup, while dhclient is
> configuring my vr0 card, although they don't happen very often.
> 
> In fact, the first time I saw them was maybe two or three weeks ago, though
> I couldn't do anything useful with the crash dumps because my kernel didn't
> have debugging information.  But today, it happened again - now I have a
> kernel with debug info - so I can provide more information.
> 
> Here is it:
[...]
> #9  0xc026bf80 in bpf_filter (pc=0xc0eb8800, 
>     p=0xca4aa000 "X\2073\223R\200A\017|&?\002\210\230ָ'G\177\016f\b}\217=g1J\037ب6\227\203{\227p\030", wirelen=0, buflen=0)
>     at /home/jmmv/NetBSD/src/sys/net/bpf_filter.c:221

The crash happens in m_xhalf, actually.  At least that's the
crash I saw on one of my computers (amd64 with wm(4)) at home,
under some slight pressure (buildling a release from NFS read-
only sources to a local mount).

I got the panic twice while using it remotely, but couldn't
reproduce it since then.  I couldn't get a crash dump at the
time, and I can't run it through kgdb (it's broken on amd64,
obviously).

So maybe it's time to send-pr it.

Quentin Garnier.