https://bugs.winehq.org/show_bug.cgi?id=37536
Bug ID: 37536 Summary: Desura needs implementation of msvcr120.dll.___lc_locale_name_func Product: Wine Version: 1.7.30 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: sebastian@fds-team.de Distribution: ---
Found while trying to reproduce bug 37527.
Since wine has now a msvcr120 dll ( http://source.winehq.org/git/wine.git/commit/c8c810c21020bd0079ff0adcfee95eb... ), the game doesn't start anymore:
--- snip --- $ WINEPREFIX=~/.wine-desura ./wine ~/.wine-desura/drive_c/Program\ Files/Desura/desura.exe [...] wine: Call from 0x7b838cbd to unimplemented function msvcr120.dll.___lc_locale_name_func, aborting fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000100 --- snip ---
Settings msvcr120 to native obviously works around this issue.
$ git describe origin/master wine-1.7.30-121-g6fe4d9e
$ sha1sum DesuraInstaller.exe 8694863a4fe8989de4e57d249ba23e637dc36cd7 DesuraInstaller.exe
https://bugs.winehq.org/show_bug.cgi?id=37536
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.desura.com/Desur | |aInstaller.exe
https://bugs.winehq.org/show_bug.cgi?id=37536
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=37536
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW CC| |focht@gmx.net Ever confirmed|0 |1
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello Sebastian,
I've seen this one too but didn't report it as bug because it's the result of native MS C++ runtime binding to native MS C runtime, importing internal helpers that are not to be used by apps.
It's not game code that imports this internal API.
--- snip --- ... 0023:trace:module:process_attach (L"msvcr120.dll",(nil)) - END 0023:trace:module:MODULE_InitDLL (0xf70000 L"MSVCP120.dll",PROCESS_ATTACH,(nil)) - CALL 0023:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b83af77 ip=7b83af77 tid=0023 0023:trace:seh:raise_exception info[0]=7d2aaf40 0023:trace:seh:raise_exception info[1]=7d2ae217 wine: Call from 0x7b83af77 to unimplemented function msvcr120.dll.___lc_locale_name_func, aborting --- snip ---
It might be a valid use-case to mix native and builtin Wine C/C++ runtime providing better compatibility but there is a risk of introducing internal helpers/details the way MS glues both runtimes together.
--- quote --- ___lc_locale_name_func is an internal CRT function that is used by other CRT functions to get the current locale name from the thread local storage for CRT data. This information is also available by using the _get_current_locale function or the setlocale, _wsetlocale functions. --- quote ---
This one might be easy since it's documented although not recommended to use by apps.
Regards
https://bugs.winehq.org/show_bug.cgi?id=37536
Hao Peng penghao@linuxdeepin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |penghao@linuxdeepin.com
https://bugs.winehq.org/show_bug.cgi?id=37536
--- Comment #2 from Hao Peng penghao@linuxdeepin.com --- I encountered the same problem, too.
wine: Call from 0x7b83c0d2 to unimplemented function msvcr120.dll.___lc_locale_name_func, aborting err:module:attach_process_dlls "MSVCP120.dll" failed to initialize, aborting
https://bugs.winehq.org/show_bug.cgi?id=37536
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Desura needs implementation |Native MSVCP120.dll |of |override requires |msvcr120.dll.___lc_locale_n |implementation of |ame_func |msvcr120.dll.___lc_locale_n | |ame_func (Desura client) Severity|normal |enhancement
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
as already said, this is more an interoperability problem - the result of mixing native and builtins. Since Wine has builtin msvcp120 for some time now, this problem will not occur by default. Should be treated as improvement though.
Refining summary to clarify the actual component which requires this.
The current problem with Desura is missing 'msvcr120.dll.strtoull' export which deserves its own bug report.
Regards
https://bugs.winehq.org/show_bug.cgi?id=37536
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com Summary|Native MSVCP120.dll |Native MSVCP120.dll |override requires |override requires |implementation of |implementation of |msvcr120.dll.___lc_locale_n |msvcr120.dll._W_Gettnames |ame_func (Desura client) |(Desura client)
--- Comment #4 from Piotr Caban piotr.caban@gmail.com --- I've tried it with current wine and now it crashes on unimplemented _W_Gettnames function. Updating bug summary.
https://bugs.winehq.org/show_bug.cgi?id=37536
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |59ed8c593c8c5d7d7de2ecde6a2 | |83d9d4276661f Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Piotr Caban piotr.caban@gmail.com --- The function is implemented. Marking as fixed.
https://bugs.winehq.org/show_bug.cgi?id=37536
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.2.
https://bugs.winehq.org/show_bug.cgi?id=37536
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x CC| |mstefani@redhat.com
https://bugs.winehq.org/show_bug.cgi?id=37536
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #7 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.2.
https://bugs.winehq.org/show_bug.cgi?id=37536
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.desura.com/Desur |https://web.archive.org/web |aInstaller.exe |/20151028094647/http://www. | |desura.com/DesuraInstaller. | |exe
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20151028094647/http://www.desura.com/DesuraInsta...
https://www.virustotal.com/gui/file/ccb0b41a0c1e2cab4275d7f4275ab29456888fc3...
$ sha1sum DesuraInstaller.exe a7dba809e121ba210bcfb0d298a2bf9bc89179ac DesuraInstaller.exe
$ du -sh DesuraInstaller.exe 40M DesuraInstaller.exe
Regards