metacall / core

MetaCall: The ultimate polyglot programming experience.
https://metacall.io
Apache License 2.0
1.57k stars 160 forks source link

Windows CI tests fail with Python on Release mode #461

Open viferga opened 1 year ago

viferga commented 1 year ago

🐛 Bug Report

https://github.com/metacall/core/actions/runs/6101309982

[Wed Sep  6 19:18:29] #6732 @Error : Failed to load: D:/a/core/core/build/Release/py_loader.dll with error code [127]: The specified procedure could not be found.

This is a strange bug because apparently it's failing to find some symbol in python39.dll. I cannot debug it because it works on my machine and I can't reproduce it.

I tried to uninstall the default python installation from windows and it does not work neither.

      - name: Uninstall Python
        run: rd /s /q "C:\hostedtoolcache\windows\Python"

A proper form to debug it is by using: https://github.com/metacall/core/commit/6d721e2cc39c5a883c7e41a9449a1db7b2e30c26

But it shown nothing, and as there is no output, I cannot know if it's failing to load metacall or py_loader or if the bug is being reproduced properly. I am gonna disable release builds for now until we can figure it out.