https://bugs.winehq.org/show_bug.cgi?id=47399
Bug ID: 47399 Summary: Mozart 13 crashes on startup Product: Wine Version: 4.10 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: madewokherd@gmail.com Distribution: ---
Mozart 13 can be downloaded from: http://www.mozart.co.uk/programs/mzsetup.exe
It crashes while starting up. This line from the relay trace looks relevant:
0009:Call user32.CreateWindowExW(00000000,0120bb60 L"",01ac3e00 L"Mozart",00cf8000,80000000,80000000,80000000,80000000,00000000,00010066,00400000,00000000) ret=00c6eb88
It's trying to create a window with an empty string for a class name, and that fails.
https://bugs.winehq.org/show_bug.cgi?id=47399
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.mozart.co.uk/pro | |grams/mzsetup.exe CC| |madewokherd@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47399
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |20694
https://bugs.winehq.org/show_bug.cgi?id=47399
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 64751 --> https://bugs.winehq.org/attachment.cgi?id=64751 patch
It's a bug in msvcr120.wcscpy_s(): the app passes source == dest, and that kills the buffer contents.
https://bugs.winehq.org/show_bug.cgi?id=47399
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #64751|0 |1 is patch| |
https://bugs.winehq.org/show_bug.cgi?id=47399
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=47399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msvcrt URL|http://www.mozart.co.uk/pro |https://web.archive.org/web |grams/mzsetup.exe |/20190622082104/http://www. | |mozart.co.uk/programs/mzset | |up.exe CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=47399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Mozart 13 crashes on |Mozart 11-13 crashes on |startup |startup
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
it seems at least Mozart 11 and 12 are affected as well. Refining summary to include those.
https://web.archive.org/web/20130604002601/http://www.mozart.co.uk/programs/... -> Mozart 11 (using VC++ 2013 runtime -> msvc*100)
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Mozart11
$ WINEDEBUG=+seh,+relay,+msvcrt wine ./mozart.exe >>log.txt 2>&1 ... 002a:Call user32.RegisterClassW(0034fd58) ret=7883020e ... 002a:Call msvcr100.wcslen(009f8020 L"Mz32:Frame") ret=00724994 002a:Ret msvcr100.wcslen() retval=0000000a ret=00724994 002a:Call msvcr100.wcscpy_s(009f8020,0000000b,009f8020 L"Mz32:Frame") ret=007249b0 002a:Ret msvcr100.wcscpy_s() retval=00000000 ret=007249b0 ... 002a:Ret user32.RegisterClassW() retval=0000c080 ret=7883020e 002a:Call KERNEL32.DeactivateActCtx(00000000,001a4668) ret=78830250 002a:Ret KERNEL32.DeactivateActCtx() retval=00000001 ret=78830250 002a:Call msvcr100.wcslen(009f8020 L"Mz32:Frame") ret=00724994 002a:Ret msvcr100.wcslen() retval=0000000a ret=00724994 002a:Call msvcr100.wcscpy_s(009f8020,0000000b,009f8020 L"Mz32:Frame") ret=007249b0 002a:Ret msvcr100.wcscpy_s() retval=00000000 ret=007249b0 ... 002a:Call user32.CreateWindowExW(00000000,009f8020 L"",0114e378 L"Mozart",00cf8000,80000000,80000000,80000000,80000000,00000000,000100e0,00400000,00000000) ret=788302bf ... 002a:trace:seh:raise_exception code=c000001d flags=0 addr=0x115553d ip=0115553d tid=002a 002a:trace:seh:raise_exception eax=0114008a ebx=01155400 ecx=01155500 edx=01155500 esi=00b2aff0 edi=004392f0 002a:trace:seh:raise_exception ebp=0034fe88 esp=0034fe1b cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010a13 002a:trace:seh:call_stack_handlers calling handler at 0x41be83 code=c000001d flags=0 002a:trace:seh:call_stack_handlers handler at 0x41be83 returned 1 002a:trace:seh:call_stack_handlers calling handler at 0x4199c9 code=c000001d flags=0 002a:Call msvcr100._except_handler4_common(00433028,0041957e,0034fdc0,0034ff20,0034faf4,0034fa4c) ret=004199e9 --- snip ---
$ sha1sum mzsetup.exe 1b5ab2671b601883ec2805078f33798e6a8e86c5 mzsetup.exe
$ du -sh mzsetup.exe 23M mzsetup.exe
$ wine --version wine-4.11
Regards
https://bugs.winehq.org/show_bug.cgi?id=47399
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |9ade30d0ce7f107e775c72e628f | |f6e4444b9bdf4 Status|NEW |RESOLVED
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- Commited as 9ade30d0ce7f107e775c72e628ff6e4444b9bdf4.
https://bugs.winehq.org/show_bug.cgi?id=47399
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.12.
https://bugs.winehq.org/show_bug.cgi?id=47399
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=47399
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.3.