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 682383 - segfault: st_widget_get_theme_node called on a widget which is not in the stage.
segfault: st_widget_get_theme_node called on a widget which is not in the stage.
Status: RESOLVED DUPLICATE of bug 610279
Product: gnome-shell
Classification: Core
Component: message-tray
3.5.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-08-21 18:50 UTC by Frederic Peters
Modified: 2013-06-26 17:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frederic Peters 2012-08-21 18:50:08 UTC
gnome-shell crashed on that error.

Program terminated with signal 5, Trace/breakpoint trap.
  • #0 g_logv
    at gmessages.c line 758
  • #0 g_logv
    at gmessages.c line 758
  • #1 g_log
    at gmessages.c line 792
  • #2 st_widget_get_theme_node
    at st/st-widget.c line 573
  • #3 st_table_get_preferred_width
    at st/st-table.c line 728
  • #4 clutter_actor_get_preferred_width
    at ./clutter-actor.c line 9156
  • #5 _st_actor_get_preferred_width
    at st/st-private.c line 61
  • #6 st_bin_get_preferred_width
    at st/st-bin.c line 141
  • #7 clutter_actor_get_preferred_width
    at ./clutter-actor.c line 9156
  • #8 _st_actor_get_preferred_width
    at st/st-private.c line 61
  • #9 st_bin_get_preferred_width
    at st/st-bin.c line 141
  • #10 clutter_actor_get_preferred_width
    at ./clutter-actor.c line 9156
  • #11 clutter_bin_layout_get_preferred_width
    at ./clutter-bin-layout.c line 332
  • #12 clutter_layout_manager_get_preferred_width
    at ./clutter-layout-manager.c line 690
  • #13 clutter_actor_real_get_preferred_width
    at ./clutter-actor.c line 2191
  • #14 st_widget_get_preferred_width
    at st/st-widget.c line 336
  • #15 clutter_actor_get_preferred_width
    at ./clutter-actor.c line 9156
  • #16 clutter_actor_get_height
    at ./clutter-actor.c line 10607
  • #17 clutter_actor_get_property
    at ./clutter-actor.c line 5180
  • #18 object_get_property
    at gobject.c line 1294
  • #19 g_object_get_property
    at gobject.c line 2228
  • #20 object_instance_get_prop
    at gi/object.c line 243
  • #21 js_GetPropertyHelper(JSContext*, JSObject*, long, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #22 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #23 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #24 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #25 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #26 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #27 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #28 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #29 js::CallOrConstructBoundFunction(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #30 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #31 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #32 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #33 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #34 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #35 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #36 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #37 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #38 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #39 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #40 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #41 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #42 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #43 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #44 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #45 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #46 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #47 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #48 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #49 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #50 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #51 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #52 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #53 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #54 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #55 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #56 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #57 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #58 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #59 js::CallOrConstructBoundFunction(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #60 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #61 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #62 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #63 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #64 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #65 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #66 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #67 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #68 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #69 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #70 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #71 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #72 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #73 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #74 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #75 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #76 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #77 js_fun_apply(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #78 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #79 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #80 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #81 js_fun_call(JSContext*, unsigned int, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #82 js::Interpret(JSContext*, JSStackFrame*, unsigned int, JSInterpMode)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #83 js::RunScript(JSContext*, JSScript*, JSStackFrame*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #84 js::Invoke(JSContext*, js::CallArgs const&, unsigned int)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #85 js::ExternalInvoke(JSContext*, js::Value const&, js::Value const&, unsigned int, js::Value*, js::Value*)
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #86 JS_CallFunctionValue
    from /scratch/jhbuild/lib/libmozjs185.so.1.0
  • #87 gjs_call_function_value
    at gjs/jsapi-util.c line 1180
  • #88 gjs_closure_invoke
    at gi/closure.c line 278
  • #89 closure_marshal
    at gi/value.c line 127
  • #90 g_closure_invoke
    at gclosure.c line 777
  • #91 signal_emit_unlocked_R
    at gsignal.c line 3551
  • #92 g_signal_emit_valist
    at gsignal.c line 3300
  • #93 g_signal_emit
    at gsignal.c line 3356
  • #94 gjs_dbus_implementation_method_call
    at gjs-dbus/gjs-gdbus-wrapper.c line 47
  • #95 g_dbus_interface_method_dispatch_helper
    at gdbusinterfaceskeleton.c line 615
  • #96 skeleton_intercept_handle_method_call
    at gdbusinterfaceskeleton.c line 655
  • #97 call_in_idle_cb
    at gdbusconnection.c line 4737
  • #98 g_idle_dispatch
    at gmain.c line 4797
  • #99 g_main_dispatch
    at gmain.c line 2707
  • #100 g_main_context_dispatch
    at gmain.c line 3211
  • #101 g_main_context_iterate
    at gmain.c line 3282
  • #102 g_main_loop_run
    at gmain.c line 3476
  • #103 meta_run
    at core/main.c line 545
  • #104 main
    at main.c line 411



Last lines of output: (not sure if the first trace happened at the time of the crash)

(gnome-shell:7403): Clutter-CRITICAL **: clutter_actor_add_child: assertion `child->priv->parent == NULL' failed
    JS ERROR: !!!   Exception in callback for signal: content-updated
    JS ERROR: !!!     message = '"this._summaryBoxPointerItem is null"'
    JS ERROR: !!!     fileName = '"/scratch/jhbuild/share/gnome-shell/js/ui/messageTray.js"'
    JS ERROR: !!!     lineNumber = '2357'
    JS ERROR: !!!     stack = '"([object Object])@/scratch/jhbuild/share/gnome-shell/js/ui/messageTray.js:2357
wrapper([object Object])@/scratch/jhbuild/share/gjs-1.0/lang.js:204
_emit("content-updated")@/scratch/jhbuild/share/gjs-1.0/signals.js:124
([object Object])@/scratch/jhbuild/share/gnome-shell/js/ui/messageTray.js:1318
wrapper([object Object])@/scratch/jhbuild/share/gjs-1.0/lang.js:204
_emit("expanded")@/scratch/jhbuild/share/gjs-1.0/signals.js:124
(false)@/scratch/jhbuild/share/gnome-shell/js/ui/messageTray.js:879
wrapper(false)@/scratch/jhbuild/share/gjs-1.0/lang.js:204
(true)@/scratch/jhbuild/share/gnome-shell/js/ui/messageTray.js:2269
wrapper(true)@/scratch/jhbuild/share/gjs-1.0/lang.js:204
()@/scratch/jhbuild/share/gnome-shell/js/ui/messageTray.js:2155
wrapper()@/scratch/jhbuild/share/gjs-1.0/lang.js:204
([object Object])@/scratch/jhbuild/share/gnome-shell/js/ui/messageTray.js:2126
wrapper([object Object])@/scratch/jhbuild/share/gjs-1.0/lang.js:204
()@/scratch/jhbuild/share/gnome-shell/js/ui/messageTray.js:1921
wrapper()@/scratch/jhbuild/share/gjs-1.0/lang.js:204
([object Object],[object Object])@/scratch/jhbuild/share/gnome-shell/js/ui/messageTray.js:1739
wrapper([object Object],[object Object])@/scratch/jhbuild/share/gjs-1.0/lang.js:204
_emit("notify",[object Object])@/scratch/jhbuild/share/gjs-1.0/signals.js:124
([object Object])@/scratch/jhbuild/share/gnome-shell/js/ui/messageTray.js:1126
wrapper([object Object])@/scratch/jhbuild/share/gjs-1.0/lang.js:204
([object Object],null)@/scratch/jhbuild/share/gnome-shell/js/ui/notificationDaemon.js:567
wrapper([object Object],null)@/scratch/jhbuild/share/gjs-1.0/lang.js:204
([object Object],[object Object])@/scratch/jhbuild/share/gnome-shell/js/ui/notificationDaemon.js:441
wrapper([object Object],[object Object])@/scratch/jhbuild/share/gjs-1.0/lang.js:204
([object Object],[object Object])@/scratch/jhbuild/share/gnome-shell/js/ui/notificationDaemon.js:441
wrapper([object Object],[object Object])@/scratch/jhbuild/share/gjs-1.0/lang.js:204
([object Array],[object _private_Gio_DBusMethodInvocation])@/scratch/jhbuild/share/gnome-shell/js/ui/notificationDaemon.js:307
wrapper([object Array],[object _private_Gio_DBusMethodInvocation])@/scratch/jhbuild/share/gjs-1.0/lang.js:204
_handleMethodCall([object _private_Gio_DBusInterfaceInfo],[object _private_GjsPrivate_DBusImplementation],"Notify",[object _private_GLib_Variant],[object _private_Gio_DBusMethodInvocation])@/scratch/jhbuild/share/gjs-1.0/overrides/Gio.js:305
([object _private_GjsPrivate_DBusImplementation],"Notify",[object _private_GLib_Variant],[object _private_Gio_DBusMethodInvocation])@/scratch/jhbuild/share/gjs-1.0/overrides/Gio.js:336
"'

(gnome-shell:7403): St-ERROR **: st_widget_get_theme_node called on the widget [0x645e800 StTable.notification multi-line-notification:last-child first-child ("La couleur de la nuit")] which is not in the stage.
Comment 1 Matthias Clasen 2012-11-28 14:03:45 UTC
This error ("widget which is not on stage" is the most frequent crasher in f18 atm. Here is some irc conversation about it:

<mclasen> hmm, this is the most frequent f18 crash currently: https://retrace.fedoraproject.org/faf/problems/55195/
<mclasen> st-widget.c:573
<ebassi_afk> the usual "you're trying to get the style of a widget without a stage" crash?
<mclasen> yes
<mclasen> whats usually causing that ?
<ebassi_afk> people trying to get the size of a widget/actor regardless of whether the actor has a stage
<mclasen> well, yes
<ebassi_afk> having a "null" style for these cases would be fine
<mclasen> who are those people ?
<ebassi_afk> shell developers, probably :-)
<mclasen> not extension developers ?
<ebassi_afk> mclasen: it depends; are there extensions enabled?
<mclasen> I've asked in the bug
<mclasen> just wanted to see if this is a well-known thing already
<ebassi_afk> mclasen: the style machinery should be more forgiving, and return a static const style struct with some default values
Comment 2 Florian Müllner 2013-06-26 17:20:01 UTC
(In reply to comment #1)
> <ebassi_afk> mclasen: the style machinery should be more forgiving, and return
> a static const style struct with some default values

We are finally doing that now ...

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