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
sys.call_tracing segfaults #47911
Comments
The following code causes a segfault for me: import sys; sys.call_tracing(type,2) Running on: gdb output: Program received signal SIGABRT, Aborted. |
The function call fails much earlier in debug builds. sys_call_tracing() Suggestion: Add an explicit type check for PyTupleType the Check 2.6, too |
Not applicable in 2.6: Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: type() takes 1 or 3 arguments |
This bug should be fixed for rc2, but it doesn't need to block rc1. |
Attaching patch. |
r66949 |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: