GNOME Bugzilla – Bug 139893
if i try to open the following pdf file gpdf consumes all processor power
Last modified: 2004-12-22 21:47:04 UTC
Steps to reproduce the problem: 1. Download http://www.math.uni-bonn.de/people/luetz/vv.pdf 2. Try to open it Actual Results: GPDF consumes all cpu power Expected Results: gpdf opens the document How often does this happen? every time Additional Information: gpdf 0.112 on debian linux (sarge/testing) with kernel 2.6 and posix threads
Same problem here with the same and another document. no problems with acroread, xpdf and gv.
I just forgot I'm using debian sid with a 2.4.25 Kernel and gpdf 0.112
I can confirm. SUSE 9.1, gpdf 0.131 (ximianized). Document opens OK in acroread, ggv.
What are your freetype2 versions (debian sid & suse 9.1)? Document opens softly with gnome-2-6 branch and HEAD. As I can't reproduce this bug, would it be possible to get a stack trace or at least a strace log file ? P.S.: attached a screenshot of the doc, seems ok? http://www.rcsnet.net/gpdf/Screenshot-GPdf-3.png
Created attachment 27993 [details] This is the result of strace -o gpdf.trace gpdf vv
On your screenshot the document displays all right. Iam using debian sarge and if I do "apt-cache show libttf2 | grep Version" I get Version: 1.4pre.20030402-1.1 so I think my this is my freetype Version I dont know exactely how to trace a Programm so I did strace -o gpdf.trace gpdf vv the compressed result is attached Best Wishes Philipp Strack
Could you also get traces for gnome-pdf-viewer when consuming 100% cpu. In order to get it use: # ps -axww | grep gnome-pdf-viewer 431 ? R 0:01 /opt/gnome-2.5/libexec/gnome-pdf-viewer --oaf-activate-iid=OAFIID:GNOME_PDF_Factory --oaf-ior-fd=70 433 pts/1 S 0:00 grep gnome-pdf-viewer # strace -p 431 Actually gnome-pdf-viewer is the active (bonobo) component (the one that parse and display the pdf docuument), gpdf being only a shell for displaying it. gnome-pdf-viewer is the interresting program to trace. Sorry I should have tell you this before ;-)
Ok here is what I did first I started gpdf and then I did philipp@philipp:~$ ps axww | grep gnome-pdf-viewer 698 ? R 7:23 /usr/lib/gpdf/gnome-pdf-viewer --oaf-activate-iid=OAF philipp@philipp:~$ strace -p 698 -o gnomepdfviewer.trace Process 698 attached - interrupt to quit and then I told gpdf to open the file then gpdf stopped reacting and the gnome-pdf-viewer process started consuming about 90% of my cpu power () after some time i killed gpdf but gnome-pdf-viewer still consumes so much cpu, know I also did philipp@philipp:~$ killall gnome-pdf-viewer and strace gives me Process 698 detached but the gnomepdfviewer.trace file contained only on line --- SIGTERM (Terminated) @ 0 (0) ---
Philipp : are you still seeing this bug with a recent version of gpdf ?
Whoops, kinda missed this bug report. File is from pdftex. Doesn't hang if freetype is patched with the patch from bug 129400, it hangs without that patch. So please patch freetype or use a version different from 2.1.7.
*** This bug has been marked as a duplicate of 129400 ***