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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/gpshead'closed_at=<Date2008-08-19.20:12:11.811>created_at=<Date2008-04-14.02:56:08.725>labels= ['type-crash']
title='_Py_ForgetReference crash when called from _PyUnicode_New on MemoryError'updated_at=<Date2008-08-19.20:12:11.810>user='https://github.com/gpshead'
In _PyUnicode_New() a unicode object is taken from the freelist but if
the unicode_resize() call fails and returns -1, the goto onerror calls
_Py_ForgetReference on the unicode object... But it has NULL _ob_prev
and _ob_next values causing a crash when they're used.
How to reproduce:
Make a 32-bit --with-pydebug build of Python trunk.
Run it on a machine with lots of ram (at least 3gigs recommended, or
lots of swap and a heap of patience):
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: