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 659042 - gnome-document fails to start
gnome-document fails to start
Status: RESOLVED FIXED
Product: gnome-documents
Classification: Core
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: GNOME documents maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-09-14 12:45 UTC by Reda Lazri
Modified: 2016-06-26 02:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
errors from running gnome-documents (9.11 KB, application/octet-stream)
2011-09-14 17:00 UTC, Reda Lazri
Details
Trace of trying to start gnome-documents (44.51 KB, text/plain)
2011-09-20 20:51 UTC, Gert Kulyk
Details

Description Reda Lazri 2011-09-14 12:45:50 UTC
dmesg shows this message:

[19158.454034] gjs[4842]: segfault at 0 ip b7703ff7 sp bfe4bee0 error 4 in libgobject-2.0.so.0.2990.0[b76f1000+4e000]

I'm using: 

Archlinux
GNOME 3.1.91 from [gnome-unstable] repo + latest updates.
Comment 1 Matthias Clasen 2011-09-14 16:23:02 UTC
Can you run gnome-documents on the commandline in gdb, and capture a stacktrace ?
Comment 2 Reda Lazri 2011-09-14 17:00:17 UTC
Created attachment 196526 [details]
errors from running gnome-documents

OK, compiled gnome-documents and gjs. Now I'm getting this in gdb: 
"/usr/bin/gnome-documents": not in executable format: File format not recognized

Also, running gnome-document gives this.
Comment 3 Cosimo Cecchi 2011-09-14 17:05:29 UTC
(In reply to comment #2)

> OK, compiled gnome-documents and gjs. Now I'm getting this in gdb: 
> "/usr/bin/gnome-documents": not in executable format: File format not
> recognized

The correct way of hooking up gdb there is to launch gjs with the same arguments the gnome-documents launcher does (see /usr/bin/gnome-documents), e.g:

gdb --args gjs -I /usr/share/gnome-documents/js -c "const Main = imports.main; Main.start();"
Comment 4 Reda Lazri 2011-09-14 17:21:33 UTC
OK, one last question, is there any additional package that needs recompiling beside gnome-documents and gjs. I'm getting: Reading symbols from /usr/bin/gjs...(no debugging symbols found)...done.
Comment 5 Vincent Untz 2011-09-19 13:46:51 UTC
I'm not sure it's the same issue, but here's my stack trace:

Program received signal SIGSEGV, Segmentation fault.
thread_memory_magazine2_free (mem=0xb6402ff4, ix=<optimized out>, tmem=<optimized out>) at gslice.c:808
808     gslice.c: Aucun fichier ou dossier de ce type.
        in gslice.c
(gdb) bt
  • #0 thread_memory_magazine2_free
    at gslice.c line 808
  • #1 g_slice_free1
    at gslice.c line 893
  • #2 gdk_rgba_free
    at gdkrgba.c line 96
  • #3 gtk_style_context_get_background_color
    at gtkstylecontext.c line 3277
  • #4 gtk_theming_engine_get_background_color
    at gtkthemingengine.c line 790
  • #5 render_background_internal
    at gtkthemingengine.c line 1392
  • #6 ??
    from /usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so
  • #7 gtk_render_background
    at gtkstylecontext.c line 3740
  • #8 gtk_entry_draw_frame
    at gtkentry.c line 3433
  • #9 gtk_entry_draw
    at gtkentry.c line 3558
  • #10 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #11 gtk_widget_draw_marshaller
    at gtkwidget.c line 819
  • #12 g_type_class_meta_marshal
    at gclosure.c line 885
  • #13 g_closure_invoke
    at gclosure.c line 774
  • #14 signal_emit_unlocked_R
    at gsignal.c line 3310
  • #15 g_signal_emit_valist
    at gsignal.c line 3013
  • #16 g_signal_emit
    at gsignal.c line 3060
  • #17 _gtk_widget_draw_internal
    at gtkwidget.c line 5721
  • #18 _gtk_widget_draw_internal
    at gtkwidget.c line 5697
  • #19 gtk_container_propagate_draw
    at gtkcontainer.c line 3340
  • #20 gtk_container_draw_child
    at gtkcontainer.c line 3187
  • #21 gtk_bin_forall
    at gtkbin.c line 172
  • #22 gtk_container_forall
    at gtkcontainer.c line 2012
  • #23 gtk_container_draw
    at gtkcontainer.c line 3204
  • #24 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #25 gtk_widget_draw_marshaller
    at gtkwidget.c line 819
  • #26 g_type_class_meta_marshal
    at gclosure.c line 885
  • #27 g_closure_invoke
    at gclosure.c line 774
  • #28 signal_emit_unlocked_R
    at gsignal.c line 3310
  • #29 g_signal_emit_valist
    at gsignal.c line 3013
  • #30 g_signal_emit
    at gsignal.c line 3060
  • #31 _gtk_widget_draw_internal
    at gtkwidget.c line 5721
  • #32 _gtk_widget_draw_internal
    at gtkwidget.c line 5697
  • #33 gtk_container_propagate_draw
    at gtkcontainer.c line 3340
  • #34 toolbar_content_draw
    at gtktoolbar.c line 3392
  • #35 gtk_toolbar_draw
    at gtktoolbar.c line 881
  • #36 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #37 gtk_widget_draw_marshaller
    at gtkwidget.c line 819
  • #38 g_type_class_meta_marshal
    at gclosure.c line 885
  • #39 g_closure_invoke
    at gclosure.c line 774
  • #40 signal_emit_unlocked_R
    at gsignal.c line 3310
  • #41 g_signal_emit_valist
    at gsignal.c line 3013
  • #42 g_signal_emit
    at gsignal.c line 3060
  • #43 _gtk_widget_draw_internal
    at gtkwidget.c line 5721
  • #44 _gtk_widget_draw_internal
    at gtkwidget.c line 5697
  • #45 gtk_container_propagate_draw
    at gtkcontainer.c line 3340
  • #46 gtk_container_draw_child
    at gtkcontainer.c line 3187
  • #47 gtk_grid_forall
    at gtkgrid.c line 503
  • #48 gtk_container_forall
    at gtkcontainer.c line 2012
  • #49 gtk_container_draw
    at gtkcontainer.c line 3204
  • #50 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #51 gtk_widget_draw_marshaller
    at gtkwidget.c line 819
  • #52 g_type_class_meta_marshal
    at gclosure.c line 885
  • #53 g_closure_invoke
    at gclosure.c line 774
  • #54 signal_emit_unlocked_R
    at gsignal.c line 3310
  • #55 g_signal_emit_valist
    at gsignal.c line 3013
  • #56 g_signal_emit
    at gsignal.c line 3060
  • #57 _gtk_widget_draw_internal
    at gtkwidget.c line 5721
  • #58 _gtk_widget_draw_internal
    at gtkwidget.c line 5697
  • #59 gtk_container_propagate_draw
    at gtkcontainer.c line 3340
  • #60 gtk_container_draw_child
    at gtkcontainer.c line 3187
  • #61 gtk_grid_forall
    at gtkgrid.c line 503
  • #62 gtk_container_forall
    at gtkcontainer.c line 2012
  • #63 gtk_container_draw
    at gtkcontainer.c line 3204
  • #64 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #65 gtk_widget_draw_marshaller
    at gtkwidget.c line 819
  • #66 g_type_class_meta_marshal
    at gclosure.c line 885
  • #67 g_closure_invoke
    at gclosure.c line 774
  • #68 signal_emit_unlocked_R
    at gsignal.c line 3310
  • #69 g_signal_emit_valist
    at gsignal.c line 3013
  • #70 g_signal_emit
    at gsignal.c line 3060
  • #71 _gtk_widget_draw_internal
    at gtkwidget.c line 5721
  • #72 _gtk_widget_draw_internal
    at gtkwidget.c line 5697
  • #73 gtk_container_propagate_draw
    at gtkcontainer.c line 3340
  • #74 gtk_container_draw_child
    at gtkcontainer.c line 3187
  • #75 gtk_bin_forall
    at gtkbin.c line 172
  • #76 gtk_container_forall
    at gtkcontainer.c line 2012
  • #77 gtk_container_draw
    at gtkcontainer.c line 3204
  • #78 gtk_window_draw
    at gtkwindow.c line 7456
  • #79 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #80 gtk_widget_draw_marshaller
    at gtkwidget.c line 819
  • #81 g_type_class_meta_marshal
    at gclosure.c line 885
  • #82 g_closure_invoke
    at gclosure.c line 774
  • #83 signal_emit_unlocked_R
    at gsignal.c line 3310
  • #84 g_signal_emit_valist
    at gsignal.c line 3013
  • #85 g_signal_emit
    at gsignal.c line 3060
  • #86 _gtk_widget_draw_internal
    at gtkwidget.c line 5721
  • #87 _gtk_widget_draw_internal
    at gtkwidget.c line 5697
  • #88 gtk_widget_send_expose
    at gtkwidget.c line 5968
  • #89 gtk_main_do_event
    at gtkmain.c line 1801
  • #90 _gdk_event_emit
    at gdkevents.c line 71
  • #91 _gdk_window_process_updates_recurse
    at gdkwindow.c line 3857
  • #92 gdk_x11_window_process_updates_recurse
    at gdkwindow-x11.c line 4672
  • #93 gdk_window_process_updates_internal
    at gdkwindow.c line 4013
  • #94 gdk_window_process_all_updates
    at gdkwindow.c line 4144
  • #95 gtk_container_idle_sizer
    at gtkcontainer.c line 1662
  • #96 gdk_threads_dispatch
    at gdk.c line 754
  • #97 g_idle_dispatch
    at gmain.c line 4801
  • #98 g_main_dispatch
    at gmain.c line 2441
  • #99 g_main_context_dispatch
    at gmain.c line 3011
  • #100 g_main_context_iterate
    at gmain.c line 3089
  • #101 g_main_loop_run
    at gmain.c line 3297
  • #102 gtk_main
    at gtkmain.c line 1362
  • #103 ffi_call_SYSV
    from /usr/lib/libffi.so.4
  • #104 ffi_call
    from /usr/lib/libffi.so.4
  • #105 ??
    from /usr/lib/libgjs.so.0
  • #106 ??
    from /usr/lib/libgjs.so.0
  • #107 ??
    from /usr/lib/libmozjs185.so.1.0
  • #108 ??
    from /usr/lib/libmozjs185.so.1.0
  • #109 ??
    from /usr/lib/libmozjs185.so.1.0
  • #110 ??
    from /usr/lib/libmozjs185.so.1.0
  • #111 JS_EvaluateUCScriptForPrincipals
    from /usr/lib/libmozjs185.so.1.0
  • #112 JS_EvaluateUCScript
    from /usr/lib/libmozjs185.so.1.0
  • #113 gjs_context_eval
    from /usr/lib/libgjs.so.0
  • #114 main

Comment 6 Gert Kulyk 2011-09-20 20:51:17 UTC
Created attachment 197110 [details]
Trace of trying to start gnome-documents 

I'm not sure if it is the original bug report either, but here is the trace I get. I've never been able to get gnome-documents running for more than 30 seconds. Sometimes it comes up, but crashes with sigsev in gjs when trying to open a document or to change between grid- and listview.
Comment 7 Cosimo Cecchi 2011-09-29 19:39:19 UTC
Is this still an issue with an up-to-date 3.2 stack? (including the latest Tracker).

@Gert: make sure to have the latest versions of gnome-icon-theme and gnome-icon-theme-symbolic installed in your prefix.
Comment 8 Vincent Untz 2011-09-29 19:42:53 UTC
FWIW, this works for me now. I suspect updating tracker to 0.12.2 or 0.12.3 helped.
Comment 9 Gert Kulyk 2011-09-29 20:10:22 UTC
With an up-to-date 3.2 stack gnome-documents no longer crashes for me. 

@Cosimo: I tested gnome-documents since GNOME 3.1.90 came out, I always used up-to-date versions of the icon-theme packages. But like said, crashes of gd are no longer an issue here.
Comment 10 Cosimo Cecchi 2011-09-29 20:16:35 UTC
Cool, I guess this can be closed now then. Please reopen if you still experience the same issues with a fully updated 3.2 stack.
Comment 11 Reda Lazri 2011-09-29 20:19:14 UTC
Everything is working fine here! Thank you!