https://bugs.winehq.org/show_bug.cgi?id=35041
--- Comment #53 from TopDog porssimies@gmail.com --- (In reply to Zebediah Figura from comment #52)
(In reply to Robert Griggs from comment #51)
TopDog's script to get the latest x11lib 1.6.12 fixes the problem! The X11 update must be done to address the issue in Wine 5.x and Codeweaver
I don't see any changes the relevant code in libX11 (e.g. _XCloseLC() still uses a global variable with no locks), and the relevant libX11 bugs are still open. Are you sure that the bug is fixed?
The patch adds _Xil8n_lock mutex for lcd_list access in _XCloseLC() and it also creates a new mutex _conv_lock for conv_list access in locking.c which is used in converter functions in lcConv.c.
I don't know why after all these years this bug is still open and is this patch a thing which will solve all the problems but at least in my case I was able to get rid of lock ups and crashes when running SierraChart on Wine. The same has happened for many others in SierraChart message board.
So while waiting better solutions/patches I am just using it and happy.