mpost command line arg length limit?

Karl Berry karl at freefriends.org
Fri Nov 8 23:29:26 CET 2019


    aborts with a segmentation fault.  

Run it under a debugger and see where it's crashing?

    Is there a line length limit for command line arguments?

I am not aware of any such limit, especially one that is a mere ~240
characters.

    mpost -progname=mpost -ini /opt/lilypond/2.19.83/var/macports/build/_opt_lilypond_2.19.83_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_lilypond-devel/lilypond-devel/work/lilypond-2.19.83/mf/mf2pt1.mp \\dump

FWIW, if I create that path on my (GNU/Linux) system and run that
command, it works. So I guess the failure is not system-independent.

Also, by the way, MetaPost has not used dump (.mem) for years -- 2010 or so.
The "dump" primitive is the same as "end". So this crashing command is a
no-op. --best, karl.


More information about the tex-live mailing list