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 758491 - Documents sometime crash when attempting to print
Documents sometime crash when attempting to print
Status: RESOLVED OBSOLETE
Product: gnome-documents
Classification: Core
Component: general
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME documents maintainer(s)
GNOME documents maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-11-22 11:49 UTC by Andreas Nilsson
Modified: 2021-07-05 11:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Nilsson 2015-11-22 11:49:37 UTC
Spinning off bug #758445

I've managed to make gnome-documents crash 2 times out of 5 when opening it, navigating to the same document and printing that. This is the error I get for that:

(org.gnome.Documents:7146): EvinceView-CRITICAL **: ev_page_cache_get_form_field_mapping: assertion 'EV_IS_PAGE_CACHE (cache)' failed
Segmentation fault (core dumped)
Comment 1 Bastien Nocera 2015-11-23 11:48:43 UTC
You can run gnome-documents under gdb with:
gdb --args gjs ${install_prefix}/share/gnome-documents/org.gnome.Documents

(obviously, replace install_prefix for your installation)
Comment 2 Andreas Nilsson 2015-11-23 12:29:20 UTC
Here is the backtrace http://pastebin.com/fag7jjr8
Comment 3 Bastien Nocera 2015-11-23 16:48:23 UTC
(In reply to Andreas Nilsson from comment #2)
> Here is the backtrace http://pastebin.com/fag7jjr8

Can you please type "bt" as well? :)
And paste the output here, please.
Comment 4 Andreas Nilsson 2015-11-23 17:04:52 UTC
(gdb) bt
  • #0 g_type_check_instance_cast
  • #1 ev_print_operation_print_done
  • #2 g_closure_invoke
  • #3 signal_emit_unlocked_R
  • #4 g_signal_emit_valist
  • #5 g_signal_emit
  • #6 print_pages
  • #7 finish_print
  • #8 handle_print_response
  • #9 g_closure_invoke
  • #10 signal_emit_unlocked_R
  • #11 g_signal_emit_valist
  • #12 g_signal_emit
  • #13 _g_closure_invoke_va
  • #14 g_signal_emit_valist
  • #15 g_signal_emit
  • #16 gtk_button_do_release
  • #17 gtk_real_button_released
  • #18 _g_closure_invoke_va
  • #19 g_signal_emit_valist
  • #20 g_signal_emit
  • #21 multipress_released_cb
  • #22 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #23 ffi_call
    at ../src/x86/ffi64.c line 525
  • #24 g_cclosure_marshal_generic_va
  • #25 _g_closure_invoke_va
  • #26 g_signal_emit_valist
  • #27 g_signal_emit
  • #28 gtk_gesture_multi_press_end
  • #29 g_cclosure_marshal_VOID__BOXEDv
  • #30 _g_closure_invoke_va
  • #31 g_signal_emit_valist
  • #32 g_signal_emit
  • #33 _gtk_gesture_check_recognized
  • #34 gtk_gesture_handle_event
  • #35 gtk_gesture_single_handle_event
  • #36 gtk_event_controller_handle_event
  • #37 _gtk_widget_run_controllers
  • #38 _gtk_marshal_BOOLEAN__BOXEDv
  • #39 _g_closure_invoke_va
  • #40 g_signal_emit_valist
  • #41 g_signal_emit
  • #42 gtk_widget_event_internal
  • #43 propagate_event
  • #44 gtk_main_do_event
  • #45 gdk_event_source_dispatch
  • #46 g_main_context_dispatch
  • #47 g_main_context_iterate.isra
  • #48 g_main_context_iteration
  • #49 g_application_run
  • #50 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #51 ffi_call
    at ../src/x86/ffi64.c line 525
  • #52 gjs_invoke_c_function(JSContext*, Function*, JSObject*, unsigned int, jsval*, jsval*, GArgument*)
    at gi/function.cpp line 997
  • #53 function_call(JSContext*, unsigned int, jsval*)
    at gi/function.cpp line 1319
  • #54 js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct)
    at /usr/src/debug/mozjs-24.2.0/js/src/jscntxtinlines.h line 321
  • #55 js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct)
    at /usr/src/debug/mozjs-24.2.0/js/src/vm/Interpreter.cpp line 474
  • #56 Interpret(JSContext*, js::RunState&)
    at /usr/src/debug/mozjs-24.2.0/js/src/vm/Interpreter.cpp line 2298
  • #57 js::RunScript(JSContext*, js::RunState&)
    at /usr/src/debug/mozjs-24.2.0/js/src/vm/Interpreter.cpp line 438
  • #58 js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*)
    at /usr/src/debug/mozjs-24.2.0/js/src/vm/Interpreter.cpp line 622
  • #59 js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*)
    at /usr/src/debug/mozjs-24.2.0/js/src/vm/Interpreter.cpp line 659
  • #60 JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, unsigned short const*, unsigned long, JS::Value*)
    at /usr/src/debug/mozjs-24.2.0/js/src/jsapi.cpp line 5443
  • #61 JS::Evaluate(JSContext*, JS::Handle<JSObject*>, JS::CompileOptions, char const*, unsigned long, JS::Value*)
  • #62 gjs_eval_with_scope(JSContext*, JSObject*, char const*, gssize, char const*, jsval*)
  • #63 gjs_context_eval(GjsContext*, char const*, gssize, char const*, int*, GError**)
  • #64 main(int, char**)
    at gjs/console.cpp line 139

Comment 5 Bastien Nocera 2015-11-24 13:36:32 UTC
(In reply to Andreas Nilsson from comment #0)
> Spinning off bug #758445
> 
> I've managed to make gnome-documents crash 2 times out of 5 when opening it,
> navigating to the same document and printing that. This is the error I get
> for that:
> 
> (org.gnome.Documents:7146): EvinceView-CRITICAL **:
> ev_page_cache_get_form_field_mapping: assertion 'EV_IS_PAGE_CACHE (cache)'
> failed
> Segmentation fault (core dumped)

This warning is fixed in bug 758596
Comment 6 GNOME Infrastructure Team 2021-07-05 11:32:07 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-documents/-/issues/

Thank you for your understanding and your help.