Crash clearing GtkEntry icon tooltip
Steps to reproduce
- Call
gtk_entry_set_icon_tooltip_text()
with null or an empty string for the tooltip value.
Version information
GTK+ 3.22.30
Warnings
Atk: atk_object_set_description: assertion 'ATK_IS_OBJECT (accessible)' failed
Backtrace
Thread 1 "geary" received signal SIGTRAP, Trace/breakpoint trap.
_g_log_abort (breakpoint=breakpoint@entry=1) at ../../../../glib/gmessages.c:583
583 ../../../../glib/gmessages.c: No such file or directory.
(gdb) bt
#0 0x00007ffff6c2bc41 in _g_log_abort (breakpoint=breakpoint@entry=1) at ../../../../glib/gmessages.c:583
#1 0x00007ffff6c2cf2b in g_logv (log_domain=0x7fffeb143253 "Atk", log_level=G_LOG_LEVEL_CRITICAL, format=<optimised out>, args=args@entry=0x7fffffffc8d0)
at ../../../../glib/gmessages.c:1391
#2 0x00007ffff6c2d07f in g_log (log_domain=<optimised out>, log_level=<optimised out>, format=<optimised out>) at ../../../../glib/gmessages.c:1432
#3 0x00007ffff584ba9f in gtk_entry_accessible_notify_gtk (obj=0x555555f12450 [GtkEntry], pspec=0x55555653c2d0 [GParamString]) at ../../../../gtk/a11y/gtkentryaccessible.c:607
#7 0x00007ffff6f1be0f in <emit signal notify:secondary-icon-tooltip-text on instance 0x555555f12450 [GtkEntry]> (instance=instance@entry=0x555555f12450, signal_id=<optimised out>, detail=<optimised out>) at ../../../../gobject/gsignal.c:3447
#4 0x00007ffff6efff6d in g_closure_invoke (closure=0x555558cd8510, return_value=0x0, n_param_values=2, param_values=0x7fffffffcbb0, invocation_hint=0x7fffffffcb30)
at ../../../../gobject/gclosure.c:804
#5 0x00007ffff6f12d3e in signal_emit_unlocked_R (node=node@entry=0x555555d9c390, detail=detail@entry=1997, instance=instance@entry=0x555555f12450, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffcbb0) at ../../../../gobject/gsignal.c:3635
#6 0x00007ffff6f1b3f5 in g_signal_emit_valist (instance=<optimised out>, signal_id=<optimised out>, detail=<optimised out>, var_args=var_args@entry=0x7fffffffcd80)
at ../../../../gobject/gsignal.c:3391
#8 0x00007ffff6f04424 in g_object_dispatch_properties_changed (object=0x555555f12450 [GtkEntry], n_pspecs=<optimised out>, pspecs=<optimised out>)
at ../../../../gobject/gobject.c:1082
#9 0x00007ffff6f06969 in g_object_notify_by_spec_internal (pspec=0x55555653c2d0 [GParamString], object=0x555555f12450 [GtkEntry]) at ../../../../gobject/gobject.c:1175
#10 0x00007ffff6f06969 in g_object_notify_by_pspec (object=0x555555f12450 [GtkEntry], pspec=0x55555653c2d0 [GParamString]) at ../../../../gobject/gobject.c:1285
#11 0x00005555556fc173 in components_validator_update_state (self=0x55555918f860 [ComponentsEmailValidator], state=COMPONENTS_VALIDATOR_VALIDITY_VALID)
at /home/mjg/Projects/GNOME/geary/src/client/components/components-validator.vala:201
[snip]
The bottom-most frame is a call to gtk_entry_set_icon_tooltip_text(entry, GTK_ENTRY_ICON_SECONDARY, null)
, same thing happens if the last arg is the empty string.