Please sync t1lib 5.1.1-5 (main) from Debian unstable (main)

Bug #181650 reported by Marco Rodrigues
10
Affects Status Importance Assigned to Milestone
t1lib (Debian)
Fix Released
Unknown
t1lib (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 affects ubuntu/t1lib
 status New
 importance wishlist
 subscribe dholbach
 subscribe norsetto

Please sync t1lib 5.1.1-5 (main) from Debian unstable (main).
Changelog since current hardy version 5.1.1-1.1:

t1lib (5.1.1-5) unstable; urgency=low

  * Replace Build-Depends-Indep by Build-Depends again.

 -- Torsten Werner <email address hidden> Tue, 08 Jan 2008 21:34:25 +0100

t1lib (5.1.1-4) unstable; urgency=low

  * Add Build-Depends-Indep: libxt-dev. (Closes: #459754)

 -- Torsten Werner <email address hidden> Tue, 08 Jan 2008 20:29:01 +0100

t1lib (5.1.1-3) unstable; urgency=low

  * Replace static changes of upstream files by quilt patches as requested by
    Fedora developers.
  * Remove postinst that removed the old /usr/doc symlink.
  * Remove preinst that removed the old /usr/share/doc/t1lib-bin symlink.
  * Rename menu.t1lib-bin to t1lib-bin.menu to make sure the menu file gets
    installed.
  * Update menu file to conform to current menu policy.
  * Install documentation with dh_installdocs instead of dh_install and some
    other minor cleanups.
  * Switch to cdbs.
  * Fix versioned Build-Depends: debhelper (>= 5).
  * Move some Build-Depends to Build-Depends-Indep.
  * Apply two patches provided by Patrice Dumas:
    - Update t1libconfig's font search.
    - Fixes a segfault.
  * Integrate another patch that fixes a segfault. (Closes: #313236)

 -- Torsten Werner <email address hidden> Sun, 06 Jan 2008 20:50:19 +0100

t1lib (5.1.1-2) unstable; urgency=low

  * Add Depends: libxaw7-dev to -dev package.
  * Switch to DH_COMPAT = 5.
  * Update Vcs headers in debian/control.
  * Change Standards-Version: 3.7.3.
  * Do not link with unneeded libraries.
  * Add LDFLAGS=-Wl,--as-needed.

 -- Torsten Werner <email address hidden> Fri, 21 Dec 2007 22:54:43 +0100

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHhWCJQGoC3MKACe8RApOLAJ4j8Qdwv+eHsVaYmdotn11bRyM54QCfYBjU
NzXjfL/dXdxSJqpINZWxNUU=
=odkK
-----END PGP SIGNATURE-----

Revision history for this message
In , mark (mbarnes) wrote : segmentation fault when starting xpdf reader

Package: xpdf
Version: 3.00-13
Followup-For: Bug #313236

Installed xpdf from the deb package, tried to start it from the menu or the command line, and get an errror message "Segmentation fault". I downloaded the binary from foolabs.com, installed it in /usr/local, and it runs fine.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages xpdf depends on:
ii xpdf-common 3.00-13 Portable Document Format (PDF) sui
ii xpdf-reader 3.00-13 Portable Document Format (PDF) sui
ii xpdf-utils 3.00-13 Portable Document Format (PDF) sui

Revision history for this message
In , Hamish Moffatt (hamish) wrote : Re: Bug#313236: segmentation fault when starting xpdf reader

On Tue, Jun 14, 2005 at 04:53:39PM -0700, mark wrote:
> Package: xpdf
> Version: 3.00-13
> Followup-For: Bug #313236
>
>
> Installed xpdf from the deb package, tried to start it from the menu or the command line, and get an errror message "Segmentation fault". I downloaded the binary from foolabs.com, installed it in /usr/local, and it runs fine.

I need to know which library versions you have please. It would help if
you either

1. reported the bug against xpdf-reader, or
2. used the latest version of reportbug

.. so that this information was included in the bug report.

If you like, start a new bug report so that I get that information.
Your segfault might not be the same as #313236 anyway.

Hamish
--
Hamish Moffatt VK3SB <email address hidden> <email address hidden>

Revision history for this message
In , Hamish Moffatt (hamish) wrote : [Mailer-Daemon@risingsoftware.com: Mail delivery failed: returning message to sender]

Email to follow-up-er bounces :(
----- Forwarded message from Mail Delivery System <email address hidden> -----

X-Failed-Recipients: <email address hidden>
Auto-Submitted: auto-generated
From: Mail Delivery System <email address hidden>
To: <email address hidden>
Subject: Mail delivery failed: returning message to sender
Date: Wed, 15 Jun 2005 04:15:33 -0500
X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
 autolearn=ham version=3.0.3

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  <email address hidden>
    SMTP error from remote mailer after RCPT TO:<email address hidden>:
    host ultra6.eskimo.com [204.122.16.69]: 550 5.7.1 <email address hidden>... Access denied

------ This is a copy of the message, including all the headers. ------

Return-path: <email address hidden>
Received: from c220-237-185-173.eburwd5.vic.optusnet.com.au ([220.237.185.173] helo=noddy.cloud.net.au)
 by risingsoftware01.propagation.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32)
 (Exim 4.50)
 id 1DiTzg-0007VQ-6v; Wed, 15 Jun 2005 04:15:32 -0500
Received: from hamish by noddy.cloud.net.au with local (Exim 4.50)
 id 1DiTyb-0007Gk-6j; Wed, 15 Jun 2005 19:14:25 +1000
Date: Wed, 15 Jun 2005 19:14:24 +1000
From: Hamish Moffatt <email address hidden>
To: mark <email address hidden>, <email address hidden>
Subject: Re: Bug#313236: segmentation fault when starting xpdf reader
Message-ID: <email address hidden>
References: <email address hidden>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <email address hidden>
User-Agent: Mutt/1.5.9i

On Tue, Jun 14, 2005 at 04:53:39PM -0700, mark wrote:
> Package: xpdf
> Version: 3.00-13
> Followup-For: Bug #313236
>
>
> Installed xpdf from the deb package, tried to start it from the menu or the command line, and get an errror message "Segmentation fault". I downloaded the binary from foolabs.com, installed it in /usr/local, and it runs fine.

I need to know which library versions you have please. It would help if
you either

1. reported the bug against xpdf-reader, or
2. used the latest version of reportbug

.. so that this information was included in the bug report.

If you like, start a new bug report so that I get that information.
Your segfault might not be the same as #313236 anyway.

Hamish
--
Hamish Moffatt VK3SB <email address hidden> <email address hidden>

----- End forwarded message -----

--
Hamish Moffatt VK3SB <email address hidden> <email address hidden>

Revision history for this message
In , Hamish Moffatt (hamish) wrote : confirming bugs

tags 303710 +confirmed
forwarded 303710 <email address hidden>
severity 303710 normal
# there are plenty of crashes, this one isn't special

tags 313236 +confirmed
forwarded 313236 <email address hidden>

tags 320631 +confirmed

tags 302546 +confirmed +patch

tags 322906 +confirmed
forwarded 322906 <email address hidden>

tags 320626 +confirmed
forwarded 322906 <email address hidden>

forwarded 322321 <email address hidden>
merge 240242 322321

thanks

--
Hamish Moffatt VK3SB <email address hidden> <email address hidden>

Revision history for this message
In , Arnaud Renevier (arenevier) wrote : Re: segfaults (in T1_GetFontBBox () from /usr/lib/libt1.so.5)

I think the bug occurs because, in your pdf file, embedded font
HelveticaNeue-H75 does not define FontBBox in its FontFile.

So, in T1_GetFontBBox, a crash occurs at
obj =
&(pFontBase->pFontArray[FontID].pType1Data->fontInfoP[FONTBBOX].value.data.arrayP[0]);
(because
pFontBase->pFontArray[FontID].pType1Data->fontInfoP[FONTBBOX].value.data.arrayP
is still NULL)

I also investigated to find if other unspecified properties could cause
other crashes, and discovered that if Encoding is not set, t1lib also
crashed (in T1_LoadFont) because of that line.

 if (strcmp( (char
     *)pFontBase->pFontArray[FontID].pType1Data->fontInfoP[ENCODING].value.data.arrayP[i].data.arrayP,

you can reproduce that bug by editing /usr/share/fonts/type1/gsfonts/n019003l.pfb
and replacing
/Encoding StandardEncoding def
with
/Ancoding StandardEncoding def
(don't modify file length though)
and launching attached pdf genplano.pdf.bz2 (or any other pdf using
that font)

I attach a patch (for t1lib-5.1.0 or t1lib-5.1.1), to set default values
to fontbbox ([0 0 0 0]) and encoding (StandardEncoding) if they are not
defined in font file, but I don't known if it's a good idea, or if it
would be preferable to stop processing and to return an error.

arno

reassign 313236 t1lib
--

Revision history for this message
In , Arnaud Renevier (arenevier) wrote : bug 313236

reassign 313236 t1lib
--

Revision history for this message
In , Artur R. Czechowski (arturcz) wrote : exists

found 313236 5.1.0-2

Revision history for this message
In , Artur R. Czechowski (arturcz) wrote : patch

tag 313236 patch

Revision history for this message
In , Torsten Werner (twerner) wrote : Bug#313236: fixed in t1lib 5.1.1-3
Download full text (3.3 KiB)

Source: t1lib
Source-Version: 5.1.1-3

We believe that the bug you reported is fixed in the latest version of
t1lib, which is due to be installed in the Debian FTP archive:

libt1-5_5.1.1-3_i386.deb
  to pool/main/t/t1lib/libt1-5_5.1.1-3_i386.deb
libt1-dev_5.1.1-3_i386.deb
  to pool/main/t/t1lib/libt1-dev_5.1.1-3_i386.deb
libt1-doc_5.1.1-3_all.deb
  to pool/main/t/t1lib/libt1-doc_5.1.1-3_all.deb
t1lib-bin_5.1.1-3_i386.deb
  to pool/main/t/t1lib/t1lib-bin_5.1.1-3_i386.deb
t1lib_5.1.1-3.diff.gz
  to pool/main/t/t1lib/t1lib_5.1.1-3.diff.gz
t1lib_5.1.1-3.dsc
  to pool/main/t/t1lib/t1lib_5.1.1-3.dsc

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Torsten Werner <email address hidden> (supplier of updated t1lib package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 06 Jan 2008 20:50:19 +0100
Source: t1lib
Binary: t1lib-bin libt1-5 libt1-doc libt1-dev
Architecture: source all i386
Version: 5.1.1-3
Distribution: unstable
Urgency: low
Maintainer: Torsten Werner <email address hidden>
Changed-By: Torsten Werner <email address hidden>
Description:
 libt1-5 - Type 1 font rasterizer library - runtime
 libt1-dev - Type 1 font rasterizer library - development
 libt1-doc - Type 1 font rasterizer library - developers documentation
 t1lib-bin - Type 1 font rasterizer library - user binaries
Closes: 313236
Changes:
 t1lib (5.1.1-3) unstable; urgency=low
 .
   * Replace static changes of upstream files by quilt patches as requested by
     Fedora developers.
   * Remove postinst that removed the old /usr/doc symlink.
   * Remove preinst that removed the old /usr/share/doc/t1lib-bin symlink.
   * Rename menu.t1lib-bin to t1lib-bin.menu to make sure the menu file gets
     installed.
   * Update menu file to conform to current menu policy.
   * Install documentation with dh_installdocs instead of dh_install and some
     other minor cleanups.
   * Switch to cdbs.
   * Fix versioned Build-Depends: debhelper (>= 5).
   * Move some Build-Depends to Build-Depends-Indep.
   * Apply two patches provided by Patrice Dumas:
     - Update t1libconfig's font search.
     - Fixes a segfault.
   * Integrate another patch that fixes a segfault. (Closes: #313236)
Files:
 a2a357de61ba946197520cb962927cb6 795 libs optional t1lib_5.1.1-3.dsc
 293442d7226eff695b0f4115cbeba0f0 15068 libs optional t1lib_5.1.1-3.diff.gz
 0aaf9ee2a8c97fe11e1abcb6055f6c3b 609518 doc optional libt1-doc_5.1.1-3_all.deb
 a3089865c509bc16c6acf27044387a83 146808 libs optional libt1-5_5.1.1-3_i386.deb
 010f62dca521178f109d00d2d3a1c116 169594 libdevel optional libt1-dev_5.1.1-3_i386.deb
 a8065b15acfba089d96af522c8011dda 55240 misc optional t1lib-bin_5.1.1-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux...

Read more...

Revision history for this message
Marco Rodrigues (gothicx) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 affects ubuntu/t1lib
 status New
 importance wishlist
 subscribe dholbach
 subscribe norsetto

Please sync t1lib 5.1.1-5 (main) from Debian unstable (main).
Changelog since current hardy version 5.1.1-1.1:

t1lib (5.1.1-5) unstable; urgency=low

  * Replace Build-Depends-Indep by Build-Depends again.

 -- Torsten Werner <email address hidden> Tue, 08 Jan 2008 21:34:25 +0100

t1lib (5.1.1-4) unstable; urgency=low

  * Add Build-Depends-Indep: libxt-dev. (Closes: #459754)

 -- Torsten Werner <email address hidden> Tue, 08 Jan 2008 20:29:01 +0100

t1lib (5.1.1-3) unstable; urgency=low

  * Replace static changes of upstream files by quilt patches as requested by
    Fedora developers.
  * Remove postinst that removed the old /usr/doc symlink.
  * Remove preinst that removed the old /usr/share/doc/t1lib-bin symlink.
  * Rename menu.t1lib-bin to t1lib-bin.menu to make sure the menu file gets
    installed.
  * Update menu file to conform to current menu policy.
  * Install documentation with dh_installdocs instead of dh_install and some
    other minor cleanups.
  * Switch to cdbs.
  * Fix versioned Build-Depends: debhelper (>= 5).
  * Move some Build-Depends to Build-Depends-Indep.
  * Apply two patches provided by Patrice Dumas:
    - Update t1libconfig's font search.
    - Fixes a segfault.
  * Integrate another patch that fixes a segfault. (Closes: #313236)

 -- Torsten Werner <email address hidden> Sun, 06 Jan 2008 20:50:19 +0100

t1lib (5.1.1-2) unstable; urgency=low

  * Add Depends: libxaw7-dev to -dev package.
  * Switch to DH_COMPAT = 5.
  * Update Vcs headers in debian/control.
  * Change Standards-Version: 3.7.3.
  * Do not link with unneeded libraries.
  * Add LDFLAGS=-Wl,--as-needed.

 -- Torsten Werner <email address hidden> Fri, 21 Dec 2007 22:54:43 +0100

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHhWCJQGoC3MKACe8RApOLAJ4j8Qdwv+eHsVaYmdotn11bRyM54QCfYBjU
NzXjfL/dXdxSJqpINZWxNUU=
=odkK
-----END PGP SIGNATURE-----

Revision history for this message
Marco Rodrigues (gothicx) wrote :

There are many reasons to sync this package, like the segfault's (memory leaks) ones.

Revision history for this message
Marco Rodrigues (gothicx) wrote :

...

dpkg-deb: building package `t1lib-bin' in `../t1lib-bin_5.1.1-5_i386.deb'.
 dpkg-genchanges >../t1lib_5.1.1-5_i386.changes
dpkg-genchanges: not including original source code in upload
dpkg-buildpackage: binary and diff upload (original source NOT included)
Copying back the cached apt archive contents
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//2144 and its subdirectories
Current time: Thu Jan 10 00:18:03 WET 2008
pbuilder-time-stamp: 1199924283

Revision history for this message
Daniel Holbach (dholbach) wrote :

ACKed.

Changed in t1lib:
status: New → Confirmed
Changed in t1lib:
status: Unknown → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

synced

Changed in t1lib:
status: Confirmed → Fix Released
Revision history for this message
In , Debbugs Internal Request (owner-bugs) wrote : Internal Control

# A New Hope
# A log time ago, in a galaxy far, far away
# something happened.
#
# Magically this resulted in the following
# action being taken, but this fake control
# message doesn't tell you why it happened
#
# The action:
# Bug archived.
thanks
# This fakemail brought to you by your local debbugs
# administrator

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

Other bug subscribers

Remote bug watches

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