GNOME Bugzilla – Bug 135512
this document causes gpdf to hang and use 100% CPU
Last modified: 2004-12-22 21:47:04 UTC
The attached document causes gpdf to freeze up and use 100% CPU until manually killed. It renders fine in xpdf. This is with the latest gpdf, 0.123. Let me know if you need anything else!
Created attachment 24814 [details] This document crashes gpdf 0.123
Jens, this works fine for me with HEAD. Can you attach a stack trace? Thanks.
Well, it only freezes, never crashes - can I still get a stack trace from that? Also, is there anywhere I could get an RPM or at least an SRPM of CVS?
here is one: http://www.rcsnet.net/pub/gpdf/gpdf-0.123-0_cvs_0.src.rpm http://www.rcsnet.net/pub/gpdf/gpdf-0.123-0_cvs_0.i386.rpm (prefix = /opt/gnome-2.5 so use with caution)
jens: find the process id (pid) of the process, do 'gdb attach <pid>' and then do 'bt' at the gdb prompt.
Some more info: 1) This freeze still happens with gpdf .124 2) I forgot to mention that it isn't until one views the second page that it freezes... (whoops) 3) it's the "gnome-pdf-viewer" process that is sucking up the CPU - "gpdf" process is idle during this 4) I hope I did the backtrace right - I opened gpdf, went to page 2 of the PDF, got the freeze, then attached gdb to "gnome-pdf-viewer" and issued the bt command, and finally, attached gdb to "gpdf" and grabbed the backtrace from that, too. Anyhow, here you are... gnome-pdf-viewer: (gdb) bt
+ Trace 45039
Perfect backtrace, thanks. It's a known bug in freetype 2.1.7. Your options are: downgrade freetype to 2.1.5, wait for 2.1.8, or patch freetype 2.1.7 (description in bug #129400) *** This bug has been marked as a duplicate of 129400 ***