Re: 2.4.17 agpgart process hang on crash

From: Lars Christensen (larsch@cs.auc.dk)
Date: Sat Feb 02 2002 - 19:13:09 EST


On Sat, 2 Feb 2002, Andrew Morton wrote:

> Lars Christensen wrote:
> >
> > No luck. Still hangs (e.g. with ./testgart & pkill -ABRT testgart), with
> > and without that patch and with and without 2.4.18-pre7. Does seem to
> > happen when dumping core--it doesn't happen with core dumping disabled.
> >
>
> This one, please:
>
> --- linux-2.4.18-pre7/drivers/char/agp/agpgart_fe.c Sun Aug 12 10:38:48 2001
> +++ linux-akpm/drivers/char/agp/agpgart_fe.c Sat Feb 2 15:29:49 2002
> @@ -605,19 +605,18 @@ static int agp_mmap(struct file *file, s

<snip>

> + if (ret == 0)
> + vma->vm_flags |= VM_IO;
> return -EPERM;
> }

> Sorry - make the last statement `return ret;'

Better. The process dumps core now, but ps -ef hangs after printing a few
processes. Also, with a app runnig with a window open in X, the window
stays, so apparently, the process isn't gone.

-- 
Lars Christensen, larsch@cs.auc.dk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:25 EST