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 403791 - crash in Evince: I was opening in evince ...
crash in Evince: I was opening in evince ...
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: general
0.6.x
Other All
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 400820 434836 437294 520669 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-02-03 01:25 UTC by Hélio Guilherme
Modified: 2008-04-18 18:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Hélio Guilherme 2007-02-03 01:25:05 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 ?? ()

Comment 1 palfrey 2007-02-03 14:01:39 UTC
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!
Comment 2 Hélio Guilherme 2007-02-03 19:52:19 UTC
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 ?? ()

Thread 1 (Thread -1229661984 (LWP 3805))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 poll
    from /lib/libc.so.6
  • #5 XAddConnectionWatch
    from /usr/lib/libX11.so.6
  • #6 _XRead
    from /usr/lib/libX11.so.6
  • #7 _XReply
    from /usr/lib/libX11.so.6
  • #8 XSync
    from /usr/lib/libX11.so.6
  • #9 gdk_flush
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #10 gdk_image_new
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #11 gdk_image_new
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #12 gdk_rgb_xpixel_from_rgb
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #13 gdk_drawable_set_data
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #14 gdk_x11_drawable_get_xdisplay
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #15 gdk_draw_pixbuf
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #16 gdk_pixbuf_render_pixmap_and_mask
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #17 gdk_draw_pixbuf
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #18 gdk_window_get_window_type
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #19 gdk_draw_pixbuf
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #20 ev_view_expose_event
    at ev-view.c line 2344
  • #21 gtk_marshal_BOOLEAN__VOID
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #22 g_value_set_static_boxed
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #23 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #24 g_signal_override_class_closure
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #25 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #26 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #27 gtk_widget_get_default_style
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #28 gtk_main_do_event
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #29 gdk_window_is_viewable
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #30 gdk_window_process_all_updates
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #31 gdk_window_process_all_updates
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #32 g_source_is_destroyed
    from /opt/gnome/lib/libglib-2.0.so.0
  • #33 g_main_context_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #34 g_main_context_prepare
    from /opt/gnome/lib/libglib-2.0.so.0
  • #35 g_main_loop_run
    from /opt/gnome/lib/libglib-2.0.so.0
  • #36 gtk_main
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #37 main
    at main.c line 345
  • #0 ??

Comment 3 palfrey 2007-02-03 20:04:51 UTC
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!
Comment 4 Hélio Guilherme 2007-02-03 22:55:37 UTC
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) 
Comment 5 palfrey 2007-02-04 00:14:15 UTC
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!
Comment 6 Hélio Guilherme 2007-02-04 00:28:37 UTC
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

Thread 2 (Thread -1231230064 (LWP 3706))

  • #0 strcmp
    from /lib/libc.so.6
  • #1 TT_RunIns
    from /usr/lib/libfreetype.so.6
  • #2 FT_Get_Name_Index
    from /usr/lib/libfreetype.so.6
  • #3 CairoFont::create
    from /usr/lib/libpoppler-glib.so.1
  • #4 CairoFontEngine::getFont
    from /usr/lib/libpoppler-glib.so.1
  • #5 CairoOutputDev::updateFont
    from /usr/lib/libpoppler-glib.so.1
  • #6 Gfx::opShowSpaceText
    from /usr/lib/libpoppler.so.1
  • #7 Gfx::execOp
    from /usr/lib/libpoppler.so.1
  • #8 Gfx::go
    from /usr/lib/libpoppler.so.1
  • #9 Gfx::display
    from /usr/lib/libpoppler.so.1
  • #10 Page::displaySlice
    from /usr/lib/libpoppler.so.1
  • #11 poppler_page_render_to_pixbuf
    from /usr/lib/libpoppler-glib.so.1
  • #12 pdf_document_render_pixbuf
    at ev-poppler.cc line 432
  • #13 ev_document_render_pixbuf
    at ev-document.c line 223
  • #14 ev_job_render_run
    at ev-jobs.c line 319
  • #15 handle_job
    at ev-job-queue.c line 102
  • #16 ev_render_thread
    at ev-job-queue.c line 187
  • #17 g_thread_create_full
    from /opt/gnome/lib/libglib-2.0.so.0
  • #18 start_thread
    from /lib/libpthread.so.0
  • #19 clone
    from /lib/libc.so.6

Comment 7 palfrey 2007-02-04 10:16:00 UTC
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.

Comment 8 Hélio Guilherme 2007-02-04 21:09:32 UTC
1) That file is the same and opens correctly. 

2) Uses poppler 0.5.4 (cairo).

Thanks
Comment 9 palfrey 2007-02-04 21:13:36 UTC
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)?
Comment 10 Hélio Guilherme 2007-02-04 23:10:15 UTC
Please see Comment #4.

Inside lapack-3.1.0.tgz, INSTALL directory you will find the file that causes the crash.

Comment 11 palfrey 2007-02-07 10:31:00 UTC
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!
Comment 12 palfrey 2007-02-08 19:04:11 UTC
*** Bug 400820 has been marked as a duplicate of this bug. ***
Comment 13 Nickolay V. Shmyrev 2007-05-09 22:10:50 UTC
*** Bug 434836 has been marked as a duplicate of this bug. ***
Comment 14 Nickolay V. Shmyrev 2007-05-09 22:11:09 UTC
*** Bug 437294 has been marked as a duplicate of this bug. ***
Comment 15 Cosimo Cecchi 2008-04-18 18:18:52 UTC
*** Bug 520669 has been marked as a duplicate of this bug. ***