Bug 3922

Summary: freetype module crashes Xserver with latest libfreetype2
Product: xorg Reporter: Stefan Dirsch <sndirsch>
Component: Build/MonolithicAssignee: Keith Packard <keithp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: basic, dparsons, eich, mfabian
Version: 6.8.2Keywords: patch
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
libfreetype patch
none
freetype module patch none

Description Stefan Dirsch 2005-07-31 02:55:35 UTC
I just tried to update libfreetype2 to 2.1.10. Unfortunately, the Xserver 
freetype module uses some internal libfreetype2 interface, which changed in 
the new version of libfreetype2. This results in Xserver crashes and is 
related to embedded bitmap support in libfreetype2. 
 
More details could be found here: 
 
  http://lists.gnu.org/archive/html/freetype-devel/2005-07/msg00020.html 
 
I attach a small patch, which avoids the crashes for me - and disables  
embedded bitmap support completely. :-(
Comment 1 Stefan Dirsch 2005-07-31 02:57:39 UTC
Created attachment 3194 [details]
SSH key for Sami Wagiaalla
Comment 2 Stefan Dirsch 2005-07-31 03:00:13 UTC
After reverting some changes in libfreetype 2.1.10 (I'll attach another patch 
for this) the Xserver no longer crashes (also without the Xserver patch 
above). Since I'm quite sure, that these changes were intentional the 
libfreetype patch should only be used as workaround for now. The libfreetype 
developers didn't comment yet. :-( 
Comment 3 Stefan Dirsch 2005-07-31 03:02:25 UTC
Created attachment 3195 [details] [review]
Patch to ensure no test shares displays across tet_fork
Comment 4 Stefan Dirsch 2005-07-31 03:03:55 UTC
Assigning to Keith. 
Comment 5 Alan Coopersmith 2005-10-09 01:00:49 UTC
Previously attached patches lost in bugzilla disk death.
Comment 6 Stefan Dirsch 2005-10-09 01:48:58 UTC
Created attachment 3516 [details] [review]
libfreetype patch
Comment 7 Stefan Dirsch 2005-10-09 01:49:44 UTC
Created attachment 3517 [details] [review]
freetype module patch
Comment 8 Stefan Dirsch 2005-10-09 01:55:17 UTC
- libfreetype patch by mfabian@suse.de 
- freetype module patch by eich@suse.de 
Comment 9 Erik Andren 2006-05-31 01:34:28 UTC
Any plans on merging these patches?
Comment 10 Timo Jyrinki 2007-02-22 14:27:30 UTC
Marking broken (status null/blank) bugs in xorg with no activity in a long time as fixed. Please reopen if you think it's necessary, but first do a search if a similar bug report is already filed and in a NEW/ASSIGNED state. These bugs do not currently show in most search results as they do not have any status.

Sorry for this janitorial spam, you know where to send hate mails to when your inbox gets full of bugs you're subscribed to.
Comment 11 Stefan Dirsch 2007-02-22 20:54:49 UTC
Yes, I think these patches are obsoleted by current X.Org/freetype2 versions. At least SUSE no longer uses these patches for X.Org/freetype2.

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.