After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139893 - if i try to open the following pdf file gpdf consumes all processor power
if i try to open the following pdf file gpdf consumes all processor power
Status: RESOLVED DUPLICATE of bug 129400
Product: gpdf
Classification: Deprecated
Component: general
unspecified
Other Linux
: High critical
: ---
Assigned To: Martin Kretzschmar
Martin Kretzschmar
Depends on:
Blocks:
 
 
Reported: 2004-04-13 09:11 UTC by philipp strack
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
This is the result of strace -o gpdf.trace gpdf vv (32.27 KB, application/octet-stream)
2004-05-25 11:05 UTC, philipp strack
Details

Description philipp strack 2004-04-13 09:11:31 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
Comment 1 Christian Frommeyer 2004-04-28 14:46:01 UTC
Same problem here with the same and another document. no problems with acroread,
xpdf and gv.
Comment 2 Christian Frommeyer 2004-04-28 14:48:06 UTC
I just forgot I'm using debian sid with a 2.4.25 Kernel and gpdf 0.112 
Comment 3 Mark Gordon 2004-05-24 23:39:31 UTC
I can confirm.  SUSE 9.1, gpdf 0.131 (ximianized).  Document opens OK in
acroread, ggv.
Comment 4 Rémi Cohen-Scali 2004-05-25 06:17:18 UTC
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
Comment 5 philipp strack 2004-05-25 11:05:39 UTC
Created attachment 27993 [details]
This is the result of strace -o gpdf.trace gpdf vv
Comment 6 philipp strack 2004-05-25 11:06:10 UTC
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
Comment 7 Rémi Cohen-Scali 2004-05-25 21:28:12 UTC
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 ;-)
Comment 8 philipp strack 2004-05-26 07:41:06 UTC
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) ---
Comment 9 Vincent Noel 2004-08-18 16:46:21 UTC
Philipp : are you still seeing this bug with a recent version of gpdf ?
Comment 10 Martin Kretzschmar 2004-08-19 18:18:18 UTC
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.
Comment 11 Martin Kretzschmar 2004-08-19 18:18:38 UTC

*** This bug has been marked as a duplicate of 129400 ***