http://bugs.winehq.org/show_bug.cgi?id=10037
--- Comment #11 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-17 16:19:31 --- I should have written it more clearly. You should do (I'll also add +seh,+tid as they might be helpful):
WINEDEBUG=+relay,+seh,+tid wine Photoshop &>output
And send 10000 or 20000 last lines of the log.