-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[core][compiled graphs] test_dag_exception_chained does not exit cleanly #48806
Comments
The cause of this issue actually isn't in compiled graphs code, tracking down the segfault, it actually occurs in here Lines 2360 to 2386 in 4f1a308
Documentation of PyErr_CheckSignals() states that if it's called from a non-main thread, it won't actually check the signal - https://docs.python.org/3/c-api/exceptions.html#c.PyErr_CheckSignals. I've noticed it fails sporadically on any dag tests that throw exceptions, and with compiled graphs we call get on the Monitor thread. Looking for a solution that works. |
What happened + What you expected to happen
When running test_accelerated_dag.py, got a segfault:
#48795 is a workaround, but we need a proper fix.
I've been debugging and found that teardown() was called from two different places:
These should be good leads to the root cause.
Versions / Dependencies
2.39 / head
Reproduction script
Run test_accelerated_dag.py after reverting #48795
Issue Severity
None
The text was updated successfully, but these errors were encountered: