[tex-live] Bug#561500: Metapost: segmentation fault while text is included with btex etex
Taco Hoekwater
taco at elvenkind.com
Sun Dec 20 11:04:33 CET 2009
Hi,
Norbert Preining wrote:
> - mpost should not segfault on a missing etex
I cannot reproduce the segfault. The output below is from /bin/bash,
but I also tried with zsh, same results. Does debian have a private
executable, or is it reusing the texlive one?
logistic.mp is attached.
Best wishes,
Taco
My machine is:
[taco at ntg tmp]$ cat /etc/issue
Mandriva Linux release 2009.0 (Official) for x86_64
Kernel 2.6.27.21-desktop-1mnb on a Dual-processor x86_64 / \l
[taco at ntg tmp]$ grep ^TEX\\b `kpsewhich texmf.cnf`
TEX = etex
[taco at ntg tmp]$ export LANG=fr_FR.UTF-8
[taco at ntg tmp]$ export LC_CTYPE=fr_FR.UTF-8
[taco at ntg tmp]$ /opt/tex/texlive/Master/bin/x86_64-linux/mpost logistic.mp
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
mp303041.tex; see mpxerr.log
>> logistic.mp
>> logistic.mpx
! Unable to make mpx file.
l.33 label.bot(btex
$r$ etex, ((rmax-0.2)*ux,0));
Transcript written on logistic.log.
[taco at ntg tmp]$ valgrind /opt/tex/texlive/Master/bin/x86_64-linux/mpost
logistic.mp
==31629== Memcheck, a memory error detector.
==31629== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et
al.
==31629== Using LibVEX rev 1854, a library for dynamic binary
translation.
==31629== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==31629== Using valgrind-3.3.1, a dynamic binary instrumentation
framework.
==31629== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et
al.
==31629== For more details, rerun with: -v
==31629==
This is MetaPost, version 1.208 (kpathsea version 5.0.0)
(./logistic.mpfatal: exec failed: No such file or directory==31630==
==31630== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1)
==31630== malloc/free: in use at exit: 3,603,612 bytes in 166,876
blocks.
==31630== malloc/free: 262,049 allocs, 95,173 frees, 74,446,521 bytes
allocated.
==31630== For counts of detected errors, rerun with: -v
==31630== searching for pointers to 166,876 not-freed blocks.
==31630== checked 3,401,368 bytes.
==31630==
==31630== LEAK SUMMARY:
==31630== definitely lost: 6,778 bytes in 283 blocks.
==31630== possibly lost: 0 bytes in 0 blocks.
==31630== still reachable: 3,596,834 bytes in 166,593 blocks.
==31630== suppressed: 0 bytes in 0 blocks.
==31630== Rerun with --leak-check=full to see details of leaked memory.
fatal: Command failed: etex --parse-first-line --interaction=nonstopmode
mp303082.tex; see mpxerr.log
>> logistic.mp
>> logistic.mpx
! Unable to make mpx file.
l.33 label.bot(btex
$r$ etex, ((rmax-0.2)*ux,0));
Transcript written on logistic.log.
==31629==
==31629== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1)
==31629== malloc/free: in use at exit: 3,601,967 bytes in 166,872 blocks.
==31629== malloc/free: 262,050 allocs, 95,178 frees, 74,446,584 bytes
allocated.
==31629== For counts of detected errors, rerun with: -v
==31629== searching for pointers to 166,872 not-freed blocks.
==31629== checked 3,400,824 bytes.
==31629==
==31629== LEAK SUMMARY:
==31629== definitely lost: 6,269 bytes in 281 blocks.
==31629== possibly lost: 0 bytes in 0 blocks.
==31629== still reachable: 3,595,698 bytes in 166,591 blocks.
==31629== suppressed: 0 bytes in 0 blocks.
==31629== Rerun with --leak-check=full to see details of leaked memory.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: logistic.mp
URL: <http://tug.org/pipermail/tex-live/attachments/20091220/ed9d28ed/attachment.pl>
More information about the tex-live
mailing list