3.4.3 test segfault on s390x
Following the 3.4.2 -> 3.4.3 update the installed tests started failing on Ubuntu mantic s390x https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/s390x/libs/libsoup3/20230916_030034_b1281@/log.gz
/usr/libexec/installed-tests/libsoup-3.0/connection-test
TAP version 13
# random seed: R02Sfe11b96b74e839f1387efe7ed107f6e2
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ‘gio-tls-backend’
# [5194.689658] enter apache_init
# Apache command: '/usr/sbin/apache2' '-d' '/usr/libexec/installed-tests/libsoup-3.0' '-f' 'httpd.conf' '-c' 'ErrorLog /home/ubuntu/libsoup/libsoup/error.log' '-c' 'PidFile /home/ubuntu/libsoup/libsoup/httpd.pid' '-k' 'start'
# -> success
# [5194.705006] leave apache_init
1..12
# Start of connection tests
# Bug Reference: https://bugzilla.gnome.org/611481
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
ok 1 /connection/content-length-framing
# Bug Reference: https://bugzilla.gnome.org/631525
ok 2 /connection/persistent-connection-timeout
ok 3 /connection/persistent-connection-timeout-with-cancellable
# Bug Reference: https://bugzilla.gnome.org/634422
# GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
not ok /connection/persistent-connection-timeout-with-cancellable - libsoup-FATAL-CRITICAL: soup_server_connection_disconnect: assertion 'SOUP_IS_SERVER_CONNECTION (conn)' failed
backtrace
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=5, no_tid=no_tid@entry=0) at pthread_kill.c:44
tid = 14181
ret = 0
pd = <optimized out>
old_mask = {__val = {4393751543819}}
ret = <optimized out>
#1 0x000003fff769e106 in __pthread_kill_internal (signo=5, threadid=<optimized out>) at pthread_kill.c:78
#2 0x000003fff764aa90 in __GI_raise (sig=5) at ../sysdeps/posix/raise.c:26
ret = <optimized out>
#3 0x000003fff7c699a8 in g_logv () at /lib/s390x-linux-gnu/libglib-2.0.so.0
#4 0x000003fff7c69c4a in g_log () at /lib/s390x-linux-gnu/libglib-2.0.so.0
#5 0x000003fff7c6cc74 in g_return_if_fail_warning () at /lib/s390x-linux-gnu/libglib-2.0.so.0
#6 0x000003fff7eaa3e4 in soup_server_connection_disconnect (conn=0x3fff001a920)
at ../libsoup/server/soup-server-connection.c:617
priv = 0x3f6980aab27d84
__func__ = "soup_server_connection_disconnect"
#7 0x000002aa00004286 in _start ()
git bisect shows the issue started in cad8cc38, reverting the commit restore working tests