Latex Formula crashes with Unrecoverable error: stackunderflow in .setdistillerparams
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned | ||
inkscape (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Extensions-
Enter: $z \in \mathbb{R}^m$
Apply
Output:
GPL Ghostscript 9.10: Set UseCIEColor for UseDeviceIndepe
Unrecoverable error: stackunderflow in .setdistillerparams
PostScript/PDF Interpreter finished. Return status 65280 executed command : /usr/bin/gs -I/home/manu/.fonts -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS "/tmp/inkscape-
The interpreter seems to have failed, cannot proceed !
Traceback (most recent call last):
File "eqtexsvg.py", line 156, in <module>
e.affect()
File "/usr/share/
self.effect()
File "eqtexsvg.py", line 150, in effect
svg_open(self, svg_file)
File "eqtexsvg.py", line 81, in svg_open
doc = inkex.etree.
File "lxml.etree.pyx", line 3239, in lxml.etree.parse (src/lxml/
File "parser.pxi", line 1748, in lxml.etree.
File "parser.pxi", line 1774, in lxml.etree.
File "parser.pxi", line 1678, in lxml.etree.
File "parser.pxi", line 1110, in lxml.etree.
File "parser.pxi", line 582, in lxml.etree.
File "parser.pxi", line 683, in lxml.etree.
File "parser.pxi", line 622, in lxml.etree.
lxml.etree.
This is related to bug 1218350, however, adding a wrapper around /usr/bin/gs to add -dUseCIEColor still generates the error.
Following http://
(CHAR1: )
(z)
0
0
0
32
0
-mark-
0
0
32
0
0
134
(CHAR1: )
(2)
0
0
0
32
0
-mark-
0
0
32
0
0
115
(CHAR1: )
(R)
0
0
0
32
0
-mark-
0
0
32
0
0
2465
4215
(CHAR1: )
(m)
0
0
0
32
0
-mark-
0
0
32
0
0
Nonetheless, the rendered formula seems correct.
This could be a bug in gs, in how pstoedit calls gs, or in how inkscape calls pstoedit.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: inkscape 0.48.4-3ubuntu2
ProcVersionSign
Uname: Linux 3.13.0-43-generic i686
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: i386
CurrentDesktop: KDE
Date: Wed Dec 17 11:21:51 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-10-19 (58 days ago)
InstallationMedia: Kubuntu 14.04.1 LTS "Trusty Tahr" - Release i386 (20140722.2)
SourcePackage: inkscape
UpgradeStatus: No upgrade log present (probably fresh install)
Work-around in case it were useful to someone else:
$ sudo mv /usr/bin/gs /usr/bin/ gs.original /bugs.launchpad .net/ubuntu/ +source/ inkscape/ +bug/1403454 gs.original -dColorConversi onStrategy= /LeaveColorUnch anged "$@"
$ sudo cat > /usr/bin/gs <<EOF
#!/bin/sh
##
# Wrapper to work-around bug https:/
exec /usr/bin/
EOF
$ sudo chmod a+x /usr/bin/gs