http://bugs.winehq.org/show_bug.cgi?id=5077
------- Additional Comments From vitaliy@kievinfo.com 2006-13-05 10:08 ------- I thought so. Refcount bug most often visable only on exit or mod changes.
In your case it seems something crashes/locksup. Could you run it with +tid and check if it is multithreaded?
Also enable some more traces (around x11drv) to see what it's waiting on?