-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Using --bug-report
from PyJulia
#52689
Comments
|
Thanks @maleadt. I tried running rr on python which called PyJulia but I found the debugging info about Julia to not be very useful. Running rr on Julia itself is much more useful but the segfault I am seeing is specific to the PyJulia interface and how the garbage collections interact with each other. So I’m just wondering if there are any options for getting this working better... maybe there just aren’t any? |
BugReporting.jl goes to some lengths to find additional source information (i.e., identifying the Julia version, downloading the git repository, registering paths for GDB to look-up paths), but if you use a local source build (doesn't even have to be a debug build) |
Hey all,
I'm trying to add the
--bug-report
flag to PyJulia because I'm encountering some nasty data races that I think only rr could track down (x-ref JuliaPy/PyCall.jl#1072, python/cpython#113591). The error only occurs in a PyJulia context, so I am working to enable the--bug-report
flag in PyJulia here: JuliaPy/pyjulia#548.However, it seems this flag doesn't actually do anything when passed, unlike every other option I've added. Basically it seems like the Julia runtime that Python gets linked to (by this method) is not actually aware of this flag.
I looked into the code here:
julia/base/client.jl
Lines 246 to 247 in 1b183b9
--bug-report
works by launching a child process, so I'm not sure what the next steps are.Do you have any tips for how we could get
--bug-report
working within PyJulia?Thanks!
Miles
The text was updated successfully, but these errors were encountered: