Your message dated Sat, 26 Feb 2005 17:32:19 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#193692: fixed in html2ps 1.0b3-4
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 18 May 2003 01:10:07 +0000
>From [EMAIL PROTECTED] Sat May 17 20:10:06 2003
Return-path: <[EMAIL PROTECTED]>
Received: from post.it.helsinki.fi [128.214.205.24]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 19HCgg-0004Qb-00; Sat, 17 May 2003 20:10:06 -0500
Received: from la.iki.fi ([EMAIL PROTECTED] [128.214.205.14])
by post.it.helsinki.fi (8.12.9/8.12.2-SPAMmers-sod-off) with ESMTP id
h4I1A4Qo009857;
Sun, 18 May 2003 04:10:04 +0300 (EEST)
Received: from la by la.iki.fi with local (Exim 3.36 #1 (Debian))
id 19HCga-0005sr-00; Sun, 18 May 2003 04:10:00 +0300
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Lauri Alanko <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: html2ps: Handling EPS images blows the stack
X-Mailer: reportbug 2.10
Date: Sun, 18 May 2003 04:10:00 +0300
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-9.2 required=4.0
tests=BAYES_20,HAS_PACKAGE,QUOTED_EMAIL_TEXT
version=2.53-bugs.debian.org_2003_05_09
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_09
(1.174.2.15-2003-03-30-exp)
Package: html2ps
Version: 1.0b3-3
Severity: normal
Tags: upstream patch
Running html2ps on files with largish EPS images (using the --original
option) can cause the program to segfault. After some examination with
perl -d and gdb, it turned out that perl's regexp matching engine blows
the stack with thousands of frames. I don't know exactly what causes this, but
it probably has something to do with $&:s implementation.
The following trivial patch seems to fix the problem, and it also makes
EPS handling noticeably faster:
4320c4320
< $npr=$ps=~s|(.*\n){$nli}|sprintf("$&} D\n/P$nimg\_%d
{",$n++)|eg;
---
> $npr=$ps=~s|(.*\n{$nli})|sprintf("$1} D\n/P$nimg\_%d
> {",$n++)|eg;
Sorry for not providing more information, but since the bug occurs
mostly with large EPS files, I don't have a practical minimal example.
In any case, applying the patch can't do any harm.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux la.iki.fi 2.4.18 #1 Mon Jul 22 17:03:02 EEST 2002 i586
Locale: LANG=C, LC_CTYPE=fi_FI.ISO-8859-1
Versions of packages html2ps depends on:
ii libhtml-parser-perl 3.26-0.1 A collection of modules that parse
ii libpaper-utils 1.1.12 Library for handling paper charact
ii libwww-perl 5.65-0.1 WWW client/server library for Perl
ii perl 5.8.0-17 Larry Wall's Practical Extraction
ii perlmagick 4:5.5.3-1 A perl interface to the libMagick
ii tk8.0 [wish] 8.0.5-10 The Tk toolkit for TCL and X11 v8.
ii tk8.3 [wish] 8.3.3-10 Tk toolkit for Tcl and X11, v8.3 -
ii tk8.4 [wish] 8.4.1-2 Tk toolkit for Tcl and X11, v8.4 -
ii weblint 1.93-2 a syntax and minimal style checker
-- no debconf information
---------------------------------------
Received: (at 193692-close) by bugs.debian.org; 26 Feb 2005 22:38:33 +0000
>From [EMAIL PROTECTED] Sat Feb 26 14:38:33 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1D5Aa1-0006rr-00; Sat, 26 Feb 2005 14:38:33 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1D5ATz-00022S-00; Sat, 26 Feb 2005 17:32:19 -0500
From: Andrew Pollock <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#193692: fixed in html2ps 1.0b3-4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 26 Feb 2005 17:32:19 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 2
Source: html2ps
Source-Version: 1.0b3-4
We believe that the bug you reported is fixed in the latest version of
html2ps, which is due to be installed in the Debian FTP archive:
html2ps_1.0b3-4.diff.gz
to pool/main/h/html2ps/html2ps_1.0b3-4.diff.gz
html2ps_1.0b3-4.dsc
to pool/main/h/html2ps/html2ps_1.0b3-4.dsc
html2ps_1.0b3-4_all.deb
to pool/main/h/html2ps/html2ps_1.0b3-4_all.deb
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 PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrew Pollock <[EMAIL PROTECTED]> (supplier of updated html2ps 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 PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 27 Feb 2005 09:14:07 +1100
Source: html2ps
Binary: html2ps
Architecture: source all
Version: 1.0b3-4
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Andrew Pollock <[EMAIL PROTECTED]>
Description:
html2ps - HTML to PostScript converter
Closes: 185479 193692 271377
Changes:
html2ps (1.0b3-4) unstable; urgency=low
.
* QA Group upload orphaning this package
* debian/control: Depend on weblint-perl instead of weblint (closes:
#271377)
* Incorporates previous NMUs (closes: #185479, #193692)
* debian/control: add dependency on tk8.3 or'ed with wish
* debian/copyright: corrected spelling mistake
Files:
ea77a7eb3576c5e4bc326c863b2c6514 572 text optional html2ps_1.0b3-4.dsc
0f8b7e39d3f7a42e45ffce466499156e 6015 text optional html2ps_1.0b3-4.diff.gz
c082c07f8a62714126bcb18dbf387acb 148970 text optional html2ps_1.0b3-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCIPWfIblXXKfZFgIRAsdMAJ9QwWX9Y+4YIulQdYdvojtuLVQAgACgkq1G
3ljsvPRZiZgk8dEOLaX7JCU=
=SEmf
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]