-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Crash in Objects/unicodeobject.c::_copy_characters
when there is nothing to copy (DEBUG build only)
#127903
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
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-crash
A hard crash of the interpreter, possibly with a core dump
Comments
Just hit this in the wild with |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 3, 2025
…icodeobject::_copy_characters`` (pythonGH-127876) (cherry picked from commit 46cb634) Co-authored-by: Alexander Shadchin <shadchin@yandex-team.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 3, 2025
…icodeobject::_copy_characters`` (pythonGH-127876) (cherry picked from commit 46cb634) Co-authored-by: Alexander Shadchin <shadchin@yandex-team.com>
Objects/unicodeobject.c::_copy_characters
when there is nothing to copy
Objects/unicodeobject.c::_copy_characters
when there is nothing to copyObjects/unicodeobject.c::_copy_characters
when there is nothing to copy (DEBUG build only)
Even if |
Thank you @shadchin for reporting and fixing this! |
WolframAlph
pushed a commit
to WolframAlph/cpython
that referenced
this issue
Jan 4, 2025
…icodeobject::_copy_characters`` (python#127876)
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
…icodeobject::_copy_characters`` (python#127876)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-crash
A hard crash of the interpreter, possibly with a core dump
Uh oh!
There was an error while loading. Please reload this page.
Crash report
What happened?
Reproduce on Python 3.12.8+ or 3.13.1+,
main
work fine, but there is a problem there too:./configure --with-pydebug make ./python --version Python 3.13.1+ ./python -c 'import datetime as dt; dt.datetime(2013, 11, 10, 14, 20, 59).strftime("%z")' Segmentation fault
No need to check
to
if we don't write thereFix in #127876
CPython versions tested on:
3.12, 3.13
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Python 3.13.1+ (heads/3.13:d51c1444e3, Dec 12 2024, 19:36:26) [GCC 9.4.0]
Linked PRs
_copy_characters
#127876Objects/unicodeobject::_copy_characters
(GH-127876) #128458Objects/unicodeobject::_copy_characters
(GH-127876) #128459The text was updated successfully, but these errors were encountered: