-
Notifications
You must be signed in to change notification settings - Fork 65
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
seg fault from pynew() in vs code REPL #522
Comments
Strictly speaking not a bug. What's happening is that However it wouldn't be hard to check for NULL in our multimedia code to make this safe. It's reasonable to make showing these objects always be safe. |
Thanks for the explanation! I was particularly irritated by |
I have reproduced the issue and fixed it in the I don't understand why the version with the semicolon was crashing, but this seems to fix it. Maybe it's a bug in VSCode, not sure. |
Ah, I think in the |
Sorry, couldn't get to testing it earlier, but can confirm that this fixes it (tested on current main branch), thanks! |
Affects: PythonCall
Describe the bug
My vs code integrated REPL crashes if I call
PythonCall.pynew()
. In a REPL opened in a terminal is works without issues and returnsNULL
.Please include the steps required to reproduce the bug. This should include not just code but all the steps required to reproduce the bug
Your system
Please provide detailed information about your system:
Base.versioninfo()
,Pkg.status()
andCondaPkg.status()
.pip list
orconda list
andjuliapkg.status()
.Julia Version 1.10.2
Commit bd47eca2c8a (2024-03-01 10:14 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 8 × Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Environment:
LD_LIBRARY_PATH = /opt/mrtros/lib:/opt/mrtsoftware/local/lib:/opt/mrtsoftware/release/lib
JULIA_EDITOR = code
JULIA_NUM_THREADS =
Status
/tmp/jl_ulWM8F/Project.toml
[6099a3de] PythonCall v0.9.20
Additional context
Add any other context about the problem here.
Error message:
The text was updated successfully, but these errors were encountered: