https://bugs.winehq.org/show_bug.cgi?id=49286
Bug ID: 49286 Summary: Melodyne 5 crashes due to unimplimented WS2_32.dll.GetHostNameW Product: Wine-staging Version: 5.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ToxicBugzilla@outlook.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 67291 --> https://bugs.winehq.org/attachment.cgi?id=67291 The backtrace.
Installed Melodyne 5 trial (https://services.celemony.com/cgi-bin/WebObjects/LicenseApp.woa/wa/demoRegis...) with mfc42, vcrun6, and vcrun2019 installed in a 64 bit prefix due to Melodyne 5 only working in 64 bit now. (installer will crash without it due to missing dll contained, plus Melodyne 5 needs vcrun2019 from my research) Installer works fine, (b47a56f747bf3a477f2a564ee65eb005d40e6ef7 setup.exe) but launching the resulting Melodyne.exe (e9b21aa11efbbc01d76df17ee4e7a421c2186986 [sha1 of Melodyne.exe could vary due to unique installs on every computer? unsure, but setup.exe should stay the same) itself will give this in the terminal:
002c:fixme:winediag:__wine_start_process Wine Staging 5.8 is a testing version containing experimental patches. 002c:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org. 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsnwprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsnwprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:ole:CoInitializeSecurity (0000000000000000,-1,0000000000000000,0000000000000000,0,3,0000000000000000,0,0000000000000000) - stub! 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsprintf_s options 24 not handled 00c0:fixme:msvcrt:MSVCRT__stdio_common_vsnprintf_s options 24 not handled 00c0:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION wine: Call from 0x7bc8b9ac to unimplemented function WS2_32.dll.GetHostNameW, aborting wine: Unimplemented function WS2_32.dll.GetHostNameW called at address 000000007BC8B9AC (thread 00c0), starting debugger...
Due to being unable to find any mention of it anywhere except for Microsoft's website noting of its addition, this is probably a bug in normal Wine & development as well, but I have yet to test due to time constraints. Also, when opening "show details" in the debugger, "00c8:fixme:dbghelp:elf_search_auxv can't find symbol in module" get spammed in the terminal excessively. (62 times)
https://bugs.winehq.org/show_bug.cgi?id=49286
Xenoslyce ANONYMOUS ToxicBugzilla@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Melodyne 5 crashes due to |Melodyne 5 installs but |unimplimented |crashes when launched |WS2_32.dll.GetHostNameW |(unimplimented | |WS2_32.dll.GetHostNameW | |woes)
https://bugs.winehq.org/show_bug.cgi?id=49286
Xenoslyce ANONYMOUS ToxicBugzilla@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=49286
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine-staging |Wine Component|-unknown |winsock
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Moved to wine component.
https://bugs.winehq.org/show_bug.cgi?id=49286
Pieter pieter+winehq@gtschlckx.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pieter+winehq@gtschlckx.be
--- Comment #2 from Pieter pieter+winehq@gtschlckx.be --- Created attachment 67296 --> https://bugs.winehq.org/attachment.cgi?id=67296 Patch to add GetHostNameW
I added GetHostNameW to ws2_32.dll. That solves this problem, but it still crashes later.
017c:fixme:msvcrt:MSVCRT__stdio_common_vsnprintf_s options 24 not handled 017c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 017c:fixme:msvcrt:MSVCRT__stdio_common_vsnprintf_s options 24 not handled 017c:fixme:seh:read_unwind_info unknown flag: 2 017c:fixme:seh:read_unwind_info unknown flag: 2 017c:fixme:seh:read_unwind_info unknown flag: 2
https://bugs.winehq.org/show_bug.cgi?id=49286
Xenoslyce ANONYMOUS ToxicBugzilla@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|5.9 |5.8
https://bugs.winehq.org/show_bug.cgi?id=49286
Xenoslyce ANONYMOUS ToxicBugzilla@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|5.8 |5.9
https://bugs.winehq.org/show_bug.cgi?id=49286
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #3 from Vijay Kamuju infyquest@gmail.com --- please send the patch wine-devel@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #4 from Vijay Kamuju infyquest@gmail.com --- Please try the patch #186184 https://source.winehq.org/patches/data/186184
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #5 from Xenoslyce ANONYMOUS ToxicBugzilla@outlook.com --- (In reply to Vijay Kamuju from comment #4)
Please try the patch #186184 https://source.winehq.org/patches/data/186184
Wondering if someone else can compile, since my laptop is pretty low end and would take hours or even days to compile Wine from source
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #6 from Pieter pieter+winehq@gtschlckx.be --- Created attachment 67313 --> https://bugs.winehq.org/attachment.cgi?id=67313 Log file
I compiled with patch #186184. It still crashes, but I don't think it's because of GetHostNameW.
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- (In reply to Pieter from comment #6)
Created attachment 67313 [details] Log file
I compiled with patch #186184. It still crashes, but I don't think it's because of GetHostNameW.
This is bug 49262, and in general you probably don't want to use WINEDEBUG=+all. It produces far too much output, almost of which is unhelpful, and slows down execution.
https://bugs.winehq.org/show_bug.cgi?id=49286
Pieter pieter+winehq@gtschlckx.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #67313|0 |1 is obsolete| |
--- Comment #8 from Pieter pieter+winehq@gtschlckx.be --- Created attachment 67314 --> https://bugs.winehq.org/attachment.cgi?id=67314 Backtrace
I used WINEDEBUG=+all because it was crashing. I disabled it and attached the backtrace now.
https://bugs.winehq.org/show_bug.cgi?id=49286
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch URL| |https://services.celemony.c | |om/cgi-bin/WebObjects/Licen | |seApp.woa/wa/demoRegistrati | |on?item=Melodyne5-Demo-Win& | |language=en CC| |xerox.xerox2000x@gmail.com Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com --- Add some info
I had a look at +relaylog, one thing that looks unusual to me is line below,
00a8:Call KERNEL32.CreateFileW(01fd0260 L"C:\users\louis\Application Data\Ce lemony Software GmbH\com.celemony.melodyne.plist",80000000,00000003,0021f260,00 000003,7f0900000080,00000000) ret=1815b8072 . . 00a8:Ret KERNEL32.CreateFileW() retval=ffffffffffffffff ret=1815b8072
To see if it might be a kind of regression I applied Vijay`s patch on top of wine-5.0, and then the application starts fine for me; also there is a file com.celemony.melodyne.plist created in the above mentioned directory then.
Looks like there`s some kind of regression here; if anyone could do a regressiontest that`d be nice; Maybe if i i have time I`ll do later myself but i hope someone beats me...
@Vijay: so the patch for GetHostNameW seems to work ok
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #10 from Pieter pieter+winehq@gtschlckx.be --- Installing vcrun2019 and overriding vcruntime140_1 solves the problem.
Before https://source.winehq.org/git/wine.git/commit/7a5cf7cce935841f8415fd6383cfbe... there was no builtin vcruntime140_1, so that's the regression.
https://bugs.winehq.org/show_bug.cgi?id=49286
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Melodyne 5 installs but |Melodyne 5 installs but |crashes when launched |crashes when launched |(unimplimented |(needs |WS2_32.dll.GetHostNameW |ws2_32.dll.GetHostNameW) |woes) |
--- Comment #11 from Zebediah Figura z.figura12@gmail.com --- (In reply to Pieter from comment #10)
Installing vcrun2019 and overriding vcruntime140_1 solves the problem.
Before https://source.winehq.org/git/wine.git/commit/ 7a5cf7cce935841f8415fd6383cfbe6af4d8b3d1 there was no builtin vcruntime140_1, so that's the regression.
Can you please file a new bug report for this?
https://bugs.winehq.org/show_bug.cgi?id=49286
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #12 from joaopa jeremielapuree@yahoo.fr --- Duplicate of bug Bug 49286 Can an administrator close this bug as Duplicate of Bug 49286?
PS/ Reporter, please check your bug does not exist yet before reporting it.
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #13 from joaopa jeremielapuree@yahoo.fr --- Argh.... Wrong bug...
https://bugs.winehq.org/show_bug.cgi?id=49286
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |horstbusche@gmail.com
--- Comment #14 from Louis Lenders xerox.xerox2000x@gmail.com --- *** Bug 49922 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #15 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi Vijay,
What`s the status of your patch at https://source.winehq.org/patches/data/186184 ? Ever thought of resending /improving (if needed ??)?
Care to resend or maybe it could be included in Staging (???)
Regards
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #16 from Vijay Kamuju infyquest@gmail.com --- I will resend it again this week for comments
https://bugs.winehq.org/show_bug.cgi?id=49286
Julian RĂ¼ger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=49286
parhom andriy.parhomenko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andriy.parhomenko@gmail.com
--- Comment #17 from parhom andriy.parhomenko@gmail.com --- I'm also having issues with Melodyne 5.
Is there any chance that this patch will be included in Wine 5.23?
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #18 from parhom andriy.parhomenko@gmail.com --- Also, has anyone managed to activate the plugin? When I click on Activate button, I'm getting an error instead of opening a browser window.
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #19 from parhom andriy.parhomenko@gmail.com --- Actually, I'm getting the error from Melodyne itself:
identifier = "com.celemony.https.request_failed.12152.1"; message = "Could not receive response.";
In the console I have no errors, but only one message repeating when I click Activate button:
0058:fixme:mountmgr:query_property Faking StorageDeviceProperty data
https://bugs.winehq.org/show_bug.cgi?id=49286
--- Comment #20 from parhom andriy.parhomenko@gmail.com --- I have created a separate bug report: https://bugs.winehq.org/show_bug.cgi?id=50244
https://bugs.winehq.org/show_bug.cgi?id=49286
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |suenish.salkimbaev@gmail.co | |m
--- Comment #21 from Hans Leidekker hans@meelstraat.net --- *** Bug 50335 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=49286
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://services.celemony.c |https://web.archive.org/web |om/cgi-bin/WebObjects/Licen |/20201215162012/https://d1i |seApp.woa/wa/demoRegistrati |187rinc1hq3.cloudfront.net/ |on?item=Melodyne5-Demo-Win& |Demos/Melodyne.5.1.1.03-Dem |language=en |o.zip CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=49286
Aleksandr Kichev kichev.alexander@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kichev.alexander@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=49286
Cyril Adrian cyril.adrian+winehq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cyril.adrian+winehq@gmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=49286
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chopinbig@tutanota.com
--- Comment #22 from Zebediah Figura z.figura12@gmail.com --- *** Bug 50959 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=49286
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |998e5eaddb3f893824ac5136806 | |34852271097a7 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #23 from Hans Leidekker hans@meelstraat.net --- Should be fixed by 998e5eaddb3f893824ac513680634852271097a7.
https://bugs.winehq.org/show_bug.cgi?id=49286
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.7.