https://bugs.winehq.org/show_bug.cgi?id=51765
--- Comment #5 from Konstantin Kharlamov hi-angel@yandex.ru --- (In reply to Nikolay Sivov from comment #3)
If you get X error, it's probably X11DRV_ExtEscape or xrenderdrv_ExtEscape.
Oh, I didn't realize it is the callback, thanks! I reduced problem down to X11 function call `XFreeGC( gdi_display, physDev->gc );`, that is something