dvipng should depend on latex-xcolor

Bug #1191673 reported by Shriramana Sharma
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dvipng (Debian)
Fix Released
Unknown
dvipng (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm running Kubuntu Raring, with versions as below:
texlive-base: 2012.20120611-5
dvipng: 1.14-1build1

I have this simple document foo.tex:

\documentclass[16pt]{article}
\usepackage{amsmath,amssymb}
\usepackage{breqn}
\pagestyle{empty}
\begin{document}
$ \infty $
\end{document}

I do latex foo.tex and I get the .dvi files with no problems. Then I do:

dvipng -T tight -D 150 -bg Transparent -fg Blue -O 0cm,0cm foo.png foo.dvi

I get this:

This is dvipng 1.14 Copyright 2002-2010 Jan-Ake Larsson
Segmentation fault (core dumped)

gdb says there are no debugging symbols so I couldn't try that.

Due to this dvipng problem I am not able to use SymPyPrt (https://github.com/scios/IPyXt) on IPython2/3: https://groups.google.com/d/msg/sympy/WzwS3578TuU/sZAYDcFQ8cIJ

I did not have a problem with using SymPyPrt on Kubuntu Precise of last year, and I thought dvipng has practically not changed in Raring since Precise: http://packages.ubuntu.com/search?keywords=dvipng&searchon=names&suite=all&section=all except for a new build. The changelog http://changelogs.ubuntu.com/changelogs/pool/main/d/dvipng/dvipng_1.14-1build1/changelog says the new build is for some kpathsea transition.

The upstream author reports that this works in Linux Mint and thinks it could be some kpathsea problem: http://lists.nongnu.org/archive/html/dvipng/2013-06/msg00001.html. Surely in Kubuntu Precise there was no problem.

I'm not sure about Quantal since I never used it (directly came Precise->Raring). However I would imagine the same problem exists there because the dvipng version is the same.

Please fix this, thank you!

description: updated
Revision history for this message
Shriramana Sharma (jamadagni) wrote :

Turns out that the bug is partially topstream and partially in the Debian packaging. See http://lists.nongnu.org/archive/html/dvipng/2013-06/threads.html especially http://lists.nongnu.org/archive/html/dvipng/2013-06/msg00004.html.

The program as it stands depends on latex-xcolor, however the author intends to later on make it only a recommends and not a dependency. Until such time, it should be added as depends.

I have hence changed the bug title and linked to the upstream Debian bug I reported.

Thanks.

summary: - dvipng crashes even for simple input
+ dvipng should depend on latex-xcolor
Changed in dvipng (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dvipng - 1.15-0ubuntu1

---------------
dvipng (1.15-0ubuntu1) xenial; urgency=medium

  * New upstream version.
    - Fix segfault with missing xcolor.sty. Closes: #712570.
    - Fix segfault with OOM conditions. Closes: #778524.
  * dvipng: Recommend latex-xcolor. LP: #1191673.
  * Bump standards version, debian compat level.

 -- Matthias Klose <email address hidden> Fri, 08 Jan 2016 15:16:19 +0100

Changed in dvipng (Ubuntu):
status: New → Fix Released
Changed in dvipng (Debian):
status: New → Fix Released
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.