https://bugs.winehq.org/show_bug.cgi?id=52652
--- Comment #18 from Artem S. Tashkinov aros@gmx.com --- (In reply to Jacek Caban from comment #17)
Created attachment 72079 [details] wintab hack
The crash in logs happens soon wintab32.dll is loaded and unloaded. During that process, it registers and unregisters a window class, so that's likely what triggers the crash, but I don't see how (and I still can't reproduce it, which makes debugging tricky). Please try the attached hack, which disables wintab32.dll, to confirm that it's relevant to the crash.
The patch fixes the issue actually. Photoshop CS2 works as well.
Without the patch both crash. I'll mark the second bug as a dupe of this one.