After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 88824 - program terminating on Unicode U+2029
program terminating on Unicode U+2029
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.0.x
Other All
: Normal normal
: 1.0.4
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-07-23 01:50 UTC by Choe Hwanjin
Modified: 2009-08-21 03:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
Test case (583 bytes, text/plain)
2002-07-25 03:12 UTC, Owen Taylor
Details

Description Choe Hwanjin 2002-07-23 01:50:59 UTC
When I use unicode U+2029 in gtk_label, the whole program abort execution.
I used g_unichar_to_utf8() to convert raw unicode to utf8 encoding.

Error messages are:

** ERROR **: file pango-layout.c: line 2901 (pango_layout_check_lines):
assertion failed: (delim_len < 3)
aborting...
Comment 1 Owen Taylor 2002-07-25 03:09:01 UTC
The problem is that PS (U+2029) is 3 bytes, so the assertion
is just wrong.
Comment 2 Owen Taylor 2002-07-25 03:12:52 UTC
Created attachment 10040 [details]
Test case
Comment 3 Owen Taylor 2002-07-25 03:18:31 UTC
Wed Jul 24 23:07:43 2002  Owen Taylor  <otaylor@redhat.com>

        * pango/pango-layout.c: Fix wrong assertion that was
        dying on lines separated by PS (U+2029). (#88824,
        Choe Hwangjin)
Comment 4 Max Kanat-Alexander 2009-08-21 03:23:59 UTC
This bug was marked RESOLVED without a resolution, which Bugzilla does not allow (and so I am fixing it). It is assumed that the bug was intended to be marked as FIXED. If the bug should have some other resolution, please change its resolution.