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 745827 - evince crashes with "ev_page_cache_get_annot_mapping: assertion 'page >= 0 && page < cache->n_pages'"
evince crashes with "ev_page_cache_get_annot_mapping: assertion 'page >= 0 &&...
Status: RESOLVED DUPLICATE of bug 735744
Product: evince
Classification: Core
Component: backends
3.15.x
Other Linux
: High critical
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-08 01:20 UTC by Jason Ekstrand
Modified: 2015-10-16 16:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Full Backgrace of the crash (43.06 KB, text/plain)
2015-03-08 22:43 UTC, Jason Ekstrand
Details

Description Jason Ekstrand 2015-03-08 01:20:54 UTC
Evince routinely crashes on me with:

(evince:2867): EvinceView-CRITICAL **: ev_page_cache_get_annot_mapping: assertion 'page >= 0 && page < cache->n_pages' failed

Steps to reproduce:

1) Make evince the default viewer for latexmk.  Add the line "$pdf_previewer = 'start evince';" to your ~/.latexmkrc file.

2) Compile a reasonably large LaTeX file with "latexmk -pdf -pvc"

3) Open the file, add a LaTeX compile error somewhere in the middle and save it.

4) latexmk will automatically recompile the file and will fail on the compile error.

5) Fix the compile error, save the file again and type X into the latexmk prompt and hit Enter.

6) latexmk will compile the latex file again and this time, when evince tries to load it, it will crash.

I've been hitting this bug constantly for a while now.  It's gotten a little better in the last few weeks.  It used to crash evince every time and now it only crashes it every other time or so.
Comment 1 André Klapper 2015-03-08 10:55:12 UTC
Thanks for taking the time to report this.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces for more information on how to do so. When pasting a stack trace in this bug report, please reset the status of this bug report from NEEDINFO to its previous status. Thanks in advance!
Comment 2 Jason Ekstrand 2015-03-08 22:43:21 UTC
Created attachment 298841 [details]
Full Backgrace of the crash
Comment 3 Jason Ekstrand 2015-03-08 22:46:22 UTC
I would have set it back to NEW but for whatever reason, bugzilla won't let me.  In any case, a full backtrace is attached.
Comment 4 José Aliste 2015-03-08 22:54:07 UTC
(gdb) bt full
  • #0 atk_object_notify_state_change
    at atkobject.c line 1215
  • #1 ev_view_accessible_set_page_range
    at ev-view-accessible.c line 583
  • #2 view_update_range_and_current_page
    at ev-view.c line 797
  • #3 on_adjustment_value_changed
    at ev-view.c line 7358
  • #7 <emit signal ??? on instance 0x7fe8290f2240 [GtkAdjustment]>
    at gsignal.c line 3361
  • #8 gtk_adjustment_value_changed
    at gtkadjustment.c line 894
  • #9 ev_view_set_adjustment_values
    at ev-view.c line 677
  • #10 ev_view_size_allocate
    at ev-view.c line 3911
  • #14 <emit signal ??? on instance 0x7fe82914a160 [EvView]>
    at gsignal.c line 3361
  • #15 gtk_widget_size_allocate_with_baseline
    at gtkwidget.c line 6093
  • #16 gtk_widget_size_allocate
    at gtkwidget.c line 6162
  • #17 gtk_scrolled_window_allocate_child
    at gtkscrolledwindow.c line 2486
  • #18 gtk_scrolled_window_size_allocate
    at gtkscrolledwindow.c line 2805
  • #19 g_cclosure_marshal_VOID__BOXEDv
    at gmarshal.c line 1950
  • #20 _g_closure_invoke_va
    at gclosure.c line 831
  • #21 g_signal_emit_valist
    at gsignal.c line 3214
  • #22 g_signal_emit
    at gsignal.c line 3361
  • #23 gtk_widget_size_allocate_with_baseline
    at gtkwidget.c line 6093
  • #24 gtk_widget_size_allocate
    at gtkwidget.c line 6162
  • #25 gtk_bin_size_allocate
    at gtkbin.c line 312
  • #26 gtk_overlay_size_allocate
    at gtkoverlay.c line 325
  • #27 g_cclosure_marshal_VOID__BOXEDv
    at gmarshal.c line 1950
  • #28 _g_closure_invoke_va
    at gclosure.c line 831
  • #29 g_signal_emit_valist
    at gsignal.c line 3214
  • #30 g_signal_emit
    at gsignal.c line 3361
  • #31 gtk_widget_size_allocate_with_baseline
    at gtkwidget.c line 6093
  • #32 gtk_box_size_allocate_no_center
    at gtkbox.c line 800
  • #33 g_cclosure_marshal_VOID__BOXEDv
    at gmarshal.c line 1950
  • #34 _g_closure_invoke_va
    at gclosure.c line 831
  • #35 g_signal_emit_valist
    at gsignal.c line 3214
  • #36 g_signal_emit
    at gsignal.c line 3361
  • #37 gtk_widget_size_allocate_with_baseline
    at gtkwidget.c line 6093
  • #38 gtk_widget_size_allocate
    at gtkwidget.c line 6162
  • #39 gtk_paned_child_allocate
    at gtkpaned.c line 1278
  • #40 gtk_paned_size_allocate
    at gtkpaned.c line 1510
  • #41 g_cclosure_marshal_VOID__BOXEDv
    at gmarshal.c line 1950
  • #42 _g_closure_invoke_va
    at gclosure.c line 831
  • #43 g_signal_emit_valist
    at gsignal.c line 3214
  • #44 g_signal_emit
    at gsignal.c line 3361
  • #45 gtk_widget_size_allocate_with_baseline
    at gtkwidget.c line 6093
  • #46 gtk_box_size_allocate_no_center
    at gtkbox.c line 800
  • #47 g_cclosure_marshal_VOID__BOXEDv
    at gmarshal.c line 1950
  • #48 _g_closure_invoke_va
    at gclosure.c line 831
  • #49 g_signal_emit_valist
    at gsignal.c line 3214
  • #50 g_signal_emit
    at gsignal.c line 3361
  • #51 gtk_widget_size_allocate_with_baseline
    at gtkwidget.c line 6093
  • #52 gtk_widget_size_allocate
    at gtkwidget.c line 6162
  • #53 gtk_window_size_allocate
    at gtkwindow.c line 7422
  • #54 gtk_application_window_real_size_allocate
    at gtkapplicationwindow.c line 641
  • #58 <emit signal ??? on instance 0x7fe828e7cab0 [EvWindow]>
    at gsignal.c line 3361
  • #59 gtk_widget_size_allocate_with_baseline
    at gtkwidget.c line 6093
  • #60 gtk_widget_size_allocate
    at gtkwidget.c line 6162
  • #61 gtk_window_check_resize
    at gtkwindow.c line 9411
  • #62 gtk_window_check_resize
    at gtkwindow.c line 8039
  • #63 _g_closure_invoke_va
    at gclosure.c line 831
  • #64 g_signal_emit_valist
    at gsignal.c line 3214
  • #65 g_signal_emit
    at gsignal.c line 3361
  • #66 gtk_container_idle_sizer
    at gtkcontainer.c line 1873
  • #67 _g_closure_invoke_va
    at gclosure.c line 831
  • #68 g_signal_emit_valist
    at gsignal.c line 3214
  • #69 g_signal_emit_by_name
    at gsignal.c line 3401
  • #70 gdk_frame_clock_paint_idle
    at gdkframeclockidle.c line 408
  • #71 gdk_threads_dispatch
    at gdk.c line 717
  • #72 g_timeout_dispatch
    at gmain.c line 4545
  • #73 g_main_context_dispatch
    at gmain.c line 3122
  • #74 g_main_context_dispatch
    at gmain.c line 3737
  • #75 g_main_context_iterate
    at gmain.c line 3808
  • #76 g_main_context_iteration
    at gmain.c line 3869
  • #77 g_application_run
    at gapplication.c line 2308
  • #78 main
    at main.c line 316
        application = 0x7fe828d7b0e0 [EvApplication]
        context = <optimized out>
        error = 0x0
        status = <optimized out>
(gdb)
Comment 5 Germán Poo-Caamaño 2015-10-16 16:47:41 UTC
Thanks for taking the time to report this.
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 bug 735744 ***