https://bugs.winehq.org/show_bug.cgi?id=46848
Bug ID: 46848 Summary: PTC Mathcad Prime 3.0 Web installer crashes on unimplemented function api-ms-win-crt-convert-l1-1-0.dll.wctrans Product: Wine Version: 4.4 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: api-ms-win-* Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as it says.
Stable link to Internet Archive:
https://web.archive.org/web/20190317012806/http://free-dl.ptc.com/install/pi...
--- snip --- $ WINEDEBUG=+seh,+relay,+msi,+module,+imports wine ./pim_installmgr_mathcad.exe
log.txt 2>&1
... 0032:Call KERNEL32.CreateProcessW(00000000,0033e828 L""setup.exe" -mathcad -applications mathcad.xml:mathcadpdsi.xml:qualityagent.xml",00000000,00000000,00000000,00000410,00000000,001679e8 L"C:\users\focht\Temp\7ZipSfx.000",0033e300,0033e2f0) ret=7d5f5f52 ... 0038:Call KERNEL32.__wine_kernel_init() ret=7bc720d9 ... 0032:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7d5f5f52 ... wine: Call from 0x7b44c03b to unimplemented function api-ms-win-crt-convert-l1-1-0.dll.wctrans, aborting 0038:trace:seh:call_stack_handlers calling handler at 0xaacd14 code=80000100 flags=1 0038:trace:seh:call_stack_handlers handler at 0xaacd14 returned 1 0038:trace:seh:call_stack_handlers calling handler at 0xaaccdc code=80000100 flags=1 0038:trace:seh:call_stack_handlers handler at 0xaaccdc returned 1 0038:trace:seh:call_stack_handlers calling handler at 0xaac5bb code=80000100 flags=1 0038:Call ucrtbase._except_handler4_common(00ab4d58,00aaca01,00316670,00316b44,0031638c,0031625c) ret=00aac5d9 0038:trace:seh:_except_handler4_common exception 80000100 flags=1 at 0x7b44c03b handler=0xaac5bb 0x31638c 0x31625c cookie=5f9e7b50 scope table=0xaaeb60 cookies=-2/0,-48/0 --- snip ---
--- snip --- $ mkdir -p install && cd $_
$ 7z x ../pim_installmgr_mathcad.exe
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=en_US.utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz (306C3),ASM,AES-NI)
Scanning the drive for archives: 1 file, 23850620 bytes (23 MiB)
Extracting archive: ../pim_installmgr_mathcad.exe -- Path = ../pim_installmgr_mathcad.exe Type = 7z Offset = 93439 Physical Size = 23757181 Headers Size = 3048 Method = LZMA:26 BCJ2 Solid = + Blocks = 2
Everything is Ok
Folders: 30 Files: 166 Size: 68271449 Compressed: 23850620 --- snip ---
--- snip --- $ tree --charset=ANSI -L 3 . |-- export_affirmation.pdf |-- msvcp110.dll |-- msvcp140.dll |-- msvcr110.dll |-- pim | |-- i486_nt | | |-- asyncoremt.dll | | |-- baselibmt.dll | | |-- browser_stream_sh.dll | | |-- btkzlibmt.dll | | |-- coretools_sh.dll | | |-- coreutils_sh.dll | | |-- dlmmgrmt.dll | | |-- i18nmt.dll | | |-- ic_sh.dll | | |-- installmgr.dll | | |-- ipc_comms_sh.dll | | |-- libbrowser_api_sh.dll | | |-- libui_sh.dll | | |-- licommonmt.dll | | |-- limanifestmt.dll | | |-- lutilsmt.dll | | |-- msvcp110.dll | | |-- msvcr110.dll | | |-- rtlcoremt.dll | | |-- srvcmgrmt.dll | | |-- ucore46.dll | | |-- udata46.dll | | |-- uitools_sh.dll | | |-- utfstrmt.dll | | |-- xercescmt.dll | | `-- zbutils_sh.dll | |-- proe | | `-- uitools | |-- text | | |-- chinese_cn | | |-- chinese_tw | | |-- compiled_resource | | |-- eula | | |-- french | | |-- german | | |-- italian | | |-- japanese | | |-- korean | | |-- license.res | | |-- pro_i18n.res | | |-- russian | | |-- spanish | | `-- usascii | `-- xml | `-- sessioninfo.xml |-- setup.exe `-- vcruntime140.dll
18 directories, 35 files --- snip ---
Find the dll import in all binary files from the inner installer:
--- snip --- $ grep -ralZ wctrans . | xargs -r0i bash -c "echo "{}" && winedump -j import "{}" | grep wctrans" ./msvcp110.dll ./pim/i486_nt/i18nmt.dll 121 wctrans 2d0f0 ./pim/i486_nt/msvcp110.dll ./pim/i486_nt/rtlcoremt.dll 153 towctrans 2f658 --- snip ---
$ sha1sum pim_installmgr_mathcad.exe 1e498c6cb8cd107344d7e70a385a7b0cb9a34b64 pim_installmgr_mathcad.exe
$ du -sh pim_installmgr_mathcad.exe 23M pim_installmgr_mathcad.exe
$ wine --version wine-4.4
Regards
https://bugs.winehq.org/show_bug.cgi?id=46848
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |https://web.archive.org/web | |/20190317012806/http://free | |-dl.ptc.com/install/pim_ins | |tallmgr_mathcad.exe
https://bugs.winehq.org/show_bug.cgi?id=46848
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- Should be fixed by https://source.winehq.org/git/wine.git/commit/32290748247ceff1c2d55ddbe9f56311ad7a9abd
https://bugs.winehq.org/show_bug.cgi?id=46848
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|api-ms-win-* |msvcrt
https://bugs.winehq.org/show_bug.cgi?id=46848
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |32290748247ceff1c2d55ddbe9f | |56311ad7a9abd CC| |leslie_alistair@hotmail.com Resolution|--- |FIXED
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Marking as Fixed.
https://bugs.winehq.org/show_bug.cgi?id=46848
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.5.
https://bugs.winehq.org/show_bug.cgi?id=46848
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=46848
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #4 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.2.