https://bugs.winehq.org/show_bug.cgi?id=34875
--- Comment #12 from super_man@post.com --- Actually I found the crash location.
dlls/user32/win.c
SetWindowTextW
I just added a nullcheck like this
if(hwnd ==NULL) FIXME("Print something");
and it let the application start without any crash.
The real problem could be related to the EM_SETMARGINS: stub messge.
Or where the NULL comes?