On Apr 28, 2012, at 12:24, doh123 <doh...@doh123.com> wrote:

> well this line doesn't work…
> 
> while (0 == d->unlock(d));
> 
> d->unlock is returning void… for the heck of it I changed it to return a bool 
> and then also change the line to…

>< sorry.

> while (d->unlock(d));
> 
> I have no idea if thats "proper" or if its the way its supposed to work… but 
> it compiled at least, and the previous crash is not happening.

Ok, try this one.  Given the above, I expect it to solve the issue for you.

Attachment: 0001-darwin-Eliminate-a-possible-race-condition-while-des.patch
Description: Binary data


> 
> 
> On Apr 27, 2012, at 8:39 PM, Jeremy Huddleston wrote:
> 
>> Please open a new ticket to track this.  Can you provide me with steps I can 
>> take to reproduce the issue?
>> 
>> That "assertion failed: s != NULL" means either the surface id given to 
>> xp_destroy_surface was invalid, or this was a double-free.  My guess is that 
>> this is the latter, resulting from a timing issue exposed by Jonas' 
>> use-after-free fixes:
>> 
>> http://cgit.freedesktop.org/mesa/mesa/commit/?h=8.0&id=6095a17534c2694760300701fee59a320950f271
>> 
>> A proper fix would involve rewriting all the complicated locking logic, but 
>> here's an ugly hack that I'd like you to try:
>> 
>> <0001-darwin-Eliminate-a-possible-race-condition-while-des.patch>
>> 
>> Please give that a whirl.
>> 
>> 
>> On Apr 27, 2012, at 18:00, doh123 <doh...@doh123.com> wrote:
>> 
>>> When I run Oblivion with Wine in this RC, its not working. I went back to 
>>> Beta4 and it works in beta4 fine, but in RC 1 I get this…
>>> 
>>> fixme:coreaudio:get_channel_mask Unknown speaker configuration: 16
>>> fixme:coreaudio:get_channel_mask Unknown speaker configuration: 16
>>> fixme:win:EnumDisplayDevicesW ((null),0,0x32ef2c,0x00000000), stub!
>>> fixme:win:EnumDisplayDevicesW ((null),0,0x32eefc,0x00000000), stub!
>>> xp_destroy_surface: assertion failed: s != NULL
>>> xp_destroy_surface error: 3
>>> X Error of failed request:  0
>>> Major opcode of failed request:  149 (GLX)
>>> Minor opcode of failed request:  26 (X_GLXMakeContextCurrent)
>>> Serial number of failed request:  1378
>>> Current serial number in output stream:  1378
>>> 
>>> 
>>> 
>>> On Apr 27, 2012, at 12:09 PM, Jeremy Huddleston wrote:
>>> 
>>>> Hi everyone,
>>>> 
>>>> After multiple betas testing a ton of updates, 2.7.2 finally has a release 
>>>> candidate build.
>>>> 
>>>> http://xquartz.macosforge.org/trac/wiki/X112.7.2
>>>> 
>>>> You can see all the details on the release notes page, but here are some 
>>>> highlights:
>>>> 
>>>> * many X.org modules updated with minor fixes (X11R7.7 RC1)
>>>> * mesa was updated to 8.0.2 with some crash fixes
>>>> * freeglut replaces MesaGLUT
>>>> * multiple CVEs addressed in libpng and freetype
>>>> * cairo was updated to 1.12.0
>>>> * libxcb was update to 1.8.1
>>>> * xorg-server is now on the 1.12 branch
>>>> * The Xorg DDX is included for development purposes or expert users
>>>> * Support for smooth scrolling
>>>> * Our input drivers now report both absolute and relative motion (to 
>>>> address an issue in wine)
>>>> * The installer package and installed binaries are now signed with 
>>>> XQuartz's DeveloperID Certificate
>>>> 
>>>> Please give this release a whirl.  I am especially interested in any 
>>>> issues related to scrolling behavior that may have occurred as part of the 
>>>> smooth scrolling effort.  If you have any issues with mouse wheel 
>>>> scrolling, please discuss them here or in 
>>>> http://xquartz.macosforge.org/trac/ticket/562.
>>>> 
>>>> Thanks,
>>>> Jeremy
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Xquartz-dev mailing list
>>>> Xquartz-dev@lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Xquartz-dev mailing list
>>> Xquartz-dev@lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>>> 
>> 
>> 
>> _______________________________________________
>> Xquartz-dev mailing list
>> Xquartz-dev@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
> 
> 
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
> 

_______________________________________________
Xquartz-dev mailing list
Xquartz-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev

Reply via email to