-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Reading undefined value in pickle module w/memory sanitizer enabled #116550
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
Comments
Which version of clang are you using? |
This is reproduced in versions 16, 17 and 18 of clang |
Ah, I gave up. I can't even build Python with MSAN. Have similar issues as openssl/openssl#17784 and from #79395 (comment) it seems like the MSAN support is not that good for CPython. My guess is |
TBH I have some issues with MSAN build of interpreter as well. I got the following stacktrace at the last step of building:
However python executable itself has been compiled fine
|
This is a great question and I haven't seen it answered yet so I'll take a shot myself. According to What I don't understand is why the Perhaps the original coder 10+ years ago said something like " I also have to note that the only edge case that I can think of where a number from As for why this line was triggered by an uninitialized value error? Not sure, as |
Bug report
Bug description:
cpython configured in linux with:
then ran the test
and got the following stack trace from clang memory sanitizer:
In particular I'm not clear with the purpose of the following line
cpython/Modules/_pickle.c
Line 5094 in 1e68c4b
CPython versions tested on:
3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: