Date: Mon, 21 Apr 1997 15:20:36 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-bugs@freebsd.org Cc: Shimon@i-Connect.Net Subject: Re: Mystery of the X11 Panic... Message-ID: <19970421152036.AM09487@uriah.heep.sax.de> References: <199704210852.SAA27852@godzilla.zeta.org.au> <199704211031.DAA03600@root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
As David Greenman wrote: > >This means that cdevsw[maj]->d_open is bad (probably null) although > >cdevsw[maj] != NULL. This might be caused by a buggy or stale LKM. Nope, Bruce: if ( (cdevsw[maj] == NULL) || (cdevsw[maj]->d_open == NULL)) ^^^^^^^^^^^^^^^^^^^ return ENXIO; This case is tested, and it's actually this test itself that causes the panic. > ...or it could be caused by the bug in kern_exec.c, which could have > mangled adjacent buffers or possibly random kernel memory. It seems > to involve bash and the kern_exec.c bug was triggered when running small > shell scripts. This seems more reasonable after reading that piece of code. Simon didn't tell us the faulting VA, but i bet it's not right NULL. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970421152036.AM09487>