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 331528 - Warning from Evolution with a11y enabled
Warning from Evolution with a11y enabled
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Editing
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: gtkhtml-maintainers
Evolution QA team
: 332905 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-17 10:48 UTC by Kjartan Maraas
Modified: 2009-03-08 21:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the critical assersion (1.21 KB, patch)
2006-02-23 13:43 UTC, Harry Lu
accepted-commit_now Details | Review

Description Kjartan Maraas 2006-02-17 10:48:17 UTC
I'm seeing this when adding contacts to a new message I'm writing:

Breakpoint 2, IA__g_log (log_domain=0xb2dfdc "GLib-GObject",
    log_level=G_LOG_LEVEL_WARNING,
    format=0xb2f100 "%s: couldn't find weak ref %p(%p)") at gmessages.c:516
516       va_start (args, format);
(gdb) bt
  • #0 IA__g_log
  • #1 IA__g_object_weak_unref
    at gobject.c line 1498
  • #2 gail_set_focus_object
    at gail.c line 820
  • #3 atk_focus_tracker_notify
    at atkutil.c line 199
  • #4 gail_focus_idle_handler
    at gail.c line 572
  • #5 g_idle_dispatch
    at gmain.c line 3796
  • #6 IA__g_main_context_dispatch
    at gmain.c line 1916
  • #7 g_main_context_iterate
    at gmain.c line 2547
  • #8 IA__g_main_loop_run
    at gmain.c line 2751
  • #9 bonobo_main
    at bonobo-main.c line 312
  • #10 main
    at main.c line 603
  • #11 __libc_start_main
  • #12 _start

Comment 1 Kjartan Maraas 2006-02-17 10:49:49 UTC
And this one comes after the previous one:

(gdb) c
Continuing.

(evolution:6461): GLib-GObject-WARNING **: IA__g_object_weak_unref: couldn't find weak ref 0xe754f0(0xbe272f0)

Breakpoint 2, IA__g_log (log_domain=0xb2dfdc "GLib-GObject",
    log_level=G_LOG_LEVEL_CRITICAL,
    format=0xab16db "%s: assertion `%s' failed") at gmessages.c:516
516       va_start (args, format);
(gdb) c
Continuing.

GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
aborting...

Program received signal SIGTRAP, Trace/breakpoint trap.
IA__g_logv (log_domain=Variable "log_domain" is not available.
) at gmessages.c:503
503               g_private_set (g_log_depth, GUINT_TO_POINTER (depth));
(gdb) bt
  • #0 IA__g_logv
    at gmessages.c line 503
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 IA__g_return_if_fail_warning
  • #3 IA__g_object_get_data
    at gobject.c line 1827
  • #4 html_a11y_text_ref_state_set
    at text.c line 323
  • #5 atk_object_ref_state_set
    at atkobject.c line 794
  • #6 acc_unref
    at utils.c line 97
  • #7 IA__g_datalist_clear
    at gdataset.c line 120
  • #8 destroy
    at htmlobject.c line 72
  • #9 destroy
    at htmltext.c line 2254
  • #10 html_object_destroy
    at htmlobject.c line 1036
  • #11 remove_empty_and_merge
    at htmlengine-edit-cut-and-paste.c line 297
  • #12 insert_object_for_undo
  • #13 insert_object
    at htmlengine-edit-cut-and-paste.c line 1103
  • #14 html_engine_insert_text_with_extra_attributes
    at htmlengine-edit-cut-and-paste.c line 1348
  • #15 html_engine_paste_text_with_extra_attributes
    at htmlengine-edit-cut-and-paste.c line 1379
  • #16 html_engine_paste_text
    at htmlengine-edit-cut-and-paste.c line 1386
  • #17 gtk_html_im_commit_cb
    at gtkhtml.c line 3173
  • #18 IA__g_cclosure_marshal_VOID__STRING
    at gmarshal.c line 496
  • #19 IA__g_closure_invoke
    at gclosure.c line 490
  • #20 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #21 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #22 IA__g_signal_emit_by_name
    at gsignal.c line 2265
  • #23 gtk_im_multicontext_commit_cb
    at gtkimmulticontext.c line 454
  • #24 IA__g_cclosure_marshal_VOID__STRING
    at gmarshal.c line 496
  • #25 IA__g_closure_invoke
    at gclosure.c line 490
  • #26 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #27 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #28 IA__g_signal_emit_by_name
    at gsignal.c line 2265
  • #29 gtk_im_context_simple_commit_char
    at gtkimcontextsimple.c line 1041
  • #30 gtk_im_context_simple_filter_keypress
    at gtkimcontextsimple.c line 1245
  • #31 IA__gtk_im_context_filter_keypress
    at gtkimcontext.c line 317
  • #32 gtk_im_multicontext_filter_keypress
    at gtkimmulticontext.c line 316
  • #33 IA__gtk_im_context_filter_keypress
    at gtkimcontext.c line 317
  • #34 key_press_event
    at gtkhtml.c line 908
  • #35 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #36 g_type_class_meta_marshal
    at gclosure.c line 567
  • #37 IA__g_closure_invoke
    at gclosure.c line 490
  • #38 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #39 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #40 IA__g_signal_emit
    at gsignal.c line 2241
  • #41 gtk_widget_event_internal
    at gtkwidget.c line 3735
  • #42 IA__gtk_window_propagate_key_event
    at gtkwindow.c line 4517
  • #43 gtk_window_key_press_event
    at gtkwindow.c line 4547
  • #44 bonobo_window_key_press_event
    at bonobo-window.c line 267
  • #45 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #46 g_type_class_meta_marshal
    at gclosure.c line 567
  • #47 IA__g_closure_invoke
    at gclosure.c line 490
  • #48 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #49 IA__g_signal_emit_valist
  • #50 IA__g_signal_emit
    at gsignal.c line 2241
  • #51 gtk_widget_event_internal
    at gtkwidget.c line 3735
  • #52 IA__gtk_propagate_event
    at gtkmain.c line 2149
  • #53 IA__gtk_main_do_event
    at gtkmain.c line 1412
  • #54 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #55 IA__g_main_context_dispatch
    at gmain.c line 1916
  • #56 g_main_context_iterate
    at gmain.c line 2547
  • #57 IA__g_main_loop_run
    at gmain.c line 2751
  • #58 bonobo_main
    at bonobo-main.c line 312
  • #59 main
    at main.c line 603
  • #60 __libc_start_main
    at libc-start.c line 231
  • #61 _start

Comment 2 bill.haneman 2006-02-17 16:55:32 UTC
second one looks like a gtkhtml bug.
Comment 3 bill.haneman 2006-02-17 17:06:10 UTC
First problem doesn't look necessarily to be gail's fault - the warning is coming from glib, and the relevant gail code is just trying to get a weak reference from data that's already attached to 'obj'.  I don't see a gail logic problem here.
Comment 4 bill.haneman 2006-02-17 17:13:54 UTC
transferring to evolution, for investigation/fix of second issue.  Looks like a bad assertion in html component a11y support.
Comment 5 André Klapper 2006-02-17 19:47:57 UTC
changing to gtkhtml - i assume this is not gal ;-)
Comment 6 Harry Lu 2006-02-23 13:43:03 UTC
Created attachment 60001 [details] [review]
Patch to fix the critical assersion

The above patch should fix the problem
Comment 7 Kjartan Maraas 2006-02-24 10:01:02 UTC
I'll test this. Thanks.
Comment 8 Kjartan Maraas 2006-02-26 14:35:54 UTC
I can confirm that the second issue in here is fixed by Harry's patch.
Comment 9 Veerapuram Varadhan 2006-02-28 09:25:11 UTC
Harry's patch looks good to commit.  Approving it.. 
Comment 10 Harry Lu 2006-02-28 09:41:26 UTC
Patch committed into CVS. Thanks!
Comment 11 Kjartan Maraas 2006-02-28 19:20:04 UTC
I'll close this one and reopen with the other warning. Thanks.
Comment 12 Tobias Mueller 2009-03-08 21:06:48 UTC
*** Bug 332905 has been marked as a duplicate of this bug. ***