https://bugs.winehq.org/show_bug.cgi?id=56999
Bug ID: 56999 Summary: LineMediaPlayer.exe from NAVER Line needs msvcp140_2.dll.__std_smf_cyl_bessel_i Product: Wine Version: 9.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcp Assignee: wine-bugs@winehq.org Reporter: pq2sx44teeigl7za@chyen.cc Distribution: ---
Created attachment 76838 --> https://bugs.winehq.org/attachment.cgi?id=76838 Logs for LineMediaPlayer.exe
LineMediaPlayer.exe is used to display images and videos in LINE. After a recent upgrade, the player no longer works, showing an error about missing msvcp140_2.dll.__std_smf_cyl_bessel_i (see logs)
Steps to reproduce:
1. Download and install https://desktop.line-scdn.net/win/new/LineInst.exe - it's linked from https://line.me/ when using a Windows User-Agent header. 2. Try to run LineMediaPlayer.exe (ex: wine /home/user/.local/share/wine/drive_c/users/user/AppData/Local/LINE/Data/plugin/LineMediaPlayer/1.2.0.545/LineMediaPlayer.exe) Here 1.2.0.545 is the currently installed version of LineMediaPlayer. You may need to change the version to the latest one if there are updates.
Investigation:
In Microsoft STL, __std_smf_cyl_bessel_i calls boost::math::cyl_bessel_i [1]. C++17 provides std::cyl_bessel_i. I'm not sure if it's feasible to use that in a C project like Wine. Even if C++ is allowed, I assume a version requirement like C++17 is still an issue.
[1] https://github.com/microsoft/STL/blob/vs-2022-17.10/stl/src/special_math.cpp... [2] https://en.cppreference.com/w/cpp/numeric/special_functions/cyl_bessel_i [3] https://github.com/kcat/openal-soft/commit/d6d572df66eb2b5beeb3da7f3b11a3285...
https://bugs.winehq.org/show_bug.cgi?id=56999
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=56999
--- Comment #1 from yan12125 pq2sx44teeigl7za@chyen.cc --- Created attachment 76842 --> https://bugs.winehq.org/attachment.cgi?id=76842 Proof-of-concept to allow LineMediaPlayer.exe to load
This minimal patch allows LineMediaPlayer.exe to run and play videos. Note that I only added a stub for the 64-bit function, as I don't know how to handle the 32-bit version.
https://bugs.winehq.org/show_bug.cgi?id=56999
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://desktop.line-scdn.n | |et/win/new/LineInst.exe Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=56999
--- Comment #2 from yan12125 pq2sx44teeigl7za@chyen.cc --- A simpler work-around is using WINEDLLOVERRIDES="msvcp140_2=n,b", so that the msvcp140_2.dll file in the same folder as LineMediaPlayer.exe is used.
https://bugs.winehq.org/show_bug.cgi?id=56999
Ratchanan Srirattanamet peathot@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peathot@hotmail.com