Package: tetex-bin Version: 2.0.2-25 Severity: important dvipdfm segfaults on the following trivial LaTeX file.
%---------------------------------------------------------------------- % test.tex \documentclass[12pt,a4paper]{article} \usepackage[hypertex]{hyperref} \begin{document} This is a simple test. \end{document} %---------------------------------------------------------------------- If you compile the file and run dvipdfm on the resulting dvi file you'll get a segfault as shown below. $ latex test.tex [...] $ dvipdfm test.dvi test.dvi -> test.pdf [1]Segmentation fault Enclosed below is the test.log file for more details on my LaTeX environment. # -------------------------------------------------- This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5) (format=latex 2005.1.18) 21 JAN 2005 00:25 entering extended mode **test.tex (./test.tex LaTeX2e <2001/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size12.clo File: size12.clo 2001/04/21 v1.4e Standard LaTeX file (size option) ) [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf/tex/latex/hyperref/hyperref.sty Package: hyperref 2003/01/22 v6.73n Hypertext links for LaTeX (/usr/share/texmf/tex/latex/graphics/keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) [EMAIL PROTECTED]@=\toks14 ) [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] (/usr/share/texmf/tex/latex/hyperref/pd1enc.def File: pd1enc.def 2003/01/22 v6.73n Hyperref: PDFDocEncoding definition (HO) ) (/usr/share/texmf/tex/latex/config/hyperref.cfg File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive and teTeX ) Package hyperref Info: Hyper figures OFF on input line 1792. Package hyperref Info: Link nesting OFF on input line 1797. Package hyperref Info: Hyper index ON on input line 1800. Package hyperref Info: Plain pages ON on input line 1805. Package hyperref Info: Backreferencing OFF on input line 1812. Implicit mode ON; LaTeX internals redefined Package hyperref Info: Bookmarks ON on input line 1916. (/usr/share/texmf/tex/latex/misc/url.sty \Urlmuskip=\muskip10 Package: url 1999/03/28 ver 1.5x Verb mode for urls, etc. ) LaTeX Info: Redefining \url on input line 2055. [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Package hyperref Info: Hyper figures OFF on input line 2513. Package hyperref Info: Link nesting OFF on input line 2518. Package hyperref Info: Hyper index ON on input line 2521. Package hyperref Info: backreferencing OFF on input line 2528. Package hyperref Info: Link coloring OFF on input line 2533. [EMAIL PROTECTED] [EMAIL PROTECTED] ) *hyperref using driver hypertex* (/usr/share/texmf/tex/latex/hyperref/hypertex.def File: hypertex.def 2003/01/22 v6.73n Hyperref driver for HyperTeX specials ) No file test.aux. \openout1 = `test.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 3. LaTeX Font Info: ... okay on input line 3. Package hyperref Info: Link coloring OFF on input line 3. (/usr/share/texmf/tex/latex/hyperref/nameref.sty Package: nameref 2001/01/27 v2.19 Cross-referencing by name of section [EMAIL PROTECTED]@level=\count92 ) LaTeX Info: Redefining \ref on input line 3. LaTeX Info: Redefining \pageref on input line 3. [1 ] (./test.aux) ) Here is how much of TeX's memory you used: 1699 strings out of 95732 23234 string characters out of 1194482 63852 words of memory out of 1000001 4759 multiletter control sequences out of 10000+50000 3938 words of font info for 15 fonts, out of 500000 for 1000 14 hyphenation exceptions out of 1000 25i,4n,21p,162b,119s stack positions out of 1500i,500n,5000p,200000b,5000s Output written on test.dvi (1 page, 328 bytes). # -------------------------------------------------- A gdb backtrace on the segmentation fault seemed useless since none of the debugging symbols are available in my build. An ltrace on dvipdfm provides this output in the end: $ ltrace dvipdfm test.dvi [...] strlen("Outlines") = 8 strspn("Outlines", "!"$&'*+,-.0123456789:;[EMAIL PROTECTED]"...) = 8 strlen("Outlines") = 8 malloc(20) = 0x8127e58 malloc(4) = 0x8125cb0 malloc(9) = 0x8127ea0 memcpy(0x8127ea0, "Outlines", 8) = 0x8127ea0 strcmp("Outlines", "Type") = -5 strcmp("Outlines", "Pages") = -1 malloc(12) = 0x8127d50 sprintf("16 0 obj\n", "%lu %d obj\n", 16, 0) = 9 strlen("16 0 obj\n") = 9 fwrite("16 0 obj\n", 1, 9, 0x811ec58) = 9 fwrite("<<\n", 1, 3, 0x811ec58) = 3 fwrite(">>", 1, 2, 0x811ec58) = 2 fwrite("\nendobj\n", 1, 8, 0x811ec58) = 8 free(0x8127ef8) = <void> free(0x8127ee0) = <void> qsort(0x812a400, 2, 12, 0x804d820 <unfinished ...> --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ dvipdfm used to work perfectly under woody. On woody I've generated a 300+ document and converted the DVI full of hyperlinks to PDF using it. However when I run dvipdfm on the same DVI file now using the version of dvipdfm shipped with sarge I get a segmentation fault just like the one reported above. I've also tested this on a machine with a fresh install of sarge and I get the segfault there too. So, this is very unlikely to be a bug in my hardware. Also note that if you replace \usepackage[hypertex]{hyperref} with \usepackage{hyperref} dvipdfm runs fine without a segfault. However, no links are generated in the resulting DVI and PDF files. Thanks! prabhu -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.20 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages tetex-bin depends on: ii debconf 1.4.30.11 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii dpkg 1.10.25 Package maintenance system for Deb ii ed 0.2-20 The classic unix line editor ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libgcc1 1:3.4.3-6 GCC support library ii libice6 4.3.0.dfsg.1-10 Inter-Client Exchange library ii libkpathsea3 2.0.2-25 path search library for teTeX (run ii libpaper1 1.1.14-3 Library for handling paper charact ii libpng12-0 1.2.8rel-1 PNG library - runtime ii libsm6 4.3.0.dfsg.1-10 X Window System Session Management ii libstdc++5 1:3.3.5-5 The GNU Standard C++ Library v3 ii libt1-5 5.0.2-3 Type 1 font rasterizer library - r ii libwww0 5.4.0-9 The W3C WWW library ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li ii libxaw7 4.3.0.dfsg.1-10 X Athena widget set library ii libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte ii libxmu6 4.3.0.dfsg.1-10 X Window System miscellaneous util ii libxt6 4.3.0.dfsg.1-10 X Toolkit Intrinsics ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap ii perl 5.8.4-5 Larry Wall's Practical Extraction ii sed 4.1.2-8 The GNU sed stream editor ii tetex-base 2.0.2c-3 Basic library files of teTeX ii ucf 1.13 Update Configuration File: preserv ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-3 compression library - runtime -- debconf information: tetex-bin/upd_map: true * tetex-bin/cnf_name: tetex-bin/fmtutil: true tetex-bin/fmtutil-failed: tetex-bin/userperm: false tetex-bin/updmap-failed: * tetex-bin/hyphen: german[=austrian-alte_Rechtschreibung], ngerman[=naustrian-neue_Rechtschreibung], french[=patois] tetex-bin/oldcfg: true * tetex-bin/use_debconf: true tetex-bin/groupname: users tetex-bin/groupperm: true tetex-bin/lsr-perms: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]