[Intel-gfx] PATCH: do not crash in i830_allocate_memory_bo if pI830->bufmgr is NULL

Magnus Kessler Magnus.Kessler at gmx.net
Fri Jul 31 11:45:59 CEST 2009


On Friday 31 Jul 2009 10:22:16 Magnus Kessler wrote:
> With current git master of xserver and xf86-video-intel I encounter a crash
> in i830_allocate_memory_bo (i830_memory.c:730) when the server is restarted
> by kdm.

That should have read: crash in dri_bo_alloc, called from 
i830_allocate_memory_bo.

>
> The attached patch avoids the crash by guarding against a NULL pointer to
> pI830->bufmgr.
>
> I suspect however that the real fix has probably to do with a missing re-
> initialisation of the bufmgr on server restart. Any tips where to look for
> this are welcome.
>
> Magnus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090731/2937ac04/attachment.sig>


More information about the Intel-gfx mailing list