You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash in Objects/unicodeobject.c::_copy_characters when there is nothing to copy (DEBUG build only) #127903
changed the title [-]Segmentation fault in pydebug mode[/-][+]Crash in `Objects/unicodeobject.c::_copy_characters` when there is nothing to copy[/+]on Jan 3, 2025
changed the title [-]Crash in `Objects/unicodeobject.c::_copy_characters` when there is nothing to copy[/-][+]Crash in `Objects/unicodeobject.c::_copy_characters` when there is nothing to copy (DEBUG build only)[/+]on Jan 3, 2025
Activity
mgorny commentedon Jan 2, 2025
Just hit this in the wild with
pikepdf.gh-127903: Fix a crash on debug builds when calling `Objects/unicodeo…
pythongh-127903: Fix a crash on debug builds when calling `Objects/un…
pythongh-127903: Fix a crash on debug builds when calling `Objects/un…
[-]Segmentation fault in pydebug mode[/-][+]Crash in `Objects/unicodeobject.c::_copy_characters` when there is nothing to copy[/+][-]Crash in `Objects/unicodeobject.c::_copy_characters` when there is nothing to copy[/-][+]Crash in `Objects/unicodeobject.c::_copy_characters` when there is nothing to copy (DEBUG build only)[/+]picnixz commentedon Jan 3, 2025
Even if
mainwas said to work well, we also fixed the assertion as it could have been by chance that this worked.[3.13] gh-127903: Fix a crash on debug builds when calling `Objects/u…
[3.12] gh-127903: Fix a crash on debug builds when calling `Objects/u…
Eclips4 commentedon Jan 3, 2025
Thank you @shadchin for reporting and fixing this!
pythongh-127903: Fix a crash on debug builds when calling `Objects/un…
pythongh-127903: Fix a crash on debug builds when calling `Objects/un…