https://bugs.winehq.org/show_bug.cgi?id=47649
Bug ID: 47649 Summary: Wavelab 6 Installs but cannot launch Product: Wine Version: 4.14 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: shagooserver@gmail.com Distribution: ---
Created attachment 65087 --> https://bugs.winehq.org/attachment.cgi?id=65087 wavelab 6 error report
Program installs but upon launch throws out an error, also produces a report to submit with bug report which is attached.
https://bugs.winehq.org/show_bug.cgi?id=47649
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #1 from Paul Gofman gofmanp@gmail.com --- Looks very similar to Bug #47633. I don't have the program to test, but:
- The crash address is inside stack, after call to SetProcessWorkingSetSize(); - SetProcessWorkingSetSize() got DECLSPEC_HOTPATCH attribute lately (commit 09f588ee6909369b541398dd392d3ff77231e6a6), and is stub similar to SetThreadStackGuarantee() concerned by Bug #47633; - I can see the same problem in compiled SetProcessWorkingSetSize() in my local build:
--- 7125f7d0 _SetProcessWorkingSetSizeEx@16: 7125f7d0: 8b ff mov %edi,%edi
7125f7d2: 55 push %ebp 7125f7d3: 8b ec mov %esp,%ebp 7125f7d5: f6 05 5c e0 27 71 04 testb $0x4,0x7127e05c 7125f7dc: 75 12 jne 7125f7f0 <_SetProcessWorkingSetSizeEx@16+0x20> 7125f7de: b8 01 00 00 00 mov $0x1,%eax
; stack top is saved ebp here, missing 'add $0x4, %esp' or similar
7125f7e3: c2 10 00 ret $0x10 7125f7e6: 8d 76 00 lea 0x0(%esi),%esi .... ---
So ultimately it looks like a duplicate of Bug #47633, the root cause is the same but the commit that triggered compiler bug here is different.
https://bugs.winehq.org/show_bug.cgi?id=47649
--- Comment #2 from Scott shagooserver@gmail.com --- Although I do not understand what you are saying this program used to be launched in the version 3 series of wine. The program can be downloaded from Steinburg, the publisher, at ftp://ftp.steinberg.net/Download/WaveLab_6/6.1.1.353/WaveLab_6.1.1_Update.zip
https://bugs.winehq.org/show_bug.cgi?id=47649
--- Comment #3 from Paul Gofman gofmanp@gmail.com --- (In reply to Scott from comment #2)
this program used to be launched in the version 3 series of wine.
Yes, sure. gcc issue is triggered by declaring some additional functions with DECLSPEC_HOTPATCH and switching to no-PIC builds. Both changes were introduced recently in 4.x versions.
https://bugs.winehq.org/show_bug.cgi?id=47649
--- Comment #4 from Paul Gofman gofmanp@gmail.com --- I suppose it should be fixed now by commit 5fb8e3edef02030c056dc827bfbdf3c45c78bdac
https://bugs.winehq.org/show_bug.cgi?id=47649
--- Comment #5 from Scott shagooserver@gmail.com --- Do you know if it will be released as a patch or I need to download a new release of something?
https://bugs.winehq.org/show_bug.cgi?id=47649
--- Comment #6 from Paul Gofman gofmanp@gmail.com --- It is a patch in development tree. So it should appear in the next release (4.15). Or you can build Wine from the latest source.
https://bugs.winehq.org/show_bug.cgi?id=47649
--- Comment #7 from Scott shagooserver@gmail.com --- I'm glad you know what's going on, I thought the issue was this bug you submitted: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91489
Thanks for your feedback.
https://bugs.winehq.org/show_bug.cgi?id=47649
--- Comment #8 from Paul Gofman gofmanp@gmail.com --- (In reply to Scott from comment #7)
I thought the issue was this bug you submitted: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91489
Yes, it is the root issue, and unfortunately it is still potentially affecting something else. But the crash reported in this bug triggered in SetProcessWorkingSetSize() function should be worked around by the referenced commit. Forgot to mention earlier, I think this crash in Wine 4.14 can be worked around by running with 'WINEDEBUG=warn+process' environment variable.
https://bugs.winehq.org/show_bug.cgi?id=47649
--- Comment #9 from Scott shagooserver@gmail.com --- Have installed Wine 4.15 and there is some improvement as I now get a splash screen but also the error:
002b:err:module:import_dll Library MFC42.DLL (which is needed by L"C:\users\scottubuntu\Temp\is-5MSGK.tmp\isskin.dll") not found.
This file and folder does not exist/
I have installed both vcrun6sps6 and mfc40 through winetricks.
https://bugs.winehq.org/show_bug.cgi?id=47649
--- Comment #10 from Scott shagooserver@gmail.com --- Must have needed a reboot - all sweet now.
https://bugs.winehq.org/show_bug.cgi?id=47649
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5fb8e3edef02030c056dc827bfb | |df3c45c78bdac Status|UNCONFIRMED |RESOLVED Component|-unknown |kernelbase CC| |focht@gmx.net Summary|Wavelab 6 Installs but |Wavelab 6 Installs but |cannot launch |cannot launch (Mingw | |generates misplaced stack | |pointer in | |DECLSPEC_HOTPATCH stubs for | |32-bit) Resolution|--- |FIXED See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=91489
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello folks,
the original problem was fixed by commit https://source.winehq.org/git/wine.git/commitdiff/5fb8e3edef02030c056dc827bf... ("kernelbase: Comment out DECLSPEC_HOTPATCH on stub functions.").
Thanks Alexandre
Part of Wine 4.15 release.
Regards
https://bugs.winehq.org/show_bug.cgi?id=47649
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=47649
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|kernelbase |kernel32