-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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 dump with specific call of find_frozen #126171
Comments
@federicovalenso how do you find these problems? Do you use some kind of tooling for that? |
I'm guessing it's a static analyzer. Anyways, I can take a look at this later today, unless @picnixz has already started working on it. |
Please do so! I have some ongoing work elsewhere but I don't mind reviewing it! |
I'm sorry for late answer.
@sobolevn , @ZeroIntensity , you're right. |
We're fine with it as long as the crashes are actual bugs and not false positives (there have been false positive reports from static analyzers here in the past). But you seem to know what's real and what's not, keep doing what you're doing :) |
@ZeroIntensity I have some time now; do you want me to take on that task or were you already working on it? |
Go for it, I didn't get to this yesterday. I'll be happy to review your PR! |
Actually, I couldn't reproduce it on 3.12+ (even with the correct flags). It appears that it has been patched at some point. @federicovalenso can you 1) verify this 2) try to run your static analyzer tool on 3.12+ builds instead please? Thank you in advance! |
@picnixz , yeah, I'll do that, but it requires some time. |
This comment was marked as resolved.
This comment was marked as resolved.
There's no real problem in having an issue with the "pending" label :) |
@picnixz , I couldn't reproduce it on 3.12+ too. Also I did static analysis, it still continues to complain about the same place in the code. |
What does it say for this line? does it say that it's unsafe, or can lead to a core dump? (or something like that?) |
@picnixz , sorry for late answer. Analyzer doesn't like this line. It states that data is previously assigned to NULL, and in case of |
Ah I see. Yes, we should use a |
@federicovalenso If you want to make a PR, go ahead, otherwise I'll do it a bit later. |
…pl (pythonGH-126566) (cherry picked from commit 9ecd8f7) Co-authored-by: Valery Fedorenko <[email protected]>
…pl (pythonGH-126566) (cherry picked from commit 9ecd8f7) Co-authored-by: Valery Fedorenko <[email protected]>
Crash report
What happened?
python is configured with
--with-pydebug --with-trace-refs --with-assertions
I think it happens here
CPython versions tested on:
3.11
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Python 3.11.9 (main, Oct 30 2024, 09:46:33) [GCC 13.2.0]
Linked PRs
The text was updated successfully, but these errors were encountered: