Re: [next] Null pointer dereference in nouveau_vm_map_sg

From: Jerome Glisse
Date: Tue Jan 24 2012 - 17:33:28 EST


On Sun, Jan 22, 2012 at 01:33:16PM -0500, Konrad Rzeszutek Wilk wrote:
> On Tue, Jan 17, 2012 at 12:57:50AM +0100, Martin Nyhus wrote:
> > On Monday 16. January 2012 21:30:59 Jerome Glisse wrote:
> > > On Sun, Jan 15, 2012 at 10:31:08PM +0100, Martin Nyhus wrote:
> > > > In some cases mem will be null in nouveau_vm_map_sg, resulting in a crash
> > > > at drivers/gpu/drm/nouveau/nouveau_vm.c:84. It seems to be easy enough to
> > > > reproduce, so I can test patches if needed.
> > > How do you trigger this ?
> >
> > Opening 10-15 high-res pictures in Firefox triggers it every time. Doing the
> > same using Gimp does not, and neither does Firefox and lots of small images
> > (eg. Google image search).
>
> I seem to be able to trigger this by using both Chrome and Firefox and
> seeing a YouTube video. I did at that time have a dual-head display, while
> in the past to reproduce this I had only one monitor and it took a bit of
> time before I hit it.

Can you please both test if attached patch fix it for you ?

Cheers,
Jerome