Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to unimplemented function ucrtbase.dll.crealf #73

Closed
juliowissing-iis opened this issue Feb 27, 2025 · 6 comments
Closed

Call to unimplemented function ucrtbase.dll.crealf #73

juliowissing-iis opened this issue Feb 27, 2025 · 6 comments

Comments

@juliowissing-iis
Copy link

Hello!

We are using pywine to run pyinstaller in Linux for a Windows package in a CI Pipeline. It worked flawlessly until recently when the following error appeared:

wine: Call from 00006FFFFF463EF7 to unimplemented function ucrtbase.dll.crealf, aborting
wine: Unimplemented function ucrtbase.dll.crealf called at address 00006FFFFF463EF7 (thread 05a0), starting debugger...
WineDbg attached to pid 0000
Unhandled exception: unimplemented function ucrtbase.dll.crealf called in 64-bit code (0x006fffff463ef7).

Would you happen to have an idea of how to fix the problem?

@TobiX
Copy link
Member

TobiX commented Feb 27, 2025

Trying to use scipy? This looks like a duplicate of #65

@TobiX TobiX closed this as completed Feb 27, 2025
@juliowissing-iis
Copy link
Author

Thanks for the link to the other issue. I am not using Scipy, but a different package may produce the same error. The weird thing is that I could use pywine to run pyinstaller in a Linux environment before, and it just recently stopped working. I'll have to dig deeper into the dependencies and changelogs.

@TobiX
Copy link
Member

TobiX commented Feb 27, 2025

You might want to check the backtrace leading to the error. Since crealf is part of Microsoft's custom complex number implementation, whatever library is calling that will probably call other complex number APIs later... It might be nice if Wine would implement all those APIs, but the API surface is quite large... (Even if most individual functions are probably quite simple)

@juliowissing-iis
Copy link
Author

Thank you for the suggestions. I'll have look!

@hpdeandrade
Copy link

I solved this issue by using wine devel, i.e. forking this repo and building the Dockerfile from tobix/wine:devel instead of wine:stable.

@TobiX would it be feasible for you to set up a branch pywine:devel?

@TobiX
Copy link
Member

TobiX commented Mar 11, 2025

@hpdeandrade That's expected, as I mentioned in #65 (comment) Wine has started adding those methods in Wine 10.1, so this will work.

I'm currently not planning to add more branches, especially not for such a corner-case.

(PS: Please don't add new discussion/requests in closed duplicate issues)

@webcomics webcomics locked as off-topic and limited conversation to collaborators Mar 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants