http://bugs.winehq.org/show_bug.cgi?id=13599
--- Comment #51 from max@veneto.com 2008-06-28 03:25:50 --- (In reply to comment #49)
Created an attachment (id=14399)
--> (http://bugs.winehq.org/attachment.cgi?id=14399) [details]
log after removing GLENTER/GLLEAVE (installation successfull)
The problem is indeed that one... You can see removing the ENTER:GL() call. GL_ENTER() sets up a lock on X11 which is removed by LEAVE_GL(). In case of an exception after GL_ENTER() but before GL_LEAVE(), the lock is not freed and any following X11 call will fail.
In autocad installer the exception itself isn't harmful, but the lock prevents the installer to continue; because of that there's a long delay (waiting for lock to go away) before installer abort.
I'll try to make a patch that frees the lock in case of an exception.
Max