Problem with Metapost picture with label

Bug #925189 reported by petiard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dvisvgm
Fix Released
Medium
Martin Gieseking

Bug Description

Hello!

I have MiKTeX2.7 (updated) on Vista Ultimate.

If I compile (in DVI) that file (essai.tex):

\documentclass[a4paper,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{graphicx}
\pagestyle{empty}
\makeatletter
\edef\Gin@extensions{\Gin@extensions,.mps}
\DeclareGraphicsRule{.mps}{eps}{*}{}
\makeatother
\begin{document}
\includegraphics{testa}
\end{document}

(testa.mps is a MetaPost output, see the attachment)

and run dvisvgm (version 1.0) on essai.dvi:

dvisvgm.exe --bbox=A4 -n --no-styles -e essai

then dvisvgm crashes with that Windows error message:

Signature du problème :
  Nom d’événement de problème:BEX
  Nom de l’application:dvisvgm.exe
  Version de l’application:0.0.0.0
  Horodatage de l'application:4c0e0698
  Nom du module par défaut:StackHash_0c15
  Version du module par défaut:0.0.0.0
  Horodateur du module par défaut:00000000
  Décalage de l’exception:02010003
  Code de l’exception:c0000005
  Données d’exception:00000008
  Version du système:6.0.6002.2.2.0.256.1
  Identificateur de paramètres régionaux:1036
  Information supplémentaire n° 1:0c15
  Information supplémentaire n° 2:ebc6a8a0971cacb1df1eeafe42a0039e
  Information supplémentaire n° 3:e795
  Information supplémentaire n° 4:c348c54b7f39e1c374ca29605e8c7c4a

and the file essai.svg is empty.

If I suppress the label in the metapost file, no problem.

I attach a zip which contains:

testa.mp
testa.mps
testa.log
essai.tex
essai.log

Thank you.

François

Revision history for this message
petiard (petiard) wrote :

The file essai.zip was added: None

Revision history for this message
Martin Gieseking (martin-gieseking) wrote :

François, thanks for reporting this issue. I found the bug and fixed it in the hg repository. The patch will be incorporated in the next release.

Changed in dvisvgm:
importance: Undecided → Medium
assignee: nobody → Martin Gieseking (martin-gieseking)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.