Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#18145 - [evince] does not display images in .dvi file

Attached to Project: Arch Linux
Opened by Jose Marino (oniram) - Wednesday, 03 February 2010, 16:11 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 13 February 2011, 12:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I have a .dvi file built with latex that contains some .eps figures. Evince won't display the figures in the .dvi. I set up a test document with a figure that shows this problem (find attached).
I run 'latex test.tex' and then 'evince test.dvi', evince doesn't display the document and prints on the terminal:
fatal internal error -100
** (evince:14788): WARNING **: Error rendering PS document /home/jos/evince-test/figure.eps: render error

GPL Ghostscript 8.70: Initialization file gs_init.ps does not begin with an integer.
fatal internal error -100


I checked my gs_init.ps in /usr/share/ghostscript/8.70/Resource/Init/gs_init.ps and it looks fine. The first non-comment/non-empty line is 870.
I also tried setting the GS_LIB environment variable with no success:
$ export GS_LIB=/usr/share/ghostscript/8.70/Resource/Init/

The versions I'm using are:
evince 2.28.2-1
ghostscript 8.70-3

xdvi has no trouble displaying the .dvi file.

Steps to reproduce:
- Run latex on file with .eps figures.
- Try to view it with evince.
- Evince won't display the figures.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 13 February 2011, 12:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  seems solved with latest ghostscript update
Comment by Thomas Dziedzic (tomd123) - Thursday, 04 February 2010, 06:50 GMT
Confirmed. Also attached the dvi file I built, since not everyone has a readily available latex install :)

Output:
** (evince:13502): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name
fatal internal error -100
** (evince:13502): WARNING **: Error rendering PS document /home/tom/evince-test/figure.eps: render error
   test.dvi (0.4 KiB)
Comment by mattia (nTia89) - Saturday, 06 March 2010, 14:06 GMT
Have you installed texlive-bin ????
because when you install evince pacman says:
"Optional dependency of evince:
texlive-bin: DVI support"

OK, i've tryied to open your test.dvi file and all goes fine ...

i've testes it with:

- evince-2.28.2-1
- ghostscript-8.70-4
- texlive-bin-2009.5-2

and with

- evince-2.29.91-1
- ghostscript-8.70-4
- texlive-bin-2009.5-2

BUT on an x86_64
Comment by Jose Marino (oniram) - Monday, 08 March 2010, 18:40 GMT
I do have texlive-bin installed. I still see this bug with these packages:
evince 2.28.2-1
ghostscript 8.71-1
texlive-bin 2009.5-2
Comment by Thomas Dziedzic (tomd123) - Tuesday, 09 March 2010, 07:49 GMT
This bug is fixed for me.
Comment by Jose Marino (oniram) - Tuesday, 09 March 2010, 16:44 GMT
tom: any ideas how it got fixed?
Comment by mattia (nTia89) - Tuesday, 09 March 2010, 17:38 GMT
i know that ghostscript package give many problems on printing.... maybe it can be broken ???
Comment by Ionut Biru (wonder) - Friday, 12 March 2010, 12:43 GMT
you could try enabling gnome-unstable repo and see if if fixed there.
Comment by Thomas Dziedzic (tomd123) - Friday, 12 March 2010, 15:14 GMT
jose: I don't know what got fixed, but since I didn't do anything, I suspect that one of its dependencies got updated or evince itself got updated.
Comment by Srivatsan Parthasarathy (psrivats) - Thursday, 25 March 2010, 02:15 GMT
The problem still exists for me. I am using:

- evince-2.28.2-1
- ghostscript-8.71-3
- texlive-bin-2009.5-2
Comment by Srivatsan Parthasarathy (psrivats) - Thursday, 25 March 2010, 03:21 GMT
The problem still exists for me. I am using:

- evince-2.28.2-1
- ghostscript-8.71-3
- texlive-bin-2009.5-2
Comment by Ionut Biru (wonder) - Wednesday, 14 April 2010, 15:19 GMT
still an issue?
Comment by Jose Marino (oniram) - Wednesday, 14 April 2010, 19:29 GMT
I still have this issue with:
evince 2.30.0-1
ghostscript 8.71-3
texlive-bin 2009.5-3
Comment by Thomas Dziedzic (tomd123) - Thursday, 15 April 2010, 00:05 GMT
Ok, I get no errors, but the image doesn't display. I think someone who uses evince needs to file a bug upstream.
Comment by Jose Marino (oniram) - Thursday, 15 April 2010, 16:01 GMT
Just got a bit more info about the problem. I compiled my own ghostscript and evince using the PKGBUILD's from the extra svn repository. I compiled the packages with CFLAGS="-march=i686 -O0 -ggdb".
I also set the env variable GS_OPTIONS to show debug messages.
Below is the output I see on the terminal (evince opens the document but doesn't show the image):

# export GS_OPTIONS=-dDEBUG
# evince test.dvi
GPL Ghostscript 8.71: ./psi/iinit.c(98): initial_enter failed (-7), entering /MaxBitmap in -dict:11/1123-
fatal internal error -100
** (evince:30090): WARNING **: Error rendering PS document /home/jos/evince-test/figure.eps: render error

GPL Ghostscript 8.71: ./psi/iinit.c(98): initial_enter failed (-7), entering /MaxBitmap in -dict:11/1123-
GPL Ghostscript 8.71: Initialization file gs_init.ps does not begin with an integer.
fatal internal error -100
** (evince:30090): WARNING **: Error rendering PS document /home/jos/evince-test/figure.eps: render error

GPL Ghostscript 8.71: ./psi/iinit.c(98): initial_enter failed (-7), entering /MaxBitmap in -dict:11/1123-
GPL Ghostscript 8.71: Initialization file gs_init.ps does not begin with an integer.
fatal internal error -100
** (evince:30090): WARNING **: Error rendering PS document /home/jos/evince-test/figure.eps: render error
Comment by Andreas Radke (AndyRTR) - Sunday, 19 December 2010, 14:10 GMT
state?
Comment by Jose Marino (oniram) - Sunday, 19 December 2010, 14:55 GMT
I still see this bug with:

evince 2.32.0-5
ghostscript 9.00-1
texlive-bin 2010.1-5
Comment by mattia (nTia89) - Sunday, 19 December 2010, 15:33 GMT
i see a square and some text

i think is fixed for me
Comment by mattia (nTia89) - Sunday, 19 December 2010, 15:34 GMT
i see a square and some text

i think is fixed for me

PS: latest software from official repo
Comment by awhan patnaik (awhan) - Friday, 04 February 2011, 18:05 GMT
i m on a 64 bit machine with 32 bit archlinux installed ... whenever i try to open SOME *.dvi file with evince it crashes .... the error message i get is as follows

<begin>
GPL Ghostscript 9.00: Initialization file gs_init.ps does not begin with an integer.
fatal internal error -100Illegal instruction
<end>

evince 2.32.0-5
ghostscript 9.00-4
texlive-bin 2010.1-5

if i compile a trivial tex file with the following content

<begin>
\documentclass{article}
\begin{document}
this is a test.
\end{document}
<end>

i get no problems ... but as soon as i try to include an eps figure as in

<begin>
\documentclass{article}
\usepackage{epsfig}
\begin{document}
\begin{figure}
\epsfig{file=fly.eps}
\end{figure}
\end{document}
<end>

i get the following error

fatal internal error -100Illegal instruction

so i guess the culprit are epsfig and the the eps figures.

i m attaching the example tex file and eps figure.
Comment by Jose Marino (oniram) - Sunday, 13 February 2011, 06:39 GMT
Package ghostscript-9.01-1 fixes this problem for me.

Loading...