4.13.6 - gsk/curve and curve-special-cases test fails on on armhf and i386
Trying to build gtk 4.13.6 on Ubuntu Noble some tests are failing on armhf and i386
$ testsuite/gsk/curve
TAP version 13
# random seed: R02Sca631b667c209df59fdf68792d329851
1..9
# Start of curve tests
**
ERROR:../../../gsk/gskpathopprivate.h:67:gsk_pathop_encode: assertion failed: ((GPOINTER_TO_SIZE (pts) & GSK_PATHOP_OPERATION_MASK) == 0)
not ok /curve/points - ERROR:../../../gsk/gskpathopprivate.h:67:gsk_pathop_encode: assertion failed: ((GPOINTER_TO_SIZE (pts) & GSK_PATHOP_OPERATION_MASK) == 0)
Bail out!
Aborted (core dumped)
Backtrace from gdb
#3 0xf7c7b2b6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
ret = <optimized out>
#4 0xf7c6c26c in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20}, sa_mask = {__val = {0, 4288520, 4153027200, 2, 161, 1, 4157309317, 4294897664, 4159892495, 4326784, 4328152, 4294897664, 4159902521, 4327400, 4288520, 4153027200, 1, 4326952, 0, 2701131776, 4157309317, 4326952, 0, 0, 4288520, 4153027200, 2, 4271176, 4326864, 4294897772, 4157309317, 4294967040}}, sa_flags = 4326952, sa_restorer = 0x420628}
#5 0xf7f339d0 in g_assertion_message
(domain=domain@entry=0x0, file=file@entry=0x412c48 "../../../gsk/gskpathopprivate.h", line=line@entry=67, func=func@entry=0x413a8c <__func__.8> "gsk_pathop_encode", message=message@entry=0x4205d0 "assertion failed: ((GPOINTER_TO_SIZE (pts) & GSK_PATHOP_OPERATION_MASK) == 0)") at ../../../glib/gtestutils.c:3497
lstr = "67\000\367\250\360\376\377\260\360\376\377grap\017\317\362\367\260\360\376\377\000\316Ԉ\000\000\000"
s = 0xf78a2580 ""
#6 0xf7f33a4c in g_assertion_message_expr
(domain=domain@entry=0x0, file=0x412c48 "../../../gsk/gskpathopprivate.h", line=line@entry=67, func=0x413a8c <__func__.8> "gsk_pathop_encode", expr=0x412c68 "(GPOINTER_TO_SIZE (pts) & GSK_PATHOP_OPERATION_MASK) == 0") at ../../../glib/gtestutils.c:3523
s = 0x4205d0 "assertion failed: ((GPOINTER_TO_SIZE (pts) & GSK_PATHOP_OPERATION_MASK) == 0)"
#7 0x00403864 in gsk_pathop_encode (pts=0xfffef0dc, op=GSK_PATH_LINE) at ../../../gsk/gskpathopprivate.h:67
__func__ = "gsk_pathop_encode"
_g_boolean_var_10 = <optimized out>
#8 0x00403948 in gsk_pathop_encode (pts=<optimized out>, op=<optimized out>) at ../../../gsk/gskpathopprivate.h:67
__func__ = "gsk_pathop_encode"
_g_boolean_var_10 = <optimized out>
#9 init_random_curve_with_op (curve=curve@entry=0x4205d0, max_op=GSK_PATH_CONIC, min_op=GSK_PATH_LINE)
at ../../../testsuite/gsk/curve.c:24
p = {{x = 0, y = 0}, {x = 0, y = 0}}
__func__ = "init_random_curve_with_op"
#10 0x00404826 in init_random_curve (curve=0x4205d0) at ../../../testsuite/gsk/curve.c:72
#11 test_curve_points () at ../../../testsuite/gsk/curve.c:107
c = {op = 4159844169, line = {op = 4159844169, padding = 0, points = {{x = 3.50324616e-42, y = 5.60519386e-45}, {x = 6.05701732e-39, y = 5.60519386e-45}}}, quad = {op = 4159844169, has_coefficients = 0, points = {{x = 3.50324616e-42, y = 5.60519386e-45}, {x = 6.05701732e-39, y = 5.60519386e-45}, {x = -9.82431753e+33, y = 6.06052057e-39}}, coeffs = {{x = 6.05701732e-39, y = 5.60519386e-45}, {x = -nan(0x7ef1c0), y = -nan(0x7ef1ac)}, {x = -9.82447351e+33, y = 0}}}, cubic = {op = 4159844169, has_coefficients = 0, points = {{x = 3.50324616e-42, y = 5.60519386e-45}, {x = 6.05701732e-39, y = 5.60519386e-45}, {x = -9.82431753e+33, y = 6.06052057e-39}, {x = 6.05701732e-39, y = 5.60519386e-45}}, coeffs = {{x = -nan(0x7ef1c0), y = -nan(0x7ef1ac)}, {x = -9.82447351e+33, y = 0}, {x = 0, y = -1.02237977e+34}, {x = -9.85732349e+33, y = 4.87320845e-37}}}, conic = {op = 4159844169, has_coefficients = 0, points = {{x = 3.50324616e-42, y = 5.60519386e-45}, {x = 6.05701732e-39, y = 5.60519386e-45}, {x = -9.82431753e+33, y = 6.06052057e-39}, {x = 6.05701732e-39, y = 5.60519386e-45}}, num = {{x = -nan(0x7ef1c0), y = -nan(0x7ef1ac)}, {x = -9.82447351e+33, y = 0}, {x = 0, y = -1.02237977e+34}}, denom = {{x = -9.85732349e+33, y = 4.87320845e-37}, {x = -nan(0x7ef1c8), y = -2.27698537e-17}, {x = -4.95217232e-26, y = -7.529931e-17}}}}
p = {x = -1.02237011e+34, y = 3.15617536e-38}
i = <optimized out>
__func__ = "test_curve_points"
#12 0xf7f33256 in test_case_run (tc=0x4202e0) at ../../../glib/gtestutils.c:3161
local_error = 0x0
test_run_timer = 0x420590
largs = {-nan(0xef2b018000000), 1.9611994396190135e-307, -6.2477775040466111e+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>
#13 g_test_run_suite_internal (suite=suite@entry=0x420320, path=path@entry=0x0) at ../../../glib/gtestutils.c:3256
tc = 0x4202e0
n_bad = 0
old_name = 0x41a158 "/curve"
old_name_path = 0x41a0d0 "curve"
iter = 0x420360 = {0x4202e0, 0x420370, 0x4203b0, 0x4203f0, 0x420410, 0x420458, 0x4204a0, 0x4204f0, 0x420530}
__func__ = "g_test_run_suite_internal"
#14 0xf7f333e8 in g_test_run_suite_internal (suite=suite@entry=0x41f470, path=path@entry=0x0) at ../../../glib/gtestutils.c:3275
ts = 0x420320
n_bad = 0
old_name = 0x4204c0 "/"
old_name_path = 0x41a1e0 ""
iter = 0x420340 = {0x420320}
__func__ = "g_test_run_suite_internal"
#15 0xf7f337ae in g_test_run_suite (suite=suite@entry=0x41f470) at ../../../glib/gtestutils.c:3355
n_bad = 0
__func__ = "g_test_run_suite"
#16 0xf7f33826 in g_test_run () at ../../../glib/gtestutils.c:2462
ret = <optimized out>
suite = 0x41f470
#17 0x00403492 in main (argc=<optimized out>, argv=<optimized out>) at ../../../testsuite/gsk/curve.c:415
curve-special-cases also hits a similar exception
/curve-special-cases
TAP version 13
# random seed: R02Sc2d7333a9e789174b481fe858f8b8d74
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
1..5
# Start of curve tests
# Start of special tests
**
ERROR:../../../gsk/gskpathopprivate.h:67:gsk_pathop_encode: assertion failed: ((GPOINTER_TO_SIZE (pts) & GSK_PATHOP_OPERATION_MASK) == 0)
not ok /curve/special/tangents - ERROR:../../../gsk/gskpathopprivate.h:67:gsk_pathop_encode: assertion failed: ((GPOINTER_TO_SIZE (pts) & GSK_PATHOP_OPERATION_MASK) == 0)
Bail out!
Aborted (core dumped)