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 627238 - gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: General
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: Felix Kaser
empathy-maint
Depends on: 626503
Blocks:
 
 
Reported: 2010-08-18 08:16 UTC by Guillaume Desmottes
Modified: 2011-08-29 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2010-08-18 08:16:19 UTC
When I start Empathy master with my tester user I get this assertion and the contact list stays greyed (no contact is displayed).

Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
aborting...

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff49396c6 in g_logv (log_domain=0x7ffff3c088ef "Gtk", log_level=G_LOG_LEVEL_CRITICAL, format=0x7ffff49b2b18 "%s: assertion `%s' failed", 
    args1=0x7fffffffd8a0) at gmessages.c:544
544			G_BREAKPOINT ();
(gdb) bt
  • #0 g_logv
    at gmessages.c line 544
  • #1 g_log
    at gmessages.c line 568
  • #2 g_return_if_fail_warning
  • #3 gtk_widget_event
    at gtkwidget.c line 4723
  • #4 gtk_window_propagate_key_event
    at gtkwindow.c line 5156
  • #5 gtk_window_key_press_event
    at gtkwindow.c line 5186
  • #6 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 86
  • #7 g_type_class_meta_marshal
    at gclosure.c line 877
  • #8 g_closure_invoke
    at gclosure.c line 766
  • #9 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #10 g_signal_emit_valist
    at gsignal.c line 2993
  • #11 g_signal_emit
    at gsignal.c line 3040
  • #12 gtk_widget_event_internal
    at gtkwidget.c line 4936
  • #13 gtk_widget_event
    at gtkwidget.c line 4733
  • #14 gtk_propagate_event
    at gtkmain.c line 2387
  • #15 gtk_main_do_event
    at gtkmain.c line 1635
  • #16 gdk_event_source_dispatch
    at gdkeventsource.c line 302
  • #17 g_main_dispatch
    at gmain.c line 2119
  • #18 g_main_context_dispatch
    at gmain.c line 2672
  • #19 g_main_context_iterate
    at gmain.c line 2750
  • #20 g_main_loop_run
    at gmain.c line 2958
  • #21 gtk_main
    at gtkmain.c line 1203
  • #22 main
    at empathy.c line 548

Comment 1 Guillaume Desmottes 2010-08-18 08:34:34 UTC
The widget causing the assertion is the EmpathyIndividualView.
Comment 2 Guillaume Desmottes 2010-08-18 09:08:59 UTC
Ok, that's because folks failed to find its TP backend so no contact was fetched. Tweaking FOLKS_BACKEND_DIR solved it.

I keep the bug opened as we still shouldn't assert if there is no contact. I think that's because the page 1 of the notebook is never displayed and so the view is not realized or something.
Comment 3 Guillaume Desmottes 2010-08-18 09:18:13 UTC
Assigning to Felix as he's the one who implemented the notebook.
Comment 4 Felix Kaser 2010-08-24 08:20:45 UTC
most likely related to gtk+ bug #626503
Comment 5 Guillaume Desmottes 2010-08-27 09:55:05 UTC
The patch attached on bug #626503 doesn't help. I still have the issue.
Comment 6 Felix Kaser 2010-09-13 16:02:56 UTC
this branch should fix this, already merged to master

http://git.collabora.co.uk/?p=user/kaserf/empathy.git;a=shortlog;h=refs/heads/fix-critical-on-empty-list-search