http://bugs.winehq.org/show_bug.cgi?id=33092
Bug #: 33092 Summary: Melodyne Studio demo crashes on startup Product: Wine Version: 1.4.1 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jules.bernable@laposte.net Classification: Unclassified
Created attachment 43757 --> http://bugs.winehq.org/attachment.cgi?id=43757 wine backtrace
Could the same issue as #16650, however this is happening with wine 1.4.1 on debian wheezy.
http://bugs.winehq.org/show_bug.cgi?id=33092
--- Comment #1 from ju1ius jules.bernable@laposte.net 2013-03-01 17:58:08 CST --- Created attachment 43758 --> http://bugs.winehq.org/attachment.cgi?id=43758 The output of the terminal
http://bugs.winehq.org/show_bug.cgi?id=33092
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2013-03-01 18:10:09 CST --- Please update to wine 1.5.25 and get a new log, see http://wiki.winehq.org/FAQ#get_log
http://bugs.winehq.org/show_bug.cgi?id=33092
--- Comment #3 from Martin martin.drautzburg@web.de 2013-10-03 05:34:37 CDT --- Created attachment 46179 --> http://bugs.winehq.org/attachment.cgi?id=46179 wine-1.7.3-log
Melodyne 3.2 Demo wine-1.7.3 (compiled from source)
http://bugs.winehq.org/show_bug.cgi?id=33092
Martin martin.drautzburg@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.drautzburg@web.de
--- Comment #4 from Martin martin.drautzburg@web.de 2013-10-03 05:36:28 CDT --- I get a similar error under wine-1.7.3 and Melodyne 3.2 Demo. See wine-1.7.3-log.
http://bugs.winehq.org/show_bug.cgi?id=33092
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://assets.celemony.com/ | |demos/MelodyneDemo/3.2/Melo | |dyne.Demo.3.2.1.5.Setup.exe CC| |focht@gmx.net Component|-unknown |kernel32 Summary|Melodyne Studio demo |Melodyne Studio demo |crashes on startup |crashes on startup due to | |kernel32 forwarding some | |16-bit API to krnl386.exe16 Ever Confirmed|0 |1
--- Comment #5 from Anastasius Focht focht@gmx.net 2013-10-03 07:05:26 CDT --- Hello folks,
please don't attach application generated minidumps (.dmp), they are useless. Wine's own crash dialog -> "show details" -> "save as" -> attach the file.
Anyway ... the app uses Win9x era quick thunking for calling 16-bit API GetFreeSystemResources() to determine free system resources.
There are 3 problematic kernel32 forwards:
http://source.winehq.org/git/wine.git/blob/fa6b0580702b1cdcf97f64ac34b530956...
--- snip --- 45 35 stdcall -noname -i386 -private LoadLibrary16(str) krnl386.exe16.LoadLibrary16 46 36 stdcall -noname -i386 -private FreeLibrary16(long) krnl386.exe16.FreeLibrary16 47 37 stdcall -noname -i386 -private GetProcAddress16(long str) krnl386.exe16.GetProcAddress16 --- snip ---
I found an old C source file to illustrate what they do. It does not 100% match the actual app code but it gives you the idea.
Source: http://rtoss.googlecode.com/svn-history/TClock2ch/tc2ch/dll/sysres.c
--- snip --- void InitSysres(void) { if(bInitSysres) return;
bInitSysres = TRUE;
// if (VERSION != 9x) return; if(!(GetVersion() & 0x80000000)) return;
if(hmodKERNEL32 == NULL) hmodKERNEL32 = LoadLibrary("KERNEL32.dll"); if(hmodKERNEL32 == NULL) return;
LoadLibrary16 = (pfnLoadLibrary16)GetProcAddressByOrdinal(hmodKERNEL32, 35); FreeLibrary16 = (pfnFreeLibrary16)GetProcAddressByOrdinal(hmodKERNEL32, 36); GetProcAddress16 = (pfnGetProcAddress16)GetProcAddressByOrdinal(hmodKERNEL32, 37); QT_Thunk = (pfnQT_Thunk)GetProcAddress(hmodKERNEL32, "QT_Thunk"); if(LoadLibrary16 == NULL || FreeLibrary16 == NULL || GetProcAddress16 == NULL || QT_Thunk == NULL) { FreeLibrary(hmodKERNEL32); hmodKERNEL32 = NULL; return; }
hmodUSER16 = LoadLibrary16("USER.EXE"); if(hmodUSER16 < (HMODULE)32) { FreeLibrary(hmodKERNEL32); hmodKERNEL32 = NULL; hmodUSER16 = NULL; return; }
dwGetFreeSystemResources = GetProcAddress16(hmodUSER16, "GetFreeSystemResources"); if(dwGetFreeSystemResources == 0) { FreeLibrary(hmodKERNEL32); hmodKERNEL32 = NULL; FreeLibrary16(hmodUSER16); hmodUSER16 = NULL; } } --- snip ---
The import resolver:
--- snip --- /*------------------------------------------------ get a procedure address in DLL by ordinal --------------------------------------------------*/ FARPROC GetProcAddressByOrdinal(HMODULE hModule, int ord) { #ifdef _WIN64 UNREFERENCED_PARAMETER(hModule); UNREFERENCED_PARAMETER(ord); _ASSERTE(0); return 0;
#else IMAGE_NT_HEADERS *hdr; IMAGE_EXPORT_DIRECTORY *exp; DWORD *AddrFunc; WORD enewhdr, *pw; BYTE *moddb;
moddb = (BYTE *)hModule; pw = (WORD *) &moddb[0]; if (*pw != EMAGIC) return 0; pw = (WORD *) &moddb[ENEWHDR]; enewhdr = *pw; pw = (WORD *) &moddb[enewhdr]; if (*pw != PEMAGIC) return 0; hdr = (IMAGE_NT_HEADERS *) pw;
exp = (IMAGE_EXPORT_DIRECTORY *) (((DWORD_PTR) moddb) + ((DWORD_PTR) GET_DIR(IMAGE_DIRECTORY_ENTRY_EXPORT))); AddrFunc = (DWORD *) (moddb + (DWORD) exp->AddressOfFunctions);
ord--; if ((DWORD)ord < exp->NumberOfFunctions) return (FARPROC)( (ULONG_PTR)(moddb + AddrFunc[ord]) ); else return 0;
#endif _WIN64 } --- snip ---
$ du -sh Melodyne.Demo.3.2.1.5.Setup.exe 39M Melodyne.Demo.3.2.1.5.Setup.exe
$ sha1sum Melodyne.Demo.3.2.1.5.Setup.exe e8caa6acb5a02c99791f54558f4bd1daec143ca9 Melodyne.Demo.3.2.1.5.Setup.exe
$ wine --version wine-1.7.3-187-gec28040
Regards
http://bugs.winehq.org/show_bug.cgi?id=33092
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46179|melodyne.dmp |melodyne.txt filename| | Attachment #46179|application/octet-stream |text/plain mime type| |
https://bugs.winehq.org/show_bug.cgi?id=33092
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #6 from super_man@post.com --- still crashing 1.7.51
https://bugs.winehq.org/show_bug.cgi?id=33092
--- Comment #7 from Martin martin.drautzburg@web.de --- Wine-1.7.50 runs the current "Medodyne editor (singletrack)", but not "Melodyne Studio" (neither 3.1.2.0 nor the newer 3.2.1.5).
As a workaround to get "Meldodyne studio" running I compiled Wine-1.1.13. This was quite painful, as it doesn't compile out of the box anymore. I had to change the following line:
in dlls/mountmgr.sys/mountmgr.c - IO_STACK_LOCATION *irpsp = irp->Tail.Overlay.s.u.CurrentStackLocation; + IO_STACK_LOCATION *irpsp = irp->Tail.Overlay.s.u2.CurrentStackLocation;
and exclude some of the tests from the build, by editing TESTSUBDIRS in dlls/Makefile and ALL_TEST_DIRS in programs/winetest/Makefile, namely
# gdi32/tests # kernel32/tests # ntdll/tests # rpcrt4/tests # shell32/tests # shlwapi/tests # urlmon/tests # user32/tests # wininet/tests
Also I had to use wineasio-0.9.2.
This way I got Meldodyne running again.
https://bugs.winehq.org/show_bug.cgi?id=33092
--- Comment #8 from super_man@post.com --- still crashes 1.9-git
https://bugs.winehq.org/show_bug.cgi?id=33092
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #9 from winetest@luukku.com --- (In reply to super_man from comment #8)
still crashes 1.9-git
Crashes with wine 1.9.15-git and staging 1.9.15
https://bugs.winehq.org/show_bug.cgi?id=33092
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #10 from joaopa jeremielapuree@yahoo.fr --- Still a bug with wine-5.0-rc1. Download link is burst. But you can find the software here https://download.cnet.com/Melodyne/3001-2170_4-33573.html Can an administrator put the link at the URL place?
https://bugs.winehq.org/show_bug.cgi?id=33092
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://assets.celemony.com/ |https://web.archive.org/web |demos/MelodyneDemo/3.2/Melo |/20191220185956/https://fil |dyne.Demo.3.2.1.5.Setup.exe |es.downloadnow.com/s/softwa | |re/54/59/99/Melodyne.Demo.3 | |.2.1.5.Setup.exe?token=1576 | |904329_a724d450c6f2a81abbe8 | |50aff0450d76&fileName=Melod | |yne.Demo.3.2.1.5.Setup.exe
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello,
--- quote --- Can an administrator put the link at the URL place? --- quote ---
thanks for the link. I've created a snapshot via Internet Archive which is more stable. Even third-party/mirror sites drop/replace content at one point in time.
https://web.archive.org/web/20191220185956/https://files.downloadnow.com/s/s...
Don't mind the strange URL. The additional parameters after the filename are needed for the snapshot mechanism to cope with CDNs that use dynamically generated links (act like a session cookie).
$ sha1sum Melodyne.Demo.3.2.1.5.Setup.exe e8caa6acb5a02c99791f54558f4bd1daec143ca9 Melodyne.Demo.3.2.1.5.Setup.exe
$ du -sh Melodyne.Demo.3.2.1.5.Setup.exe 39M Melodyne.Demo.3.2.1.5.Setup.exe
$ wine --version wine-5.0-rc1-60-g4335be3462
Regards
https://bugs.winehq.org/show_bug.cgi?id=33092
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=50375