GNOME Bugzilla – Bug 771026
test-suite failures: pixbuf-composite segfaults
Last modified: 2016-09-08 20:50:11 UTC
Version: 2.35.4 On all architectures but amd64, the test suite fails on the debian buildds: https://buildd.debian.org/status/package.php?p=gdk-pixbuf The failing test is pixbuf-composite. on i386 ~~~~~~~ ERROR: pixbuf-composite ======================= ** GLib:ERROR:/build/glib2.0-E8y2Xu/glib2.0-2.49.6/./glib/gtestutils.c:3361:g_test_build_filename_va: assertion failed (num_path_segments < G_N_ELEMENTS (pathv)): (16 < 16) Aborted # random seed: R02Sc22c9ad260066d3d905a7b2bba549525 1..2 # Start of pixbuf tests ok 1 /pixbuf/composite1 PASS: pixbuf-composite 1 /pixbuf/composite1 # GLib:ERROR:/build/glib2.0-E8y2Xu/glib2.0-2.49.6/./glib/gtestutils.c:3361:g_test_build_filename_va: assertion failed (num_path_segments < G_N_ELEMENTS (pathv)): (16 < 16) ERROR: pixbuf-composite - too few tests run (expected 2, got 1) ERROR: pixbuf-composite - exited with status 134 (terminated by signal 6?) on other architectures the error message is either ERROR: pixbuf-composite ======================= Segmentation fault # random seed: R02S293522ca89fc2a50484a30df9f6d1cf1 1..2 # Start of pixbuf tests ok 1 /pixbuf/composite1 PASS: pixbuf-composite 1 /pixbuf/composite1 ERROR: pixbuf-composite - too few tests run (expected 2, got 1) ERROR: pixbuf-composite - exited with status 139 (terminated by signal 11?) or ERROR: pixbuf-composite ======================= Bus error # random seed: R02S3e863db864e9dcb08b52712a225e242b 1..2 # Start of pixbuf tests ok 1 /pixbuf/composite1 PASS: pixbuf-composite 1 /pixbuf/composite1 ERROR: pixbuf-composite - too few tests run (expected 2, got 1) ERROR: pixbuf-composite - exited with status 138 (terminated by signal 10?)
Created attachment 335131 [details] [review] Make sure to NULL terminate the arguments passed to g_test_get_filename()
Since the fix is rather obvious, I just went ahead and pushed it as commit 89a7a851042f2706e8e7e27da6e4bfb08717430f