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 318834 - Evince crashes when documents are frequently reloaded
Evince crashes when documents are frequently reloaded
Status: RESOLVED DUPLICATE of bug 314986
Product: evince
Classification: Core
Component: general
0.4.x
Other All
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-14 04:30 UTC by Owen Cliffe
Modified: 2005-10-17 16:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Owen Cliffe 2005-10-14 04:30:50 UTC
Steps to reproduce:
1. load a document (tested with PDF, PS )
2. Hold down (Ctrl+R) so lots of reloads happen:




Stack trace:
from gdb: 

0xb723b9a1 in g_type_check_instance_is_a () from /usr/lib/libgobject-2.0.so.0
(gdb) where
  • #0 g_type_check_instance_is_a
    from /usr/lib/libgobject-2.0.so.0
  • #1 g_object_unref
    from /usr/lib/libgobject-2.0.so.0
  • #2 g_object_set_valist
    from /usr/lib/libgobject-2.0.so.0
  • #3 g_object_set
    from /usr/lib/libgobject-2.0.so.0
  • #4 ev_page_action_set_document
    at ev-page-action.c line 596
  • #5 ev_window_load_job_cb
    at ev-window.c line 695
  • #6 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #11 ev_job_finished
    at ev-jobs.c line 207
  • #12 notify_finished
    at ev-job-queue.c line 67
  • #13 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #15 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #16 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #17 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 main
    at main.c line 295



Other information:
This is evince 0.4.0 build from source on ubnunty breezy (with stock poppler 0.4.2)
Comment 1 Owen Cliffe 2005-10-14 04:34:11 UTC
There is another problem with DVI files where every reload causes a crash (so it
might not be related) example stacktace (sorry no debugging symbols) is here: 

*** glibc detected *** double free or corruption (!prev): 0x08461550 ***

Program received signal SIGABRT, Aborted.

Thread NaN (LWP 10388)

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 __fsetlocking
    from /lib/tls/i686/cmov/libc.so.6
  • #4 malloc_trim
    from /lib/tls/i686/cmov/libc.so.6
  • #5 free
    from /lib/tls/i686/cmov/libc.so.6
  • #6 fclose
    from /lib/tls/i686/cmov/libc.so.6
  • #7 kpse_fclose_trace
    from /usr/lib/libkpathsea.so.3
  • #8 font_reset_font_glyphs
  • #9 font_free_unused
  • #10 mdvi_destroy_context
  • #11 dvi_document_get_type
  • #12 g_object_unref
    from /usr/lib/libgobject-2.0.so.0
  • #13 ev_view_set_document
  • #14 ev_window_open_uri
  • #15 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #20 ev_job_finished
  • #21 ev_document_types_add_filters
  • #22 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #23 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #24 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #25 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #26 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 main

Comment 2 Nickolay V. Shmyrev 2005-10-14 07:57:34 UTC
Owen, please try CVS. There was some bugs related to reaload but they all were
fixed.
Comment 3 Sebastien Bacher 2005-10-17 16:05:32 UTC
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 314986 ***