face_flags overridden, leading to double free

Bug #1310728 reported by Thomas Kluyver on 2014-04-21
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
FreeType
Unknown
Unknown
freetype (Ubuntu)
High
Unassigned
Trusty
Undecided
Unassigned

Bug Description

* Impact:
Daily builds of matplotlib are failing while running an example, due to a bug in freetype. This is already fixed upstream, but it appears that the fix is not yet in Ubuntu.

Test Case:
see http://savannah.nongnu.org/bugs/?40997

Regression potential:
Check for font rendering issues and possible segfaults or corruptions bugs
-------

Upstream bug report:
http://savannah.nongnu.org/bugs/?40997

Upstream fix commit:
http://git.savannah.gnu.org/gitweb/?p=freetype/freetype2.git;a=commit;h=5f577462bd7cc8e2ca6fe4a1efecee6d8a95e7be

Matplotlib bug report that identified this as a freetype issue:
https://github.com/matplotlib/matplotlib/issues/2916

Daily builds (currently disabled because of this error):
https://code.launchpad.net/~takluyver/+recipe/matplotlib-daily

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in freetype (Ubuntu):
status: New → Confirmed
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that seems indeed a fix we should backport

Changed in freetype (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
description: updated
Iain Lane (laney) wrote :

Uploaded to S and T (needs to be reviewed there), thanks

Changed in freetype (Ubuntu Trusty):
status: New → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freetype - 2.5.2-1ubuntu3

---------------
freetype (2.5.2-1ubuntu3) utopic; urgency=medium

  * debian/patches-freetype/0001-Fix-Savannah-bug-40997.patch: Cherry-pick
    upstream patch to fix a double free. (LP: #1310728)
 -- Iain Lane <email address hidden> Thu, 01 May 2014 12:53:39 +0100

Changed in freetype (Ubuntu):
status: Triaged → Fix Released
Brian Murray (brian-murray) wrote :

Iain - Did you mean U and T? I don't see it the Saucy proposed queue.

Changed in freetype (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed

Hello Thomas, or anyone else affected,

Accepted freetype into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/freetype/2.5.2-1ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Thomas Kluyver (takluyver) wrote :

I've enabled Proposed for the PPA and rerun the problematic build, and I can confirm that the problem has gone away. Thanks! :-)

https://code.launchpad.net/~takluyver/+recipe/matplotlib-daily

Iain Lane (laney) wrote :

yes I did mean U and T

tags: added: verification-done
removed: verification-needed
Thomas Caswell (tcaswell-gmail) wrote :

I also report that the problem is gone when updating to proprosed (but this is not new information because it is the same script as takluyver had issues with).

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freetype - 2.5.2-1ubuntu2.1

---------------
freetype (2.5.2-1ubuntu2.1) trusty; urgency=medium

  * debian/patches-freetype/0001-Fix-Savannah-bug-40997.patch: Cherry-pick
    upstream patch to fix a double free. (LP: #1310728)
 -- Iain Lane <email address hidden> Thu, 01 May 2014 12:53:39 +0100

Changed in freetype (Ubuntu Trusty):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for freetype has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.