[tex-live] Bug#561500: Metapost: segmentation fault while text is included with btex etex

Taco Hoekwater taco at elvenkind.com
Sun Dec 20 15:47:03 CET 2009


Jean-Paul Vincent wrote:
> ==19611==  Address 0xffffffffffffffa8 is not stack'd, malloc'd or (recently) free'd
> ==19611== 
> 
....
> Hardware or kernel  bug? I will try 2.6.30 kernel (I am working with 2.6.31
> kernel).

With an address like that, a segfault does not surprise me in the
least ;) In case it helps any: the error almost certainly happens
in the vfprintf that is called by mpx_abort that is called from
do_spawn from line 3956 in mpxout.w:

3954:  if (child == 0) {
3955:    if(execvp(cmd, options))
3956:      mpx_abort(mpx, "exec failed: %s", strerror(errno));
3957:  } else {

It looks to me like your strerror() may return gibberish, which hints
at locale problems. Can you see what happens if set LC_MESSAGES in the
environment to something like  'C'?

Best wishes,
Taco


More information about the tex-live mailing list