View Issue Details

IDProjectCategoryView StatusLast Update
0001000MetaPostbugpublic2017-09-19 21:12
Reporterluigi scarso Assigned Toluigi scarso  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.00 
Target Version2.00 
Summary0001000: Crash with mplib & decimal mode
DescriptionThe example below crashes in
TeX Live 2017, LuaTeX version 1.0.4 and MetaPost 2.00.
Steps To Reproduce%%%%%%%%%%
\documentclass{article}
\usepackage{luamplib}
        \mplibnumbersystem{decimal}
\begin{document}
        \begin{mplibcode}
                beginfig(1);
                        label(decimal 1/3, origin);
                endfig;
        \end{mplibcode}
\end{document}
%%%%%%%%%%%%%%

$> lualatex test.tex
Additional InformationReported by Frank Pastor, see
"Problem with decimal numbersystem"
at
http://tug.org/pipermail/metapost/2017-September/003242.html
TagsNo tags attached.

Activities

luigi scarso

2017-09-19 21:11

manager   ~0001675

Patched in rev. 6397, at the price of a possible memory leak for the library.
Perhaps a new mp_finalizer is needed to clear the residual constant in decimal and binary modes.

Issue History

Date Modified Username Field Change
2017-09-19 08:28 luigi scarso New Issue
2017-09-19 08:28 luigi scarso Status new => assigned
2017-09-19 08:28 luigi scarso Assigned To => luigi scarso
2017-09-19 08:32 luigi scarso Product Version 1.999 => 2.00
2017-09-19 08:32 luigi scarso Target Version 1.999 => 2.00
2017-09-19 21:11 luigi scarso Note Added: 0001675
2017-09-19 21:12 luigi scarso Status assigned => closed
2017-09-19 21:12 luigi scarso Resolution open => fixed