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

Re: mpost segmentation fault



Jean-Paul Vincent <jpvincent1@orange.fr> wrote:

> Hi,
>
> I am not sure this is a libc bugs or a metapost one. 
> A file with: *btex etex*, inside do not compile. No problem without 
> btex-etex.

Have you already reported this via the BTS?  If not, please do.

Regards, Frank

(fullquote follows in case you don't have your mail present any more)

>
> I copied a file logistic from the Metapost manual (same outputs 
> with 
> my 
> files) and then:
>
> -----------------
> ~% 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
> ----------------
>
> from  kern.log :
>
> ----------------
> mpost[4767]: segfault at 20750 ip 00007f818d5a4451 sp 00007fff5c0daff0 
> error 4 in libc-2.10.2.so[7f818d55f000+14a000]
>
> mpost[5076]: segfault at ffffffffffffffa8 ip 00007f09e7c24451 sp 
> 00007fffe5216300 error 4 in libc-2.10.2.so[7f09e7bdf000+14a000]
>
> mpost[5075]: segfault at 20b40 ip 00007f09e7c24451 sp 00007fffe5216360 
> error 4 in libc-2.10.2.so[7f09e7bdf000+14a000]
> ---------------
>
> 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
> --------------
>
> The end of the output of strace:
>
> -------------
> clone(child_stack=0, 
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
> child_tidptr=0x7fbb53f7b7c0) = 3959
> wait4(-1, fatal: exec failed: No such file or directory[{WIFSIGNALED(s) 
> && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 3959
> --- SIGCHLD (Child exited) @ 0 (0) ---
> dup2(8, 0)                              = 0
> close(8)                                = 0
> dup2(9, 1)                              = 1
> close(9)                                = 0
> close(6)                                = 0
> close(7)                                = 0
> rename("mp771510.tex", "mpxerr.tex")    = 0
> rename("mp771510.log", "mpxerr.log")    = -1 ENOENT (No such file or 
> directory)
> write(2, "fatal: ", 7fatal: )                  = 7
> write(2, "Command failed: etex --parse-fir"..., 94Command failed: etex 
> --parse-first-line --interaction=nonstopmode mp771510.tex; see 
> mpxerr.log) = 94
> fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
> = 0x7fbb515a2000
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> zsh: segmentation fault  strace mpost travail/mpsi/informatique/td/logistic.mp
> -----------------------------
>
> Same output from my two machines.
>
> TexLive 2009; arch: amd64; squeeze/sid.
>
> Do you have any clue?
>
> Best Regards.
>
> Jean-Paul Vincent.

-- 
Dr. Frank Küster
Debian Developer (TeXLive)
VCD Aschaffenburg-Miltenberg, ADFC Miltenberg
B90/Grüne KV Miltenberg


Reply to: