[Bug 44999] New: Python 3.6.5 crashes due to unimplemented function api-ms-win-core-path-l1-1-0.dll.PathCchCanonicalizeEx.
https://bugs.winehq.org/show_bug.cgi?id=44999 Bug ID: 44999 Summary: Python 3.6.5 crashes due to unimplemented function api-ms-win-core-path-l1-1-0.dll.PathCchCanonicalizeEx. Product: Wine Version: 3.6 Hardware: x86 URL: https://www.python.org/ftp/python/3.6.5/win32/ OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: api-ms-win-* Assignee: wine-bugs(a)winehq.org Reporter: sagawa.aki+winebugs(a)gmail.com Distribution: Ubuntu As described in summary, Python 3.6.5 crashes due to unimplemented function api-ms-win-core-path-l1-1-0.dll.PathCchCanonicalizeEx. How to reproduce: 1. wget https://www.python.org/ftp/python/3.6.5/win32/core.msi \ https://www.python.org/ftp/python/3.6.5/win32/exe.msi \ https://www.python.org/ftp/python/3.6.5/win32/lib.msi 2. wine msiexec /i core.msi /qb TARGETDIR=C:/python3.6.5 3. wine msiexec /i exe.msi /qb TARGETDIR=C:/python3.6.5 4. wine msiexec /i lib.msi /qb TARGETDIR=C:/python3.6.5 5. cd $WINEPREFIX/drive_c/python3.6.5 6. wine python.exe Expected behavior: It starts without crashes and shows prompt (>>>) as it's in interactive mode. Actual behavior: It crashes with the following message: 0009:fixme:msvcrt:_configure_wide_argv (1) stub 0009:fixme:msvcrt:_initialize_wide_environment stub wine: Call from 0x7b43cddc to unimplemented function api-ms-win-core-path-l1-1-0.dll.PathCchCanonicalizeEx, aborting wine: Unimplemented function api-ms-win-core-path-l1-1-0.dll.PathCchCanonicalizeEx called at address 0x410073:0x7b43cddc (thread 0009), starting debugger... Note: Python introduced PathCchCanonicalizeEx by following commit: https://github.com/python/cpython/commit/48e8c82fc63d2ddcddce8aa637a892839b5... I'm not sure if 0x7b43cddc actually points canonicalize function which was added by the commit. But, it's very suspicious. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Sagawa <sagawa.aki+winebugs(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Lex Berezhny <lex(a)damoti.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lex(a)damoti.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 --- Comment #1 from Lex Berezhny <lex(a)damoti.com> --- Confirming that this happens with Python 3.6.5 exactly as sagawa reported and it also happens with latest Python 3.7.0. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Thomas Zarebczan <tom(a)lbry.io> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tom(a)lbry.io --- Comment #2 from Thomas Zarebczan <tom(a)lbry.io> --- Can confirm Lex's findings also. Please mark this bug as confirmed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |z.figura12(a)gmail.com Component|api-ms-win-* |kernelbase --- Comment #3 from Zebediah Figura <z.figura12(a)gmail.com> --- Marking confirmed as this bug affects multiple users. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Victor <vfrico+bugs(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vfrico+bugs(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang(a)codeweavers.com --- Comment #4 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Working on it. If anyone else had already started implementing it, please let me know. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 --- Comment #5 from Thomas Zarebczan <tom(a)lbry.io> --- (In reply to Zhiyi Zhang from comment #4)
Working on it. If anyone else had already started implementing it, please let me know.
Thanks for looking into this! Please keep us updated. We would also link to extend an offer of LBC as appreciation for fixing this bug. Please see https://lbry.io/faq/appreciation. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 --- Comment #6 from Victor <vfrico+bugs(a)gmail.com> --- (In reply to Zhiyi Zhang from comment #4)
Working on it. If anyone else had already started implementing it, please let me know.
I am not working on it, but I am interested on see how it is fixed. Could you post the patch or the branch where it is being developed? Thanks! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Andrew Udvare <audvare(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |audvare(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Alexandr Oleynikov <sashok.olen(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sashok.olen(a)gmail.com --- Comment #7 from Alexandr Oleynikov <sashok.olen(a)gmail.com> --- Seems like what you have now in your git repo (https://github.com/zzhiyi/wine/tree/kernelbase/PathCchCanonicalizeEx) works ok. Tested it with Sims 4 (uses python for mods), no issues anymore. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 --- Comment #8 from Andrew Udvare <audvare(a)gmail.com> --- (In reply to Alexandr Oleynikov from comment #7)
Seems like what you have now in your git repo (https://github.com/zzhiyi/wine/tree/kernelbase/PathCchCanonicalizeEx) works ok. Tested it with Sims 4 (uses python for mods), no issues anymore.
Also tested, patching against Wine 3.20 on Gentoo. Works great. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6c4b9111de0ee77c864ff22c56c | |2ef431721bc28 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #9 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Patch is in wine-3.21 now. Thanks everyone. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 --- Comment #10 from Sagawa <sagawa.aki+winebugs(a)gmail.com> --- In Wine 3.21, Python.exe doesn't complain about PathCchCanonicalizeEx. Now, it throws an exception about PathCchCombineEx (Bug 42474). Thanks, Zhiyi. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 kacajarek(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kacajarek(a)gmail.com --- Comment #11 from kacajarek(a)gmail.com --- Set winecfg api-ms-win-core-path-l1-1-0.dll as Native only. That's all. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 --- Comment #12 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- (In reply to Sagawa from comment #10)
In Wine 3.21, Python.exe doesn't complain about PathCchCanonicalizeEx. Now, it throws an exception about PathCchCombineEx (Bug 42474). Thanks, Zhiyi.
42474 is fixed by 6150e20868df947ae745c36b6e273bce556e4e92 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 4.0-rc1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Robin Mills <robin(a)clanmills.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robin(a)clanmills.com --- Comment #14 from Robin Mills <robin(a)clanmills.com> --- *** Bug 49271 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alzer111(a)ya.ru --- Comment #15 from Nikolay Sivov <bunglehead(a)gmail.com> --- *** Bug 49646 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|kernelbase |kernel32 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=44999 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net URL|https://www.python.org/ftp/ |https://web.archive.org/web |python/3.6.5/win32/ |/20210209170620/https://www | |.python.org/ftp/python/3.6. | |5/win32/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla