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

Dr.Jit use causes error code of the Python interpreter on Windows #356

Open
ThomasAuzinger opened this issue Feb 25, 2025 · 0 comments
Open

Comments

@ThomasAuzinger
Copy link

When running the following trivial Python script in a Windows 11 PowerShell:

PS ...> python
Python 3.13.1 (tags/v3.13.1:0671451, Dec  3 2024, 19:06:28) [MSC v.1942 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import drjit
>>> exit()

and check for the last error code, I get a non-zero value, i.e.,

PS ...> $LASTEXITCODE
-1073741819

Running the above script without the line import drjit does not cause this issue (and returns the expected 0 as error code).
So far, I do not observe actual failures or crashes related to this behavior.
However, the non-zero error code makes it hard to judge execution success during batch execution.

I observe this issue on the following configuration:

  • Fresh Windows 11 image.
  • Python 3.13.1
  • drjit 1.0.5 (obtained through mitsuba 3.6.4)
  • LLVM 19.1.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant