[Python-bugs-list] [ python-Bugs-531306 ] ucs4 build horked.

noreply@sourceforge.net noreply@sourceforge.net
Mon, 18 Mar 2002 04:44:07 -0800


Bugs item #531306, was opened at 2002-03-18 11:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=531306&group_id=5470

Category: Unicode
Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 7
Submitted By: Michael Hudson (mwh)
Assigned to: Michael Hudson (mwh)
Summary: ucs4 build horked.

Initial Comment:
Try this:

>>> u'\U00010001\U00020002'.encode('utf-8')
Segmentation fault (core dumped)

I thought we'd shaken these out by now?

test_unicode also fails on the trunk in a ucs4 build,
but in a different way.  I don't know if it's related
(unicodeobject.c is fairly different on the trunk and
the branch).

----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2002-03-18 12:44

Message:
Logged In: YES 
user_id=6656

Fixed in unicodeobject.c revision 2.124.6.5.

----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2002-03-18 12:29

Message:
Logged In: YES 
user_id=6656

I have a fix for this.  Just testing that it does no damage
in a ucs2 build.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=531306&group_id=5470