Debian Bug report logs - #447081
dvips -z segfault with really long url on \href

version graph

Package: texlive-base-bin; Maintainer for texlive-base-bin is (unknown);

Reported by: Bastien ROUCARIES <bastien.roucaries+bugs@enseeiht.fr>

Date: 2007年10月17日 21:54:01 UTC

Severity: normal

Tags: patch

Found in version texlive-bin/2007-14

Fixed in version texlive-bin/2007.dfsg.1-1

Done: Norbert Preining <preining@debian.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.debian.org
Subject: Bug#447081: dvips -z segfault with really long url on \href
Reply-To: Bastien ROUCARIES <bastien.roucaries@enseeiht.fr>, 447081@bugs.debian.org
Resent-From: Bastien ROUCARIES <bastien.roucaries@enseeiht.fr>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
Resent-Date: 2007年10月18日 09:06:01 +0000
Resent-Message-ID: <handler.447081.B447081.11926982127026@bugs.debian.org>
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 447081
X-Debian-PR-Package: texlive-base-bin
X-Debian-PR-Keywords: 
X-Debian-PR-Source: texlive-bin
Received: via spool by 447081-submit@bugs.debian.org id=B447081.11926982127026
 (code B ref 447081); 2007年10月18日 09:06:01 +0000
Received: (at 447081) by bugs.debian.org; 18 Oct 2007 09:03:32 +0000
X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02 
	(2006年07月26日) on rietz.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.8 required=4.0 tests=BAYES_00,FOURLA,
	HAS_BUG_NUMBER,HAS_PACKAGE,HOT_NASTY,MDO_DATING2,MONEY,
	MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,STOCKLIKE autolearn=no 
	version=3.1.4-bugs.debian.org_2005_01_02
Received: from n7smtp2.enseeiht.fr ([147.127.176.22] ident=root)
	by rietz.debian.org with esmtp (Exim 4.50)
	id 1IiRHv-0001nT-NS
	for 447081@bugs.debian.org; 2007年10月18日 09:03:32 +0000
Received: from mail.enseeiht.fr (imap.enseeiht.fr [147.127.176.21])
	by n7smtp2.enseeiht.fr (8.13.8/8.13.8/Debian-3) with ESMTP id l9I939Zg025641;
	2007年10月18日 11:03:09 +0200
Received: from www.etu.enseeiht.fr (bastien@pc25-215.len7.enseeiht.fr [147.127.25.215])
	by mail.enseeiht.fr (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l9I93Cat022453;
	2007年10月18日 11:03:12 +0200
From: Bastien ROUCARIES <bastien.roucaries@enseeiht.fr>
To: 447081@bugs.debian.org
Date: 2007年10月18日 11:03:36 +0200
User-Agent: KMail/1.9.7
References: <200710172351.40296.bastien.roucaries+bugs@enseeiht.fr> <20071018053741.GW7714@gamma.logic.tuwien.ac.at> <20071018.164912.193707610.kohda@pm.tokushima-u.ac.jp>
In-Reply-To: <20071018.164912.193707610.kohda@pm.tokushima-u.ac.jp>
Cc: Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp>,
 Norbert Preining <preining@logic.at>
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200710181103.36942.bastien.roucaries@enseeiht.fr>
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (n7smtp2.enseeiht.fr [147.127.176.22]); 2007年10月18日 11:03:09 +0200 (CEST)
X-Scanned-By: MIMEDefang 2.57 on 147.127.176.22
Le jeudi 18 octobre 2007, vous avez écrit :
> Hi all,
>
> On 2007年10月18日 07:37:41 +0200, Norbert Preining wrote:
> > > Run latex then dvips -z on the following file and dvips will segfault
> > > look like a buffer overrun...
> >
> > I cannot confirm this:
>
> ...
>
> > $ dvips foo
> > This is dvips(k) 5.96.1 Copyright 2007 Radical Eye Software
> > (www.radicaleye.com)
>
> Bastien, have you installed dvipsk-ja? 
No I have not installed dvipsk-ja, will try
> (Please attach an output of dvips as Norbert did then
> we can see what dvips you used.)
Full transcript (BTW i am using testing on amd64 perhaps it is due to a 64 bit 
issue)
sh-3.1$ dvips -v
This is dvips(k) 5.96.1 Copyright 2007 Radical Eye Software 
(www.radicaleye.com)
sh-3.1$ cat test.tex
\documentclass{article}
\usepackage[hypertex]{hyperref}
\begin{document}
\href{/XXXX/XXXXXXX/XXX/XXXXX/XXXXXXXXXXXXXXX/XXXXXXX/XXXXXXXXXXXXXXXXX/XXXXXXXXXX 
XXXXXXXXXXXXXXXXXXX/XXXXXXXXXX XXXXX XXXXXXXXXXXXX - 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}{solot}
\end{document}
sh-3.1$ latex test.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005年12月01日>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, 
noh
yphenation, croatian, ukrainian, russian, bulgarian, czech, slovak, danish, 
dut
ch, finnish, basque, french, german, ngerman, ibycus, greek, monogreek, 
ancient
greek, hungarian, italian, latin, mongolian, norsk, icelandic, interlingua, 
tur
kish, coptic, romanian, welsh, serbian, slovenian, estonian, esperanto, 
upperso
rbian, indonesian, polish, portuguese, spanish, catalan, galician, swedish, 
uke
nglish, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005年09月16日 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
(/etc/texmf/tex/latex/config/hyperref.cfg)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty)
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty))
*hyperref using driver hypertex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hypertex.def) (./test.aux)
(/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) [1] (./test.aux) )
Output written on test.dvi (1 page, 512 bytes).
Transcript written on test.log.
sh-3.1$ cat test.log
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex 
2007年10月7日) 18 OCT 2007 10:59
entering extended mode
 %&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2005年12月01日>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, 
noh
yphenation, croatian, ukrainian, russian, bulgarian, czech, slovak, danish, 
dut
ch, finnish, basque, french, german, ngerman, ibycus, greek, monogreek, 
ancient
greek, hungarian, italian, latin, mongolian, norsk, icelandic, interlingua, 
tur
kish, coptic, romanian, welsh, serbian, slovenian, estonian, esperanto, 
upperso
rbian, indonesian, polish, portuguese, spanish, catalan, galician, swedish, 
uke
nglish, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005年09月16日 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo
File: size10.clo 2005年09月16日 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
Package: hyperref 2007年02月07日 v6.75r Hypertext links for LaTeX
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999年03月16日 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
\@linkdim=\dimen103
\Hy@linkcounter=\count87
\Hy@pagecounter=\count88
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2007年02月07日 v6.75r Hyperref: PDFDocEncoding definition (HO)
)
(/etc/texmf/tex/latex/config/hyperref.cfg
File: hyperref.cfg 2002年06月06日 v1.2 hyperref configuration of TeXLive
)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2006年08月22日 v2.4 Connects package keyval with LaTeX options 
(
HO)
)
Package hyperref Info: Hyper figures OFF on input line 2288.
Package hyperref Info: Link nesting OFF on input line 2293.
Package hyperref Info: Hyper index ON on input line 2296.
Package hyperref Info: Plain pages OFF on input line 2303.
Package hyperref Info: Backreferencing OFF on input line 2308.
Implicit mode ON; LaTeX internals redefined
Package hyperref Info: Bookmarks ON on input line 2444.
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty
\Urlmuskip=\muskip10
Package: url 2005年06月27日 ver 3.2 Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 2599.
\Fld@menulength=\count89
\Field@Width=\dimen104
\Fld@charsize=\dimen105
\Choice@toks=\toks15
\Field@toks=\toks16
Package hyperref Info: Hyper figures OFF on input line 3102.
Package hyperref Info: Link nesting OFF on input line 3107.
Package hyperref Info: Hyper index ON on input line 3110.
Package hyperref Info: backreferencing OFF on input line 3117.
Package hyperref Info: Link coloring OFF on input line 3122.
\Hy@abspage=\count90
\c@Item=\count91
\c@Hfootnote=\count92
)
*hyperref using driver hypertex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hypertex.def
File: hypertex.def 2007年02月07日 v6.75r Hyperref driver for HyperTeX specials
) (./test.aux)
\openout1 = `test.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
Package hyperref Info: Link coloring OFF on input line 5.
(/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
Package: nameref 2006年12月27日 v2.28 Cross-referencing by name of section
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty
Package: refcount 2006年02月20日 v3.0 Data extraction from references (HO)
)
\c@section@level=\count93
)
LaTeX Info: Redefining \ref on input line 5.
LaTeX Info: Redefining \pageref on input line 5.
 [1
] (./test.aux) )
Here is how much of TeX's memory you used:
 2013 strings out of 94090
 28732 string characters out of 1165614
 73858 words of memory out of 1500000
 5347 multiletter control sequences out of 10000+50000
 3640 words of font info for 14 fonts, out of 1200000 for 2000
 645 hyphenation exceptions out of 8191
 25i,4n,21p,210b,296s stack positions out of 5000i,500n,6000p,200000b,5000s
Output written on test.dvi (1 page, 512 bytes).
sh-3.1$ dvips -z test.dvi
This is dvips(k) 5.96.1 Copyright 2007 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2007年10月18日:1059' -> test.ps
</usr/share/texmf-texlive/dvips/base/tex.pro>
</usr/share/texmf-texlive/dvips/base/texps.pro>
</usr/share/texmf-texlive/dvips/base/special.pro>
</home/bastien/texmf/dvips/hps.pro>.
</usr/share/texmf-texlive/fonts/type1/bluesky/cm/cmr10.pfb>[1Erreur de 
segmentation
sh-3.1$ 
> It seems dvips of dvipsk-ja causes segfault.
>
> Regards, 	 	 	 2007年10月18日(Thu)
-- 
"ROUCARIES Bastien"
 bastien.roucaries@enseeiht.fr
-------------------------------------------------------------------------------

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Dec 4 02:20:30 2025; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.

AltStyle によって変換されたページ (->オリジナル) /