[4.14] a11y/text and textview tests failing on i386
Trying to build the new 4.13.8 on Ubuntu we are seeing those tests fail on armhf and i386 which seems it might be a new issue since 4.13.6 (or they are flaky and we were lucky in the previous build)
and local testing
backtrace (had the wrong environment variables set, so probably not useful)
# ./testsuite/a11y/text --tap -k
TAP version 13
# random seed: R02S211072f3ba49a440dc790f3895d920c8
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1..1
# Start of a11y tests
# Start of text tests
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
not ok /a11y/text/accessible-text - GLib-GObject-FATAL-CRITICAL: ../../../gobject/gsignal.c:2625: signal 'update-caret-position' is invalid for instance '0x3750d40' of type 'GtkAtSpiContext'
Bail out!
Trace/breakpoint trap (core dumped)
#0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
#1 0xf75bf514 in __pthread_kill_implementation (threadid=4151253184, signo=signo@entry=5, no_tid=no_tid@entry=0)
at pthread_kill.c:43
_a1 = 0
_a3tmp = 5
_a1tmp = 0
_a3 = 5
_nametmp = 268
_a2tmp = 91579
_a2 = 91579
_name = 268
tid = 91579
ret = <optimized out>
pd = 0xf76f18c0
old_mask = {__val = {4160469892, 8}}
ret = <optimized out>
#2 0xf75bf558 in __pthread_kill_internal (signo=5, threadid=<optimized out>) at pthread_kill.c:78
#3 0xf758e2b6 in __GI_raise (sig=sig@entry=5) at ../sysdeps/posix/raise.c:26
ret = <optimized out>
#4 0xf7f16efa in _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:556
debugger_present = 1
debugger_present = <optimized out>
#5 g_logv
(log_domain=0xf7ec1320 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0xfffeef9c "dW\354\367\374\377z", args=..., args@entry=...) at ../../../glib/gmessages.c:1419
domain = 0x0
data = <optimized out>
depth = <optimized out>
log_func = <optimized out>
domain_fatal_mask = <optimized out>
masquerade_fatal = 0
test_level = 10
was_fatal = 0
was_recursion = 0
buffer = {<optimized out> <repeats 1025 times>}
msg_alloc = 0x2348668 "../../../gobject/gsignal.c:2625: signal 'update-caret-position' is invalid for instance '0x233fe80' of type 'GtkAtSpiContext'"
msg = 0x2348668 "../../../gobject/gsignal.c:2625: signal 'update-caret-position' is invalid for instance '0x233fe80' of type 'GtkAtSpiContext'"
i = 3
size = <optimized out>
#6 0xf7f170a6 in g_log
(log_domain=<optimized out>, log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=0xf7ec4dd4 "%s: signal '%s' is invalid for instance '%p' of type '%s'") at ../../../glib/gmessages.c:1461
args = {__ap = 0xfffeef9c}
#7 0xf7eb0788 in g_signal_connect_data
(instance=instance@entry=0x233fe80, detailed_signal=0x7afffc "update-caret-position", c_handler=0x47e239 <update_caret_pos>, data=data@entry=0xfffef048, destroy_data=destroy_data@entry=0x0, connect_flags=connect_flags@entry=G_CONNECT_DEFAULT)
at ../../../gobject/gsignal.c:2624
signal_id = <optimized out>
handler_seq_no = 0
detail = <optimized out>
itype = 0x2357378 [GtkAtSpiContext/GtkATContext]
swapped = 0
after = 0
__func__ = "g_signal_connect_data"
#8 0x0047e2c6 in test_text_accessible_text () at ../../../testsuite/a11y/text.c:96
text = 0x231ae88 [GtkText]
bytes = <optimized out>
len = 4159828261
res = <optimized out>
n_ranges = 0
ranges = 0x0
attr_names = 0xf7fbc93c <seedstr>
attr_values = 0xf7f2c075 <test_run_seed+252>
string = <optimized out>
attrs = <optimized out>
attr = <optimized out>
context = 0x233fe80 [GtkAtSpiContext]
td = {update_caret_pos_count = 0, caret_pos = 0, update_selection_bound_count = 0, update_text_contents_count = 0, change = GTK_ACCESSIBLE_TEXT_CONTENT_CHANGE_INSERT, start = 0, end = 0, contents = 0x0}
__func__ = "test_text_accessible_text"
#9 0xf7f2f256 in test_case_run (tc=0x2308e58) at ../../../glib/gtestutils.c:3161
local_error = 0x0
test_run_timer = 0x230cde0
largs = {-nan(0xef1501c000000), 8.6316525695816058e-305, -6.165231521593854e+269}
fixture = 0x0
old_base = 0x0
old_free_list = 0x0
filename_free_list = 0x0
success = 0
old_base = <optimized out>
old_free_list = <optimized out>
filename_free_list = <optimized out>
success = <optimized out>
test_run_timer = <optimized out>
largs = {<optimized out>, <optimized out>, <optimized out>}
fixture = <optimized out>
_pp = <optimized out>
_ptr = <optimized out>
local_error = <optimized out>
dentry = <optimized out>
_pp = <optimized out>
_ptr = <optimized out>
#10 g_test_run_suite_internal (suite=suite@entry=0x230cad0, path=path@entry=0x0) at ../../../glib/gtestutils.c:3256
tc = 0x2308e58
n_bad = 0
old_name = 0xce4e00 "/a11y/text"
old_name_path = 0xce4e88 "a11y/text"
iter = 0x230e2a8 = {0x2308e58}
__func__ = "g_test_run_suite_internal"
#11 0xf7f2f3e8 in g_test_run_suite_internal (suite=suite@entry=0x230cea0, path=path@entry=0x0)
at ../../../glib/gtestutils.c:3275
ts = 0x230cad0
n_bad = 0
old_name = 0xc93688 "/a11y"
old_name_path = 0xce4d78 "a11y"
iter = 0x230e590 = {0x230cad0}
__func__ = "g_test_run_suite_internal"
#12 0xf7f2f3e8 in g_test_run_suite_internal (suite=suite@entry=0xca0598, path=path@entry=0x0)
at ../../../glib/gtestutils.c:3275
ts = 0x230cea0
n_bad = 0
old_name = 0x230deb0 "/"
old_name_path = 0x23094b0 ""
iter = 0x230cf98 = {0x230cea0}
__func__ = "g_test_run_suite_internal"
#13 0xf7f2f7ae in g_test_run_suite (suite=suite@entry=0xca0598) at ../../../glib/gtestutils.c:3355
n_bad = 0
__func__ = "g_test_run_suite"
#14 0xf7f2f826 in g_test_run () at ../../../glib/gtestutils.c:2462
ret = <optimized out>
suite = 0xca0598
#15 0x0047e072 in main (argc=<optimized out>, argv=<optimized out>) at ../../../testsuite/a11y/text.c:175
Edited by Simon McVittie