[metapost] Bug in 1.502 with graph.mp

Nicola nvitacolonna at gmail.com
Tue Aug 24 20:15:32 CEST 2010


In article <4C73F36F.6010103 at elvenkind.com>,
 Taco Hoekwater <taco at elvenkind.com> wrote:

> Nicola wrote:
> > I apologize if this has been reported already, but
> > 
> > input graph;
> > end.
> > 
> > causes a segfault in mpost 1.502, which seems to happen on loading 
> > texnum.mp.
> 
> What are your MPXCOMMAND and TEX settings and the exact terminal
> output? (it does not crash here).

Yeah, the version from my ConTeXt Minimals does not crash either.

To reproduce the crash: download the source tarball from superlec.fr, 
build it and replace the mpost executable in the TeX Live 2009 
distribution. This is what I have done. Of course, I am missing 
something here.

TEX is set to etex in texmf.cnf, but MPXCOMMAND does not occur anywhere. 
This is the output:

mpost bug.mp
This is MetaPost, version 1.502 (kpathsea version 6.0.0)
(mpost.mp (/usr/local/texlive/2009/texmf-dist/metapost/base/plain.mp
Preloading the plain mem file, version 1.004)) (./bug.mp
(/usr/local/texlive/2009/texmf-dist/metapost/base/graph.mp
(/usr/local/texlive/2009/texmf-dist/metapost/base/marith.mp
(/usr/local/texlive/2009/texmf-dist/metapost/base/string.mp))
(/usr/local/texlive/2009/texmf-dist/metapost/base/format.mp
(/usr/local/texlive/2009/texmf-dist/metapost/base/string.mp)
(/usr/local/texlive/2009/texmf-dist/metapost/base/texnum.mpSegmentation 
fault

Anyway, I can revert to mpost 1.211 in TeX Live and use 1.502 from 
ConTeXt Minimals, so this problem is not so serious for me.

Nicola



More information about the metapost mailing list