Bug 368 - Applications using X core font will crash in zh_CN.UTF-8 with latest xorg-x11
Summary: Applications using X core font will crash in zh_CN.UTF-8 with latest xorg-x11
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xfont (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high blocker
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 351
  Show dependency treegraph
 
Reported: 2004-03-23 18:13 UTC by Yu Shao
Modified: 2004-08-08 22:39 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch to fix application crash in zh_CN.UTF8 (1.59 KB, patch)
2004-04-05 18:15 UTC, Mike A. Harris
no flags Details | Splinter Review

Description Yu Shao 2004-03-23 18:13:14 UTC
Applications using X core font will crash in zh_CN.UTF-8 locale with
the latest xorg-x11. Suggeste patch is here with upstream:
http://bugs.xfree86.org/show_bug.cgi?id=991

Version-Release number of selected component (if applicable):
xorg-x11-0.0.6.6-0.0.2004_03_11.6 

How reproducible:
Always

Steps to Reproduce:
1. Using httx
2. Activate Input Method in zh_CN.UTF-8 locale
3. httx will crash and restart
Comment 1 Mike A. Harris 2004-04-05 18:04:15 UTC
Marking as release blocker, as this causes a crash, and has a known fix.
Comment 2 Mike A. Harris 2004-04-05 18:05:36 UTC
A different patch was committed to the XFree86 tree by David Dawes, with
credit to Yu Shao in the changelog.  I'm attaching the new patch below,
which should be credited to (David Dawes, Yu Shao).
Comment 3 Mike A. Harris 2004-04-05 18:06:32 UTC
Date: Thu, 25 Mar 2004 18:06:46 -0800 (PST)
From: David Dawes <dawes@XFree86.Org>
To: cvs-commit@XFree86.Org
X-BeenThere: cvs-commit@XFree86.Org
Subject: CVS Update: xc (branch: trunk)

CVSROOT:        /home/x-cvs
Module name:    xc
Changes by:     dawes@public.xfree86.org.       04/03/25 18:06:46

Log message:
    39. Fix a crash that can happen with apps using the zh_CN.UTF-8 locale
        (Bugzilla #991, Yu Shao).

Modified files:
      xc/lib/X11/:
        lcUTF8.c
      xc/programs/Xserver/hw/xfree86/:
        CHANGELOG

  Revision      Changes    Path
  1.17          +6 -2      xc/lib/X11/lcUTF8.c
  3.3194        +3 -1      xc/programs/Xserver/hw/xfree86/CHANGELOG
Comment 4 Mike A. Harris 2004-04-05 18:15:35 UTC
Created attachment 173 [details] [review]
Patch to fix application crash in zh_CN.UTF8
Comment 5 Bugzilla Maintainer 2004-04-06 12:15:00 UTC
Yes, this one is a critical bug and needs to be fixed, but it's going to have to
wait until the next release.  I'm retargetting this to #351 so that it won't get
lost.

Better to ship with a bug we know than ship with untested code.
Comment 6 Mike A. Harris 2004-04-06 13:35:03 UTC
Sounds reasonable, thanks.
Comment 7 Kevin E. Martin 2004-08-02 19:15:11 UTC
Is there any reason to not commit this bug now so that it can get testing before
the next release?
Comment 8 Kevin E. Martin 2004-08-09 15:39:36 UTC
Patch checked in.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.