[tex-live] mpost segfault
Thomas Esser
te at dbs.uni-hannover.de
Wed Oct 26 18:35:11 CEST 2005
Dear Hans,
> $mpbin = 'mpost --mem=metafun' ;
Sorry, that can't work.
metafun.mem is created with -progname=mpost, so it will use the array
sizes of mpost. "mpost --mem=metafun" (which reads metafun.mem) uses
the array sizes of metafun. You have to use
mpost --mem=metafun --progname=mpost
Demo:
$ mpost --mem=metafun -progname=mpost mandala.mp
This is MetaPost, Version 0.901 (Web2C 7.5.5)
(mandala.mp [1]
metafun 2005-10-26 18:24
)
1 output file written: mandala.1
Transcript written on mandala.log.
$ mpost --mem=metafun mandala.mp
This is MetaPost, Version 0.901 (Web2C 7.5.5)
(mandala.mpSegmentation fault
While we are at this: the lines
main_memory.metafun = 2500000
pool_size.metafun = 1000000
in texmf.cnf contradict the implementation of fmtutil (which makes sure,
that the array sizes of mpost are used for metafun.mem creation and not
the ones of metafun).
It would be a similar nonsense to have a
main_memory.cont-en
setting which makes no sense (texexec and fmtutil both pass
-progname=context when using cont-en).
> $mpbin = 'mpost --mem=mpost' ;
That, you can change into
$mpbin = 'mpost' ;
Thomas
More information about the tex-live
mailing list