Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=8521 Summary: AllocAndFetchScreenConfigs unlocks twice Product: Mesa Version: CVS Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: GLX AssignedTo: mesa3d-dev@lists.sourceforge.net ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED]
AllocAndFetchScreenConfigs always calls UnlockDisplay twice without an intervening LockDisplay. We found this because XCB asserts that you can't unlock the display if you don't have it locked. While fixing this we noticed that SyncHandle isn't consistently called after UnlockDisplay in this function. --- glxext.c 26 Sep 2006 23:56:20 -0000 1.25 +++ glxext.c 6 Oct 2006 00:17:39 -0000 @@ -1016,11 +1016,11 @@ static Bool AllocAndFetchScreenConfigs(D if (!_XReply(dpy, (xReply*) &reply, 0, False)) { /* Something is busted. Punt. */ UnlockDisplay(dpy); + SyncHandle(); FreeScreenConfigs(priv); return GL_FALSE; } - UnlockDisplay(dpy); if (!reply.numVisuals) { /* This screen does not support GL rendering */ UnlockDisplay(dpy); -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev