Subject: Re: Crashes in spec_ioctl() during system shutdown
To: None <current-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 09/23/2004 22:35:00
On Thu, Sep 23, 2004 at 08:27:00PM +0200, Frank Kardel wrote:
> Do you mean something like this:
>
> uvm_fault(0xcf906c54, 0, 0, 1) -> 0xe
> spec_ioctl(ce147d84,0,ce147dfc,c0368118,c041c560) at netbsd:spec_ioctl+0xe
[...]

Yes, exactly.

> and the crash being at line 465 in sys/miscfs/specfs/spec_vnops.c:
>     459         ......
>     460         } */ *ap = v;
>     461         const struct bdevsw *bdev;
>     462         const struct cdevsw *cdev;
>     463         dev_t dev = ap->a_vp->v_rdev;
>     464
> ==> 465         switch (ap->a_vp->v_type) {
>     466
>     467         case VCHR:
> 
> Yes - I have seen it. 8-) && 8-(
> 
> send-pr ? (I have also a matching core spinning araound.)

Yes, please. I've neither got a crash dump nor a stack trace.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/