dvipng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using bookmark causes floating point exception


From: jfbu
Subject: Re: Using bookmark causes floating point exception
Date: Sat, 13 Mar 2021 20:30:40 +0100

Hi Jan-Åke and Francis

I reproduce the error with current TeX Live which says

bkm-dvips.def    2020-11-06 v1.29 bookmark driver for dvips (HO)

and

$ dvipng temp
This is dvipng 1.17 Copyright 2002-2015, 2019 Jan-Ake Larsson
Floating point exception: 8

Attaching temp.dvi file

Best,
Jean-François

Attachment: temp.dvi
Description: Binary data


Le 13 mars 2021 à 19:58, Jan-Åke Larsson <jan-ake.larsson@liu.se> a écrit :

Dear Francis,
I'm on Ubuntu 20.04, no error here. Could you provide the dvi that generates the error?

Best
Jan-Åke


On lör, 2021-03-13 at 15:37 +0000, Francis Wright wrote:
When I use the latest TeX Live (from ctan.org) and compile the LaTeX file, dvipng-bug.tex, containing the following 5 lines:
 
\documentclass{article}
\usepackage{bookmark}
\begin{document}
Some random content.
\end{document}
 
using “latex dvipng-bug.tex” and then run “dvipng dvipng-bug.dvi”, I get the output:
 
This is dvipng 1.17 Copyright 2002-2015, 2019 Jan-Ake Larsson
Floating point exception (core dumped)
 
and no PNG file. I believe that this is caused by a bad interaction between the latest version of the bookmark driver file bkm-dvips.def, namely version 2020-11-06 v1.29, and dvipng. I have tried using dvipng 1.16 and 1.15, and the result is the same. But if I use the previous version of bkm-dvips.def, namely version 2019/12/03 v1.28, dvipng runs correctly. I find similar behaviour on Cygwin and Ubuntu.
 
I will also report this as a bookmark bug, but even if bookmark is the cause I don’t think dvipng should crash.
 
Best wishes, Francis


reply via email to

[Prev in Thread] Current Thread [Next in Thread]