https://bugs.winehq.org/show_bug.cgi?id=48505
Bug ID: 48505 Summary: WinRAR x64: Unhandled exception: unimplemented function GDI32.dll.ScriptGetCMap called in 64-bit code Product: Wine Version: 5.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: esdrastarsis@gmail.com Distribution: ---
The program calls the ScriptGetCMap function in the gdi32 dll, but it only exists in the usp10 dll, I made a patch to connect the function in both dlls via the spec file.
https://bugs.winehq.org/show_bug.cgi?id=48505
--- Comment #1 from Esdras Tarsis esdrastarsis@gmail.com --- Created attachment 66305 --> https://bugs.winehq.org/attachment.cgi?id=66305 Link ScriptGetCMap from usp10 to gdi32
https://bugs.winehq.org/show_bug.cgi?id=48505
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer, patch Status|UNCONFIRMED |NEW URL| |https://www.rarlab.com/rar/ | |winrar-x64-580.exe CC| |focht@gmx.net Summary|WinRAR x64: Unhandled |WinRAR x64 4.x/5.x |exception: unimplemented |installer crashes on |function |unimplemented function |GDI32.dll.ScriptGetCMap |GDI32.dll.ScriptGetCMap |called in 64-bit code | Ever confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming. It's actually the installer that needs this.
Adding download link:
https://www.rarlab.com/rar/winrar-x64-580.exe
Stable snapshot via Internet Archive:
https://web.archive.org/web/20200112145459/https://www.rarlab.com/rar/winrar...
It's also present with older 64-bit WinRAR 4.x installers:
https://www.rarlab.com/rar/winrar-x64-400.exe
$ sha1sum winrar-x64-* efa8f7aa0484a73d0a0a3195a9a7f231adb4c993 winrar-x64-400.exe 8d1cf596baf3a44d55e7b9da65b762267db8555d winrar-x64-500.exe c273d9434ef1f697613c3b8c7698cab822067e43 winrar-x64-580.exe
$ du -sh winrar-x64-* 1.6M winrar-x64-400.exe 1.9M winrar-x64-500.exe 3.1M winrar-x64-580.exe
$ wine --version wine-5.0-144-g9a9a1821a3
Regards
https://bugs.winehq.org/show_bug.cgi?id=48505
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Apparently all Uniscribe functions are exported from gdi32 as well, we should probably add forwards for them all.
https://bugs.winehq.org/show_bug.cgi?id=48505
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- I'd say we should move the code to gdi32 and forward from usp10.
https://bugs.winehq.org/show_bug.cgi?id=48505
Jeff Smith whydoubt@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |whydoubt@gmail.com
--- Comment #5 from Jeff Smith whydoubt@gmail.com --- With wine-gecko 2.47.1, xul.dll expects ScriptFreeCache to be in gdi32.
I have submitted patches to move the code to gdi32 and forward from usp10, as Alexandre suggested.
https://source.winehq.org/patches/data/181283 https://source.winehq.org/patches/data/181284
https://bugs.winehq.org/show_bug.cgi?id=48505
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kevinthede@gmail.com
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 48828 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48505
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #7 from winetest@luukku.com --- still valid wine-staging 5.4
https://bugs.winehq.org/show_bug.cgi?id=48505
Tim Schumacher timschumi@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |timschumi@gmx.de
https://bugs.winehq.org/show_bug.cgi?id=48505
Juan D. Amadío Aguilera jotadeaa@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jotadeaa@hotmail.com
--- Comment #8 from Juan D. Amadío Aguilera jotadeaa@hotmail.com --- WinRAR 5.71 installer (winrar-x64-571.exe) completes. 5.90 crashes with same reported error.
https://bugs.winehq.org/show_bug.cgi?id=48505
D. Jacobsen mrdbugjacobs@vivaldi.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdbugjacobs@vivaldi.net
https://bugs.winehq.org/show_bug.cgi?id=48505
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 68586 --> https://bugs.winehq.org/attachment.cgi?id=68586 patch
This patch moves all of the usp10 code to gdi32, it should be used with wine 5.21. I'll try to get this merged for the next release.
https://bugs.winehq.org/show_bug.cgi?id=48505
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |b9178da5865f42b6192ecc02bd7 | |afff8d4c90a21
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- Should be fixed now, b9178da5865f42b6192ecc02bd7afff8d4c90a21.
https://bugs.winehq.org/show_bug.cgi?id=48505
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.22.
https://bugs.winehq.org/show_bug.cgi?id=48505
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.rarlab.com/rar/ |https://web.archive.org/web |winrar-x64-580.exe |/20191219130417/https://www | |.rarlab.com/rar/winrar-x64- | |580.exe
https://bugs.winehq.org/show_bug.cgi?id=48505
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chrisblakely25@hotmail.com
--- Comment #12 from Fabian Maurer dark.shadow4@web.de --- *** Bug 52388 has been marked as a duplicate of this bug. ***