[metapost] mpost 1.9991: segmentation fault

luigi scarso luigi.scarso at gmail.com
Mon Oct 31 12:25:31 CET 2016


On Mon, Oct 31, 2016 at 10:48 AM, Toby Thurston <thurston at eml.cc> wrote:
>
>> Message: 1
>> Date: Fri, 30 Sep 2016 16:01:20 +0200
>> From: luigi scarso <luigi.scarso at gmail.com>
>> To: Nicola <nvitacolonna at gmail.com>
>> Cc: MetaPost List <metapost at tug.org>
>> Subject: Re: [metapost] mpost 1.9991: segmentation fault
>> Message-ID:
>>       <CAG5iGsAdkeFfh8DZA8juznYfE+8CWLw9+PC91__b5iiJcfVccg at mail.gmail.com>
>> Content-Type: text/plain; charset="UTF-8"
>>
>> On Mon, Sep 26, 2016 at 8:22 PM, Nicola <nvitacolonna at gmail.com> wrote:
>>> Not sure if this is the right place to report bugs, but anyway:
>>>
>>> ]mpost
>>> This is MetaPost, version 1.9991 (TeX Live 2016) (kpathsea version 6.2.2)
>>> **\
>>> (/usr/local/texlive/2016/texmf-dist/metapost/base/mpost.mp
>>> (/usr/local/texlive/2016/texmf-dist/metapost/base/plain.mp
>>> Preloading the plain mem file, version 1.005) )
>>> *(t1,t2,t3,t4,t5) = (1,2,3,4,5);
>>> ! Missing `)' has been inserted.
>>> <to be read again>
>>>                 ,
>>> <*> (t1,t2,t3,t4,
>>>               t5) = (1,2,3,4,5);
>>> ?
>>> Segmentation fault: 11
>>
>> The problem seems to be a wrong (i.e partial) initialization of a cmyk node .
>> I have a patch on my local box, I need to test it a bit.
>>
>> --
>> luigi
>
> I see a very similar bug when trying to assign to a “transform” variable.
>
> eg
>
> show mpversion;
> transform T;  T = (1,2,3,4,5,6);
> end
>
>
> produces:
> This is MetaPost, version 1.9991 (TeX Live 2016) (kpathsea version 6.2.2)  31 OCT 2016 09:41
> **t.mp
> (/usr/local/texlive/2016/texmf-dist/metapost/base/mpost.mp
> (/usr/local/texlive/2016/texmf-dist/metapost/base/plain.mp
> Preloading the plain mem file, version 1.005) ) (./t.mp
>>> "1.9991"
> ! Missing `)' has been inserted.
> <to be read again>
>                   ,
> l.2 transform T;  T = (1,2,3,4,
>                               5,6);
> ?
>>> (xpart T,ypart T,xxpart T,xypart T,yxpart T,yypart T)
>>> (1,2,3,4)
> ! Equation cannot be performed (transform=cmykcolor).
> <to be read again>
>                   ,
> l.2 transform T;  T = (1,2,3,4,
>                               5,6);
> ?
> ! Extra tokens will be flushed.
> <to be read again>
>                   ,
> l.2 transform T;  T = (1,2,3,4,
>                               5,6);
> ?
> )
>
> This is using a version of mpost that I compiled this morning using the latest source from your svn.
>
> I’ve opened an issue report on the bug tracker.
>
> Toby
>
>
>
> --
> http://tug.org/metapost/

ok, thank you for the report.

-- 
luigi



More information about the metapost mailing list