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

Bug#561500: Metapost: segmentation fault while text is included with btex etex



Package: tex-common
Version: 2.03
Severity: normal


A metapost file with: *btex etex*, inside do not compile. No problem 
without btex-etex.

I found that the error is coming from the following line of texmf.cnf:

----------------------------
% Used by makempx to run TeX.  We use "etex" because MetaPost is
% expecting DVI, and not "tex" because we want first line parsing.
TEX = etex
----------------------------

because etex is gone. The command:
export TEX=latex && mpost logistic.mp
compile the file logistic.mp 
(I got a font error from gv: undefined in /cmr10).


Description of the problem:
(I copied a file logistic from the Metapost manual)

----------------------------
~% mpost logistic.mp
This is MetaPost, version 1.208 (kpathsea version 5.0.0)
(./logistic.mp
fatal: exec failed: No such file or directory
fatal: Command failed: etex --parse-first-line
--interaction=nonstopmode mp691666.tex; see mpxerr.log
zsh: segmentation fault  mpost logistic.mp
---------------------------

And gdb said:

--------------
~% gdb mpost
(gdb) run td/logistic.mp mpost
Starting program: /usr/bin/mpost logistic.mp mpost
This is MetaPost, version 1.208 (kpathsea version 5.0.0)
(logistic.mpfatal: exec failed: No such file or directoryfatal: Command
failed: etex --parse-first-line --interaction=nonstopmode mp692886.tex;
see mpxerr.log
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7637451 in vfprintf () from /lib/libc.so.6
--------------



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  dpkg                          1.15.5.3   Debian package management system
ii  ucf                           3.0025     Update Configuration File: preserv

tex-common recommends no packages.

Versions of packages tex-common suggests:
ii  debhelper                     7.4.3      helper programs for debian/rules

Versions of packages texlive-base depends on:
ii  dpkg                      1.15.5.3       Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  luatex                    0.46.0-7       next generation TeX engine
ii  mime-support              3.48-1         MIME files 'mime.types' & 'mailcap
ii  texlive-binaries          2009-3         Binaries for TeX Live
ii  texlive-common            2009-4         TeX Live: Base component
ii  texlive-doc-base          2009-2         TeX Live: TeX Live documentation

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:





Reply to: