[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#291438: marked as done (dvipdfm crashes in timezones having an offset of 0.5 hours)

Your message dated Wed, 10 Jan 2007 11:47:10 +0000
with message-id <E1H4bvC-0006U8-5M@ries.debian.org>
and subject line Bug#291438: fixed in tetex-bin 3.0-29
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)

--- Begin Message ---
Package: tetex-bin
Version: 2.0.2-25
Severity: important

dvipdfm segfaults on the following trivial LaTeX file.

% test.tex
This is a simple test.

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

# --------------------------------------------------
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
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
File: size12.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
Package: hyperref 2003/01/22 v6.73n Hypertext links for LaTeX

Package: keyval 1999/03/16 v1.13 key=value parser (DPC)

File: pd1enc.def 2003/01/22 v6.73n Hyperref: PDFDocEncoding definition (HO)
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.
Package: url 1999/03/28  ver 1.5x  Verb mode for urls, etc.
LaTeX Info: Redefining \url on input line 2055.
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.
*hyperref using driver hypertex*
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.
Package: nameref 2001/01/27 v2.19 Cross-referencing by name of section
LaTeX Info: Redefining \ref on input line 3.
LaTeX Info: Redefining \pageref on input line 3.

] (./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:;=?@ABCDEFG"...)          = 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




dvipdfm runs fine without a segfault.  However, no links are generated
in the resulting DVI and PDF files.



-- 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               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/userperm: false
* 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

--- End Message ---
--- Begin Message ---
Source: tetex-bin
Source-Version: 3.0-29

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

  to pool/main/t/tetex-bin/libkpathsea-dev_3.0-29_i386.deb
  to pool/main/t/tetex-bin/libkpathsea4_3.0-29_i386.deb
  to pool/main/t/tetex-bin/tetex-bin_3.0-29.diff.gz
  to pool/main/t/tetex-bin/tetex-bin_3.0-29.dsc
  to pool/main/t/tetex-bin/tetex-bin_3.0-29_i386.deb

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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 291438@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Frank Küster <frank@debian.org> (supplier of updated tetex-bin 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Wed, 10 Jan 2007 01:49:56 +0530
Source: tetex-bin
Binary: tetex-bin libkpathsea-dev libkpathsea4
Architecture: source i386
Version: 3.0-29
Distribution: unstable
Urgency: low
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Frank Küster <frank@debian.org>
 libkpathsea-dev - path search library for teTeX (devel part)
 libkpathsea4 - path search library for teTeX (runtime part)
 tetex-bin  - The teTeX programs
Closes: 291438
 tetex-bin (3.0-29) unstable; urgency=low
   * Apply a patch from upstream (Mark A. Wicks) to prevent dvipdfm from
     crashing when called in a time zone having an offset from GMT, which is
     not an integer number. (Closes: #291438) [hilmar]
 5a8be11f076a924a50ea53aa7e7a173f 1011 tex optional tetex-bin_3.0-29.dsc
 95492cd414f978dc6e0eb49fa9c0004b 122018 tex optional tetex-bin_3.0-29.diff.gz
 3bfd081323e5c594e931bcb56269fc63 3541178 tex optional tetex-bin_3.0-29_i386.deb
 9be138588d983cf775daf25679dfe5dc 81212 libs optional libkpathsea4_3.0-29_i386.deb
 2faa2f60246ab92da4e7810f1d2b2bee 70610 libdevel optional libkpathsea-dev_3.0-29_i386.deb

Version: GnuPG v1.4.6 (GNU/Linux)


--- End Message ---

Reply to: