http://bugs.winehq.org/show_bug.cgi?id=30254
Bug #: 30254 Summary: SmartScore X Pro demo crashes on startup Product: Wine Version: 1.5.0 Platform: x86 URL: http://www.musitek.com/Demos/SSXDemo.msi OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: fossw00t@gmail.com Classification: Unclassified
Created attachment 39516 --> http://bugs.winehq.org/attachment.cgi?id=39516 backtrace
The program seems to enter a messaging loop on startup: it calls EndDialog which calls WINPOS_ActivateOtherWindow which ends up activating the destroyed dialog.
The resulting crash is a divide-by-zero because SendMessage fails (max recursion) and returns zero for LB_GETITEMHEIGHT.
http://bugs.winehq.org/show_bug.cgi?id=30254
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Austin English austinenglish@gmail.com 2012-03-24 13:52:25 CDT --- Confirming.
http://bugs.winehq.org/show_bug.cgi?id=30254
--- Comment #2 from John Doe fossw00t@gmail.com 2012-03-25 01:38:40 CDT --- Created attachment 39532 --> http://bugs.winehq.org/attachment.cgi?id=39532 patch
The loop is caused by dlls/user32/focus.c lines 97-98:
SendMessageW( previous, WM_ACTIVATE, MAKEWPARAM( WA_INACTIVE, IsIconic(previous) ), (LPARAM)hwnd );
I wonder why the program calls EndDialog when the dialog is deactivated...
The patch fixes the crash for me. I'm not sure it is correct though...
http://bugs.winehq.org/show_bug.cgi?id=30254
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2012-09-01 22:08:23 CDT --- Still in wine 1.5.12.
http://bugs.winehq.org/show_bug.cgi?id=30254
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #4 from Jarkko K jarkko_korpi@hotmail.com --- The link provieded doesn't work.
I found this http://www.musitek.com/smartscore-player.html
and more direct link
http://www.musitek.com/Public/Player/SSXPlayer.msi
Installed with msiexec /i SSXPlayer.msi
and I couldnt see the issue mentioned here.
Wine got patched? Program got changed?
wine 1.7.18
http://bugs.winehq.org/show_bug.cgi?id=30254
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|download | URL|http://www.musitek.com/Demo | |s/SSXDemo.msi | CC| |focht@gmx.net Summary|SmartScore X Pro demo |SmartScore X Pro (full and |crashes on startup |demo) v10.x crashes on | |startup
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello Jarkko,
your link is a different product from the same vendor which doesn't exhibit the problem.
--- quote --- Wine got patched? Program got changed? --- quote ---
The old demo is gone but fortunately one can find 'Musitek SmartScore X Professional v10.0.1' using web search, thanks to some guys still seeding.
Confirming, still present.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Musitek/SmartScore X Professional Edition
$ WINEDEBUG=+tid,+seh,+relay,+win wine ./SmartScore_pro.exe >>log.txt 2>&1 ... 0023:Call user32.EndDialog(0001015a,00000002) ret=00703393 ... 0023:trace:win:USER_SetWindowPos status flags = 1807 0023:trace:win:WINPOS_ActivateOtherWindow win = 0x1004e fg = (nil) 0023:trace:win:SetForegroundWindow 0x1004e ... 0023:Call user32.GetWindowLongA(0001015a,fffffff0) ret=007020bd 0023:Ret user32.GetWindowLongA() retval=8480004c ret=007020bd 0023:Call user32.GetParent(0001015a) ret=004eed71 0023:Ret user32.GetParent() retval=00000000 ret=004eed71 0023:Call user32.GetParent(0001015a) ret=00702317 0023:Ret user32.GetParent() retval=00000000 ret=00702317 0023:Call user32.SendMessageA(0001015a,0000036e,00000000,00313d5c) ret=00700edf 0023:Call window proc 0x700149 (hwnd=0x1015a,msg=WM_ACTIVATETOPLEVEL,wp=00000000,lp=00313d5c) 0023:Ret window proc 0x700149 (hwnd=0x1015a,msg=WM_ACTIVATETOPLEVEL,wp=00000000,lp=00313d5c) retval=00000000 0023:Ret user32.SendMessageA() retval=00000000 ret=00700edf 0023:Call user32.CallWindowProcA(7ec14f01,0001015a,00000006,00000000,00000000) ret=006fdf2e 0023:Call window proc 0x7ec14f01 (hwnd=0x1015a,msg=WM_ACTIVATE,wp=00000000,lp=00000000) 0023:trace:win:WIN_SetWindowLong 0x1015a 0 0 W 0023:Call dialog proc 0x70322b (hwnd=0x1015a,msg=WM_ACTIVATE,wp=00000000,lp=00000000) 0023:Ret dialog proc 0x70322b (hwnd=0x1015a,msg=WM_ACTIVATE,wp=00000000,lp=00000000) retval=00000000 result=00000000 0023:Ret window proc 0x7ec14f01 (hwnd=0x1015a,msg=WM_ACTIVATE,wp=00000000,lp=00000000) retval=00000000 0023:Ret user32.CallWindowProcA() retval=00000000 ret=006fdf2e 0023:Call user32.SendMessageA(0001015c,00000200,00000000,00000000) ret=006b3c5e 0023:Call window proc 0x700149 (hwnd=0x1015c,msg=WM_MOUSEMOVE,wp=00000000,lp=00000000) 0023:Call user32.SendMessageA(0001015c,000001a1,00000000,00000000) ret=00685ff7 0023:Ret user32.SendMessageA() retval=00000000 ret=00685ff7 0023:Call user32.SendMessageA(0001015c,0000018e,00000000,00000000) ret=00686008 0023:Ret user32.SendMessageA() retval=00000000 ret=00686008 0023:trace:seh:raise_exception code=c0000094 flags=0 addr=0x68600d ip=0068600d tid=0023 0023:trace:seh:raise_exception eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=01b629ec edi=7ebf2180 0023:trace:seh:raise_exception ebp=00000000 esp=00313a08 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210202 0023:trace:seh:call_stack_handlers calling handler at 0x745050 code=c0000094 flags=0 0023:trace:seh:call_stack_handlers handler at 0x745050 returned 1 ... Unhandled exception: divide by zero in 32-bit code (0x0068600d). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:0068600d ESP:00313a08 EBP:00000000 EFLAGS:00210202( R- -- I - - - ) EAX:00000000 EBX:00000000 ECX:00000000 EDX:00000000 ESI:01b629ec EDI:7ebf2180 ... Backtrace: =>0 0x0068600d in smartscore_pro (+0x28600d) (0x00000000) 0x0068600d: idivl %ebx,%eax Modules: Module Address Debug info Name (118 modules) PE 350000- 37d000 Deferred enfcur PE 3b0000- 3bb000 Deferred ss5timer PE 400000- 191b000 Export smartscore_pro PE 10000000-10025000 Deferred libexpat ... Threads: process tid prio (all id:s are in hex) ... 00000022 (D) C:\Program Files\Musitek\SmartScore X Professional Edition\SmartScore_pro.exe 00000025 15 00000024 0 00000023 0 <== --- snip ---
$ wine --version wine-1.7.18-92-gb01fc1a
Regards
https://bugs.winehq.org/show_bug.cgi?id=30254
--- Comment #6 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=30254
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk URL| |http://www.musitek.com/Demo | |s/SSX2Demo.msi Keywords| |download
--- Comment #7 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Still present and the patch from comment 3 still works around the crash.
sha1sum SSX2Demo.msi 41ee64c178453051e5a638eacd24468ec04e7ed8 SSX2Demo.msi
https://bugs.winehq.org/show_bug.cgi?id=30254
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #8 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-5.0-rc1 Here is a working link http://www.download82.com/get/download/windows/smartscore-x2-pro/
Can an administrator put the link at the URL place?
https://bugs.winehq.org/show_bug.cgi?id=30254
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch URL|http://www.musitek.com/Demo |http://www.download82.com/g |s/SSX2Demo.msi |et/download/windows/smartsc | |ore-x2-pro/
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to joaopa from comment #8)
Bug still occurs with wine-5.0-rc1 Here is a working link http://www.download82.com/get/download/windows/smartscore-x2-pro/
Can an administrator put the link at the URL place?
Done
Added patch keyword.
Maybe someone who knows more about user32/dialog could have a look at it.
https://bugs.winehq.org/show_bug.cgi?id=30254
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.download82.com/g |https://web.archive.org/web |et/download/windows/smartsc |/20191220095417/http://fs2. |ore-x2-pro/ |download82.com/software/bbd | |8ff9dba17080c0c121804efbd61 | |d5/smartscore-x2-pro/SSX2De | |mo.msi