evince, thumbnailer, nautilus hang on text2ps postscript
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evince (Ubuntu) |
Invalid
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: evince
Using evince 2.20.0 with gnome 2.20.0 under Ubuntu 7.10 Gutsy on Dell GX280
To reproduce the problem,
Either
1)
- Use an editor (say, gedit),
copy and paste the lines of this post past the "------
store the file as "file.ps"
or
2)
- Create a file named "file.txt" containing a single line with text, say "Line 1"
- Convert to postscript with
text2ps file.txt >file.ps
Now you have a file called "file.ps" which causes the (2.20.0) versions of
evince, evince-thumbnailer, and nautilus to choke.
3) (Try) to create a thumbnail with
evince-
Open another terminal and do
ps aux
and note that the process with command "evince-thumbnailer -s 128 file.ps file.png" doesn't finish.
4) Note that Nautilus 2.20.0 "chokes" and no longer generates thumbnails for any directories,
after it tries to generate a thumbnail for file.ps in the current directory.
5) (Try) to view file.ps with evince:
evince file.ps
Observe that evince reports "Loading..." forever.
-------
%!PS-Adobe-1.0
%%Creator: The program 'text2ps'
%%CreationDate: Mon Dec 31 10:48:22 2007
%%Title: File listing
%%Pages: (atend)
%%DocumentFonts: (atend)
%%EndComments
/nl {xline yline moveto show /yline yline yils sub def /xline colstart def} bind def
/bs {xline yline moveto dup show stringwidth pop xline add sw sub /xline exch def} bind def
/title {dup stringwidth pop 4 -1 roll exch sub 3 -1 roll moveto show } bind def
%%EndProlog
/textfont /Courier findfont 9 scalefont def
/yils 10.8 def
/clippath0 { newpath 59.0 999 moveto 59.0 -999 lineto 535.0 -999 lineto 535.0 999 lineto closepath } def
/#copies 1 def
%%Page: 1 1
textfont setfont
/sw ( ) stringwidth pop def
gsave
/yline 771.1 def
/xline 59.0 def
/colstart 59.0 def
clippath0 clip
(Line 1) nl
grestore
showpage
%%Trailer
%%DocumentFonts: Courier
%%Pages: 1
ProblemType: Bug
Architecture: i386
Date: Mon Dec 31 10:27:14 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/evince
Package: evince 2.20.0-0ubuntu3
PackageArchitec
ProcCmdline: evince
ProcCwd: /home/hassard/
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_US.UTF-8
SourcePackage: evince
Uname: Linux hassard 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux
I should not have included "nautilus" in the subject line:
nautilus is not hanging: rather, nautilus is only "choking"
by not continuing to thumbnail other files, as soon
as it hits file.ps.