GNOME Bugzilla – Bug 403791
crash in Evince: I was opening in evince ...
Last modified: 2008-04-18 18:18:52 UTC
Version: 0.6.1 What were you doing when the application crashed? I was opening in evince 6.1 file lawn81.pdf (from LAPACK 3.1.0 / INSTALL). Clicked on topic "Untar the File". Distribution: openSUSE 10.2 (i586) Gnome Release: 2.16.1 2006-11-28 (SUSE) BugBuddy Version: 2.16.0 Memory status: size: 64413696 vsize: 0 resident: 64413696 share: 0 rss: 11563008 rss_rlim: 0 CPU usage: start_time: 1170465624 rtime: 0 utime: 349 stime: 0 cutime:298 cstime: 0 timeout: 51 it_real_value: 0 frequency: 0 Backtrace was generated from '/opt/gnome/bin/evince' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1229698848 (LWP 4683)] [New Thread -1231213680 (LWP 4685)] (no debugging symbols found) 0xb7f68410 in ?? ()
+ Trace 107546
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Here is the crash report with debug info: Distribution: openSUSE 10.2 (i586) Gnome Release: 2.16.1 2006-11-28 (SUSE) BugBuddy Version: 2.16.0 Memory status: size: 57872384 vsize: 0 resident: 57872384 share: 0 rss: 8421376 rss_rlim: 0 CPU usage: start_time: 1170531773 rtime: 0 utime: 169 stime: 0 cutime:144 cstime: 0 timeout: 25 it_real_value: 0 frequency: 0 Backtrace was generated from '/opt/gnome/bin/evince' Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1229661984 (LWP 3805)] [New Thread -1231176816 (LWP 3812)] 0xb7f71410 in ?? ()
+ Trace 107750
Thread 1 (Thread -1229661984 (LWP 3805))
Unfortunately that stack trace still isn't very useful. Could you get us a trace from running evince inside gdb? See http://live.gnome.org/GettingTraces/Details#gdb-not-yet-running for how to do this. Thanks!
I did try opening the document with xpdf and not only the text did not appeared (only colored boxes) but also the program closed (without report). Links in the bookmarks worked (jumped from page to page) for a while. Crash in evince seams to happen when parsing content. File URL is http://www.netlib.org/lapack/lawnspdf/lawn81.pdf. This file is OK in both evince and xpdf. This document does not have bookmarks like the one that crashes pdf readers. The original document has bookmarks and came from http://www.netlib.org/lapack/lapack-3.1.0.tgz. Should authors be informed? Follows the gdb output (too many errors, can't copy from start): (...) Error (29197): Illegal character ')' Error (29199): Badly formatted number Error (29204): Illegal character ')' Error (29207): Illegal character ')' Error (29230): Illegal character ')' Error (29300): Illegal character ')' Error (29314): Illegal character ')' Error (29319): Illegal character ')' Error (29347): Illegal character ')' Error (29349): Illegal character ')' Error (29349): Illegal character ')' Error (29352): Illegal character ')' Error (29355): Illegal character ')' Error (29355): Illegal character ')' Error (29355): Illegal character ')' Error (29355): Illegal character ')' Error (29355): Illegal character ')' Error (29358): Illegal character ')' Error (29361): Illegal character ')' Error (29380): Illegal character ')' Error (29387): Illegal character ')' Error (29387): Illegal character ')' Error (29387): Illegal character ')' Error (29390): Illegal character ')' Error (29395): Illegal character ')' Error (29417): Illegal character ')' Error (29462): Illegal character ')' Error (29467): Illegal character ')' Error (29469): Illegal character ')' Error (29471): Illegal character ')' Error (29477): Illegal character ')' Error (29481): Illegal character ')' Error (29485): Illegal character ')' Error (29487): Illegal character ')' Error (29491): Illegal character ')' Error (29493): Illegal character ')' Error (29500): Illegal character ')' Error (29500): Illegal character ')' Error (29500): Illegal character ')' Error (29500): Illegal character ')' Error (29504): Illegal character ')' Error (29544): Illegal character ')' Error (29549): Illegal character ')' Error (29552): Illegal character ')' Error (29584): Illegal character ')' Error (29605): Illegal character ')' Error (29613): Illegal character ')' Error (29633): Illegal character ')' Error (29643): Illegal character ')' Error (29643): Illegal character ')' Error (29646): Illegal character ')' Error (29648): Illegal character ')' Error (29648): Illegal character ')' Error (29648): Illegal character ')' Error (29656): Illegal character ')' Error (29659): Illegal character ')' Error (29662): Illegal character ')' Error (29666): Illegal character ')' Error (29681): Illegal character ')' Error (29688): Illegal character '}' Error (29691): Illegal character ')' Error (29698): Illegal character ')' Error (29698): Illegal character ')' Error (29698): Illegal character ')' Error (29698): Illegal character ')' Error (29698): Illegal character ')' Error (29721): Illegal character ')' Error (29724): Illegal character ')' Error (29728): Illegal character ')' Error (29730): Illegal character ')' Error (29730): Illegal character ')' Error (29730): Illegal character ')' Error (29733): Illegal character ')' Error (29735): Illegal character ')' Error (29739): Illegal character ')' Error (29758): Illegal character ')' Error (29767): Illegal character ')' Error (29785): Illegal character ')' Error (29790): Illegal character ')' Error (29790): Illegal character ')' Error (29794): Illegal character ')' Error (29803): Illegal character ')' Error (29814): Illegal character '{' Error (29814): Illegal character '{' Error (29816): Illegal character ')' Error (29818): Illegal character ')' Error (29818): Illegal character ')' Error (29823): Illegal character ')' Error (29823): Illegal character ')' Error (29848): Illegal character ')' Error (29867): Illegal character ')' Error (29867): Illegal character ')' Error (29903): Illegal character ')' Error (29911): Illegal character ')' Error (29915): Illegal character ')' Error (29931): Illegal character ')' Error (29947): Illegal character ')' Error (29950): Illegal character ')' Error (29951): Badly formatted number Error (29952): Illegal character ')' Error (30006): Badly formatted number Error (30009): Illegal character ')' Error (30013): Illegal character ')' Error (30021): Illegal character ')' Error (30034): Illegal character ')' Error (30101): Illegal character ')' Error (30104): Illegal character ')' Error (30104): Illegal character ')' Error (30104): Illegal character ')' Error (30106): Illegal character ')' Error (30110): Illegal character ')' Error (30116): Illegal character ')' Error (30119): Illegal character ')' Error (30119): Illegal character ')' Error (30124): Illegal character ')' Error (30125): Illegal character ')' Error (30128): Illegal character ')' Error (30131): Illegal character ')' Error (30145): Illegal character ')' Error (30145): Illegal character ')' Error (30152): Illegal character ')' Error (30152): Illegal character ')' Error (30154): Illegal character ')' Error (30245): Illegal character ')' Error (30245): Illegal character ')' Error (30245): Illegal character ')' Error (30245): Illegal character ')' Error (30245): Illegal character ')' Error (30248): Illegal character ')' Error (30251): Illegal character ')' Error (30251): Illegal character ')' Error (30257): Illegal character ')' Error (30260): Illegal character ')' Error (30264): Illegal character ')' Error (30264): Illegal character ')' Error (30266): Illegal character ')' Error (30268): Illegal character ')' Error (30275): Illegal character ')' Error (30275): Illegal character ')' Error (30275): Illegal character '}' Error (30275): Illegal character ')' Error (30281): Illegal character ')' Error (30286): Illegal character ')' Error (30295): Illegal character ')' Error (30305): Illegal character ')' Error (30305): Illegal character ')' Error (30307): Illegal character ')' Error (30313): Illegal character ')' Error (30316): Illegal character ')' Error (30316): Illegal character ')' Error (30358): Illegal character ')' Error (30364): Illegal character ')' Error (30371): Illegal character ')' Error (30404): Illegal character ')' Error (30412): Illegal character ')' Error (30412): Illegal character ')' Error (30457): Illegal character ')' Error (30462): Illegal character ')' Error (30462): Illegal character ')' Error (30470): Illegal character ')' Error (30479): Illegal character ')' Error (30481): Illegal character ')' Error (30484): Illegal character ')' Error (30484): Illegal character ')' Error (30489): Illegal character ')' Error (30495): Illegal character ')' Error (30501): Illegal character ')' Error (30521): Illegal character ')' Error (30523): Illegal character ')' Error (30526): Illegal character ')' Error (30532): Illegal character ')' Error (30532): Illegal character ')' Error (30545): Illegal character ')' Error (30549): Illegal character ')' Error (30551): Illegal character ')' Error: Unterminated string Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: Leftover args in content stream Error: could not create type1 face some font thing failed Error: could not create type1 face some font thing failed Error (15776): Illegal character ')' Error: Unterminated string Error: End of file inside array Error: Leftover args in content stream Error (15776): Illegal character ')' Error: Unterminated string Error: End of file inside array Error: Leftover args in content stream Error: could not create type1 face some font thing failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1230939248 (LWP 1282)] 0xb6fcd80a in strcmp () from /lib/libc.so.6 (gdb)
We're mostly interested in the stack trace at the point of the crash. Can you give the command "thread apply all bt" (as detailed in the gdb guide I gave before) to gdb at the point you'd ended that previous comment and give us the output of that command. Thanks!
Here you are: Error (29845): Illegal character ')' Error (29845): Illegal character ')' Error (29848): Illegal character ')' Error (29867): Illegal character ')' Error (29867): Illegal character ')' Error (29903): Illegal character ')' Error (29911): Illegal character ')' Error (29915): Illegal character ')' Error (29931): Illegal character ')' Error (29947): Illegal character ')' Error (29950): Illegal character ')' Error (29951): Badly formatted number Error (29952): Illegal character ')' Error (30006): Badly formatted number Error (30009): Illegal character ')' Error (30013): Illegal character ')' Error (30021): Illegal character ')' Error (30034): Illegal character ')' Error (30101): Illegal character ')' Error (30104): Illegal character ')' Error (30104): Illegal character ')' Error (30104): Illegal character ')' Error (30106): Illegal character ')' Error (30110): Illegal character ')' Error (30116): Illegal character ')' Error (30119): Illegal character ')' Error (30119): Illegal character ')' Error (30124): Illegal character ')' Error (30125): Illegal character ')' Error (30128): Illegal character ')' Error (30131): Illegal character ')' Error (30145): Illegal character ')' Error (30145): Illegal character ')' Error (30152): Illegal character ')' Error (30152): Illegal character ')' Error (30154): Illegal character ')' Error (30156): Illegal character ')' Error (30175): Illegal character ')' Error (30245): Illegal character ')' Error (30245): Illegal character ')' Error (30245): Illegal character ')' Error (30245): Illegal character ')' Error (30245): Illegal character ')' Error (30248): Illegal character ')' Error (30251): Illegal character ')' Error (30251): Illegal character ')' Error (30257): Illegal character ')' Error (30260): Illegal character ')' Error (30264): Illegal character ')' Error (30264): Illegal character ')' Error (30266): Illegal character ')' Error (30268): Illegal character ')' Error (30275): Illegal character ')' Error (30275): Illegal character ')' Error (30275): Illegal character ')' Error (30281): Illegal character ')' Error (30286): Illegal character ')' Error (30295): Illegal character ')' Error (30305): Illegal character ')' Error (30305): Illegal character ')' Error (30307): Illegal character ')' Error (30313): Illegal character ')' Error (30316): Illegal character ')' Error (30316): Illegal character ')' Error (30358): Illegal character ')' Error (30364): Illegal character ')' Error (30371): Illegal character ')' Error (30404): Illegal character ')' Error (30412): Illegal character ')' Error (30412): Illegal character ')' Error (30457): Illegal character ')' Error (30462): Illegal character ')' Error (30462): Illegal character ')' Error (30470): Illegal character ')' Error (30479): Illegal character ')' Error (30481): Illegal character ')' Error (30484): Illegal character ')' Error (30484): Illegal character ')' Error (30489): Illegal character ')' Error (30495): Illegal character ')' Error (30501): Illegal character ')' Error (30521): Illegal character ')' Error (30523): Illegal character ')' Error (30526): Illegal character ')' Error (30532): Illegal character ')' Error (30532): Illegal character ')' Error (30541): Illegal character ')' Error (30551): Illegal character ')' Error: Unterminated string Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: End of file inside array Error: Leftover args in content stream Error: could not create type1 face some font thing failed Error: could not create type1 face some font thing failed Error (15776): Illegal character ')' Error: Unterminated string Error: End of file inside array Error: Leftover args in content stream Error (15776): Illegal character ')' Error: Unterminated string Error: End of file inside array Error: Leftover args in content stream Error: could not create type1 face some font thing failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1231230064 (LWP 3706)] 0xb6f8680a in strcmp () from /lib/libc.so.6 (gdb) thread apply all bt
+ Trace 107810
Thread 2 (Thread -1231230064 (LWP 3706))
Ok, looks like a crash in the poppler library - which is used by Evince to do a lot of the core rendering for various documents (including PDFs). It doesn't however store its bugs here, but at https://bugs.freedesktop.org/. With a few bits of information, I'll post a bug over there. 1) Can I assume that the file at http://www.gwdg.de/service/rechenanlagen/parallelrechner/scalapack/LAPACK/INSTALL/lawn81.pdf is a duplicate of the one that causes your crash? 2) Which poppler version are you using (look at the dialog from Help->About in Evince)? If you can get me answers to those, I'll post this bug over there.
1) That file is the same and opens correctly. 2) Uses poppler 0.5.4 (cairo). Thanks
Hmm. If that copy of lawn81.pdf is fine, can you provide a copy of one that causes the crash (or a location to download it from)?
Please see Comment #4. Inside lapack-3.1.0.tgz, INSTALL directory you will find the file that causes the crash.
Turns out in the end it was a freetype bug. Patch has been supplied to the freetype developers (http://lists.nongnu.org/archive/html/freetype-devel/2007-02/msg00008.html) and now applied to current CVS. Thanks for your help in finding the cause of this one!
*** Bug 400820 has been marked as a duplicate of this bug. ***
*** Bug 434836 has been marked as a duplicate of this bug. ***
*** Bug 437294 has been marked as a duplicate of this bug. ***
*** Bug 520669 has been marked as a duplicate of this bug. ***