I think this is caused by Wine doing an XLock then not releasing it for whatever reason - I guess the signal handler being called in the second backtrace indicates a crash or something. Have you tried doing a +seh trace?