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

Taco Hoekwater taco at elvenkind.com
Mon Dec 21 00:39:25 CET 2009


Hi,
Jean-Paul Vincent wrote:
> < Le dimanche 20 décembre 2009 à 11:04:33 +0100 (CET), Taco Hoekwater écrivit :>
> 
>> I cannot reproduce the segfault. 
> 
> ---------------------------------------------------------
> 
> Hardware or kernel  bug? I will try 2.6.30 kernel (I am working with 2.6.31
> kernel).

That second patch I sent you privately works (tested by Norbert),
and that will be included in metapost 1.209.

For bugs.debian, here it is again:

Index: source/texk/web2c/mplibdir/mpxout.w
===================================================================
--- source/texk/web2c/mplibdir/mpxout.w (revision 1123)
+++ source/texk/web2c/mplibdir/mpxout.w (working copy)
@@ -260,6 +260,8 @@
    va_start(ap, msg);
    fprintf(stderr, "fatal: ");
    (void)vfprintf(stderr, msg, ap);
+  va_end(ap);
+  va_start(ap, msg);
    mpx_printf(mpx, "fatal", msg, ap);
    va_end(ap);
    mpx->history=mpx_fatal_error;


More information about the tex-live mailing list