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

Bug#398513: marked as done (Should not use xpdf configuration files)



Your message dated Sat, 4 Dec 2010 16:58:57 +0100
with message-id <20101204155857.GA16207@preusse-16223.user.cis.dfn.de>
and subject line Re: tetex-bin: pdflatex segfaults
has caused the Debian Bug report #398513,
regarding Should not use xpdf configuration files
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
398513: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398513
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tetex-bin
Version: 3.0-23
Severity: normal


Hi,

pdflatex dies with "Segmentation fault" when called by the pdfnup
utility; the last part of the strace output looks like:

open("/etc/xpdf/xpdfrc-latin2", O_RDONLY|O_LARGEFILE) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=143, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6b50000
read(8, "#----- begin Latin2 support pack"..., 4096) = 143
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0xb6b50000, 4096)                = 0
open("/etc/xpdf/xpdfrc-thai", O_RDONLY|O_LARGEFILE) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=196, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6b50000
read(8, "#----- begin Thai support packag"..., 4096) = 196
open("/usr/share/xpdf/thai/Thai.nameToUnicode", O_RDONLY|O_LARGEFILE) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=3074, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6b4f000
read(9, "0e01 ThaiCharacterKoKai\n0e02 Tha"..., 4096) = 3074
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0xb6b4f000, 4096)                = 0
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0xb6b50000, 4096)                = 0
open("/etc/xpdf/xpdfrc-turkish", O_RDONLY|O_LARGEFILE) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=154, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6b50000
read(8, "#----- begin Turkish support pac"..., 4096) = 154
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0xb6b50000, 4096)                = 0
read(7, "", 4096)                       = 0
close(7)                                = 0
munmap(0xb6b51000, 4096)                = 0
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0xb6b52000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

(the mmap of 0xb6b51000 is /etc/xpdf/includes, 0xb6b52000 is /etc/xpdf/xpdfrc).

If I modify the pdfnup script to call pdflatex through valgrind, then there is
no segfault and the valgrind log shows no errors, but pdflatex now dies with

/usr/bin/pdflatex: symbol lookup error: /usr/bin/pdflatex: undefined symbol: _ZN6PDFDocC1EP9GooStringS1_S1_

Gabor

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2.0]   1.5.8            Debian configuration management sy
ii  debianutils             2.17.3           Miscellaneous utilities specific t
ii  dialog                  1.0-20060221-1   Displays user-friendly dialog boxe
ii  dpkg                    1.13.24          package maintenance system for Deb
ii  ed                      0.2-20           The classic unix line editor
ii  libc6                   2.5-0exp3        GNU C Library: Shared libraries
ii  libfontconfig1          2.4.1-2          generic font configuration library
ii  libfreetype6            2.2.1-5          FreeType 2 font engine, shared lib
ii  libgcc1                 1:4.2-20061003-1 GCC support library
ii  libice6                 1:1.0.1-2        X11 Inter-Client Exchange library
ii  libjpeg62               6b-13            The Independent JPEG Group's JPEG 
ii  libkpathsea4            3.0-23           path search library for teTeX (run
ii  libpaper1               1.1.20           Library for handling paper charact
ii  libpng12-0              1.2.8rel-7       PNG library - runtime
ii  libpoppler0c2           0.5.0-1          PDF rendering library
ii  libsm6                  1:1.0.1-3        X11 Session Management library
ii  libstdc++6              4.2-20061003-1   The GNU Standard C++ Library v3
ii  libt1-5                 5.1.0-2          Type 1 font rasterizer library - r
ii  libx11-6                2:1.0.3-2        X11 client-side library
ii  libxaw7                 1:1.0.2-4        X11 Athena Widget library
ii  libxext6                1:1.0.1-2        X11 miscellaneous extension librar
ii  libxmu6                 1:1.0.2-2        X11 miscellaneous utility library
ii  libxpm4                 1:3.5.5-2        X11 pixmap library
ii  libxt6                  1:1.0.2-2        X11 toolkit intrinsics library
ii  mime-support            3.37-1           MIME files 'mime.types' & 'mailcap
ii  perl                    5.8.8-6.1        Larry Wall's Practical Extraction 
ii  sed                     4.1.5-1          The GNU sed stream editor
ii  tetex-base              3.0.dfsg.3-1     Basic TeX input files of teTeX
ii  tex-common              0.38             Common infrastructure for using an
ii  ucf                     2.0016           Update Configuration File: preserv
ii  whiptail                0.52.2-8         Displays user-friendly dialog boxe
ii  zlib1g                  1:1.2.3-13       compression library - runtime

Versions of packages tetex-bin recommends:
ii  libxml-parser-perl           2.34-4.2    Perl module for parsing XML files
ii  perl-tk                      1:804.027-7 Perl module providing the Tk graph
ii  psutils                      1.17-23     A collection of PostScript documen

Versions of packages tetex-base depends on:
ii  tex-common                    0.38       Common infrastructure for using an
ii  ucf                           2.0016     Update Configuration File: preserv

Versions of packages tetex-extra depends on:
ii  tetex-base                  3.0.dfsg.3-1 Basic TeX input files of teTeX
ii  ucf                         2.0016       Update Configuration File: preserv

-- debconf information:
* tetex-base/olddat: true
  tetex-base/fmtutil-failed:
* tetex-bin/userperm: false
* tetex-bin/texmf: true
* tetex-base/oldcfg: true
  tetex-base/oldupdm:
  tetex-base/updmap-failed:
* tetex-bin/groupname: staff
* tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true


--- End Message ---
--- Begin Message ---
Version: 2007-1

On 13.11.06 Gabor Gombas (gombasg@sztaki.hu) wrote:

> Package: tetex-bin
> Version: 3.0-23
> Severity: normal
> 
> 
> Hi,
> 
> pdflatex dies with "Segmentation fault" when called by the pdfnup
> utility; the last part of the strace output looks like:
> 
> open("/etc/xpdf/xpdfrc-latin2", O_RDONLY|O_LARGEFILE) = 8
> fstat64(8, {st_mode=S_IFREG|0644, st_size=143, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6b50000
> read(8, "#----- begin Latin2 support pack"..., 4096) = 143
> read(8, "", 4096)                       = 0
> close(8)                                = 0
> 
This bug is about that fact that pdfnup reads config files of xpdf.
I run pdfnup on a pdf file and found no trace that this is still the
case.

-> Closing.

H.
-- 
http://www.hilmar-preusse.de.vu/


--- End Message ---

Reply to: