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 312604 - evince crashes when vieving a document...
evince crashes when vieving a document...
Status: RESOLVED DUPLICATE of bug 312396
Product: evince
Classification: Core
Component: general
git master
Other All
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-04 18:48 UTC by Amaury Jacquot
Modified: 2005-08-04 20:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Amaury Jacquot 2005-08-04 18:48:05 UTC
Steps to reproduce:
1. open document
2. crash ensues


Stack trace:
Program received signal SIGSEGV, Segmentation fault.
_cairo_gstate_set_font_face (gstate=0x8288588, font_face=0x0) at cairo-gstate.c:2092
2092        if (font_face->status)
(gdb) bt
  • #0 _cairo_gstate_set_font_face
    at cairo-gstate.c line 2092
  • #1 cairo_set_font_face
    at cairo.c line 1739
  • #2 CairoOutputDev::updateFont
    at CairoOutputDev.cc line 234
  • #3 Gfx::doShowText
    at Gfx.cc line 2320
  • #4 Gfx::opShowText
    at Object.h line 148
  • #5 Gfx::execOp
    at Gfx.cc line 660
  • #6 Gfx::go
    at Gfx.cc line 551
  • #7 Gfx::display
    at Gfx.cc line 523
  • #8 Page::displaySlice
    at Page.cc line 364
  • #9 poppler_page_render_to_pixbuf
    at PDFDoc.h line 57
  • #10 pdf_document_render_pixbuf
    at ev-poppler.cc line 351
  • #11 ev_document_render_pixbuf
    at ev-document.c line 215
  • #12 ev_job_render_run
    at ev-jobs.c line 283
  • #13 handle_job
    at ev-job-queue.c line 104
  • #14 ev_render_thread
    at ev-job-queue.c line 187
  • #15 g_thread_create_proxy
    from /usr/lib/libglib-2.0.so.0


Other information:
Comment 2 Amaury Jacquot 2005-08-04 19:15:32 UTC
more complete backtrace :

sxpert@workstation ~ $ gdb evince
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) r LCD_News_vol__05.pdf
Starting program: /usr/bin/evince LCD_News_vol__05.pdf
[Thread debugging using libthread_db enabled]
[New Thread -1228298576 (LWP 30936)]

(evince:30936): Gdk-WARNING **: locale not supported by Xlib

(evince:30936): Gdk-WARNING **: cannot set locale modifiers
[New Thread -1229632592 (LWP 30939)]

Program received signal SIG33, Real-time event 33.

Thread NaN (LWP 30939)

  • #0 _cairo_gstate_set_font_face
    at cairo-gstate.c line 2092
  • #1 cairo_set_font_face
    at cairo.c line 1740
  • #2 CairoOutputDev::updateFont
    at CairoOutputDev.cc line 234
  • #3 Gfx::doShowText
    at Gfx.cc line 2320
  • #4 Gfx::opShowText
    at Object.h line 148
  • #5 Gfx::execOp
    at Gfx.cc line 660
  • #6 Gfx::go
    at Gfx.cc line 551
  • #7 Gfx::display
    at Gfx.cc line 523
  • #8 Page::displaySlice
    at Page.cc line 364
  • #9 poppler_page_render_to_pixbuf
    at PDFDoc.h line 57
  • #10 pdf_document_render_pixbuf
    at ev-poppler.cc line 351
  • #11 ev_document_render_pixbuf
    at ev-document.c line 215
  • #12 ev_job_render_run
    at ev-jobs.c line 283
  • #13 handle_job
    at ev-job-queue.c line 104
  • #14 ev_render_thread
    at ev-job-queue.c line 187
  • #15 g_thread_create_proxy
    from /usr/lib/libglib-2.0.so.0
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
    from /lib/libpthread.so.0
  • #22 ??
  • #23 ??
    from /lib/libpthread.so.0
  • #24 ??
    from /lib/libc.so.6
  • #25 ??
    from /lib/libpthread.so.0
  • #26 ??
  • #27 ??
    from /lib/libpthread.so.0
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 start_thread
    from /lib/libpthread.so.0

Comment 3 Christian Kirbach 2005-08-04 19:40:38 UTC
For the record evince 0.1.9 freezes on page 5
Comment 4 Christian Kirbach 2005-08-04 20:14:32 UTC
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1102928816 (LWP 23613)]
_cairo_gstate_set_font_face (gstate=0x8329200, font_face=0x0)
    at cairo-gstate.c:2078
2078        if (font_face->status)
(gdb) thread apply all bt full

Thread 2 (Thread 1102928816 (LWP 23613))

  • #0 _cairo_gstate_set_font_face
    at cairo-gstate.c line 2078
  • #1 cairo_set_font_face
    at cairo.c line 1739
  • #2 CairoOutputDev::updateFont
    at CairoOutputDev.cc line 234
  • #3 Gfx::doShowText
    at Gfx.cc line 2320
  • #4 Gfx::opShowText
    at Object.h line 148
  • #5 Gfx::execOp
    at Gfx.cc line 660
  • #6 Gfx::go
    at Gfx.cc line 551
  • #7 Gfx::display
    at Gfx.cc line 523
  • #8 Page::displaySlice
    at Page.cc line 364
  • #9 poppler_page_render_to_pixbuf
    at PDFDoc.h line 57
  • #10 pdf_document_render_pixbuf
    at ev-poppler.cc line 351
  • #11 ev_document_render_pixbuf
    at ev-document.c line 215
  • #12 ev_job_render_run
    at ev-jobs.c line 283
  • #13 handle_job
    at ev-job-queue.c line 104
  • #14 ev_render_thread
    at ev-job-queue.c line 187
  • #15 g_thread_create_proxy
    at gthread.c line 564
  • #16 start_thread
    from /lib/tls/libpthread.so.0
  • #17 clone
    from /lib/tls/libc.so.6

Comment 5 Christian Kirbach 2005-08-04 20:22:36 UTC
Looks like CairoOutputDev::updateFont passing font_face=0x0 could be the 
culprit. 


Thanks for the bug report. This particular bug has already been reported into 
our bug tracking system, but please feel free to report any further bugs you 
find.

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