-
Notifications
You must be signed in to change notification settings - Fork 107
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
Segfault when using viztracer to profile a numpy program #56
Comments
I did not have the chance to build the
I could be completely wrong with my "guess" though. It would be nice to check if |
Thanks for the bug report @ogrisel and suggestion @gaogaotiantian . I'm able to reproduce the issue. The immediate cause is that |
I did not find the hook for PyEval_SetProfile in (edit) I saw the corresponding part in |
@gaogaotiantian Yes, that was basically the issue. The corresponding version of the code in the "nogil" fork didn't handle when "self" is passed through varargs. I have a fix now here: The code |
This is fixed now |
Minimal reproducer:
Here is the gdb backtrace:
Not sure if this is a bug in viztracer or in
nogil
CPython.The text was updated successfully, but these errors were encountered: