[issue10254] unicodedata.normalize('NFC', s) regression

Jonathan Halcrow report at bugs.python.org
Wed Dec 15 22:29:51 CET 2010


Jonathan Halcrow <jonathan.halcrow at gmail.com> added the comment:

I think I've come across a related problem.  I am experiencing a segfault when NFC-normalizing a certain string [1].
The crash occurs with 2.7.1 in OS X (built from source with homebrew).   

Here is the backtrace:
#0  0x0025a96e in _PyUnicode_Resize ()
#1  0x00601673 in nfc_nfkc ()
#2  0x00601bb7 in unicodedata_normalize ()
#3  0x0029834b in PyEval_EvalFrameEx ()
#4  0x00299f13 in PyEval_EvalCodeEx ()
#5  0x0029a0fe in PyEval_EvalCode ()
#6  0x002bd5f0 in PyRun_FileExFlags ()
#7  0x002be430 in PyRun_SimpleFileExFlags ()
#8  0x002d5bd6 in Py_Main ()
#9  0x00001f8f in _start ()
#10 0x00001ebd in start ()


[1] http://pastebin.com/cfNd2QEz

----------
nosy: +jhalcrow

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10254>
_______________________________________


More information about the Python-bugs-list mailing list