http://bugs.freedesktop.org/show_bug.cgi?id=21053

           Summary: drisw_glx.c driCreateScreen doesn't initialise psp-
                    >waitX/waitGL
           Product: Mesa
           Version: unspecified
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLX
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=24546)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=24546)
Patch to initialise psp->waitX/waitGL to NULL correctly

Unlike the equivalent function in dri_glx.c,  driCreateScreen in
src/glx/x11/drisw_glx.c doesn't initialise psp->waitX/waitGL. Most of the time,
these seem to just happen to be 0 anyway, but sometimes they're not, and in
this case calling glXWaitX crashes the application. 

I'm using Mesa 7.4, which isn't in the list of versions for some reason. I'm
also using Gentoo, with xorg-server 1.5.3, and was seeing the crash when
starting mythfrontend from MythTV 0.21.something. 

No steps to reproduce, sorry - given the nature of the bug they probably
wouldn't work on other systems anyway. Fortunately it should be fairly easy to
spot in the code (just compare dri_glx.c and drisw_glx.c).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to