-
-
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
Calling _pickle.load
with a MagicMock
results in SystemError
/aborts
#126461
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
extension-modules
C modules in the Modules dir
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
devdanzin
added
the
type-crash
A hard crash of the interpreter, possibly with a core dump
label
Nov 5, 2024
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Nov 6, 2024
Handle _Unpickler_SetStringInput() failure.
ZeroIntensity
added
extension-modules
C modules in the Modules dir
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
labels
Nov 6, 2024
vstinner
added a commit
that referenced
this issue
Nov 6, 2024
Handle _Unpickler_SetStringInput() failure.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 6, 2024
…GH-126485) Handle _Unpickler_SetStringInput() failure. (cherry picked from commit a1c57bc) Co-authored-by: Victor Stinner <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 6, 2024
…GH-126485) Handle _Unpickler_SetStringInput() failure. (cherry picked from commit a1c57bc) Co-authored-by: Victor Stinner <[email protected]>
This was referenced Nov 6, 2024
Fixed. Thanks for your bug report. |
vstinner
added a commit
that referenced
this issue
Nov 6, 2024
vstinner
added a commit
that referenced
this issue
Nov 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
extension-modules
C modules in the Modules dir
type-crash
A hard crash of the interpreter, possibly with a core dump
Crash report
What happened?
Calling
_pickle.load(MagicMock())
with a results in an abort in debug builds and aSystemError
in non-debug.In debug builds:
In non-debug builds:
Found using fusil by @vstinner.
CPython versions tested on:
3.13, 3.14, CPython main branch
Operating systems tested on:
Linux, Windows
Output from running 'python -VV' on the command line:
Python 3.14.0a1+ experimental free-threading build (heads/main-dirty:bfc1d2504c, Nov 4 2024, 07:55:58) [GCC 11.4.0]
Linked PRs
The text was updated successfully, but these errors were encountered: