3.32.0: test suite fails with core dump
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
/usr/lib/python3.8/site-packages/mesonbuild/dependencies/base.py:1979: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if os.name is not 'nt':
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/gnome-color-manager-3.32.0/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/1 gcm-self-test FAIL 0.57 s (killed by signal 11 SIGSEGV)
Ok: 0
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
The output from the failed tests:
1/1 gcm-self-test FAIL 0.57 s (killed by signal 11 SIGSEGV)
--- command ---
/home/tkloczko/rpmbuild/BUILD/gnome-color-manager-3.32.0/x86_64-redhat-linux-gnu/src/gcm-self-test
--- stdout ---
# random seed: R02S2a41f4ccf366d1c0099809ef5c29e09a
1..3
# Start of color tests
-------
$ coredumpctl gdb /home/tkloczko/rpmbuild/BUILD/gnome-color-manager-3.32.0/x86_64-redhat-linux-gnu/src/gcm-self-test
PID: 131321 (gcm-self-test)
UID: 1000 (tkloczko)
GID: 1000 (tkloczko)
Signal: 11 (SEGV)
Timestamp: Sun 2019-09-08 07:30:59 BST (1min 50s ago)
Command Line: /home/tkloczko/rpmbuild/BUILD/gnome-color-manager-3.32.0/x86_64-redhat-linux-gnu/src/gcm-self-test
Executable: /home/tkloczko/rpmbuild/BUILD/gnome-color-manager-3.32.0/x86_64-redhat-linux-gnu/src/gcm-self-test
Control Group: /user.slice/user-1000.slice/session-36.scope
Unit: session-36.scope
Slice: user-1000.slice
Session: 36
Owner UID: 1000 (tkloczko)
Boot ID: 9ff40153c60f434f8248a9354970fdb7
Machine ID: ddd9adc076fd4480afcea67383c00b78
Hostname: barrel
Storage: /var/lib/systemd/coredump/core.gcm-self-test.1000.9ff40153c60f434f8248a9354970fdb7.131321.1567924259000000000000.lz4
Message: Process 131321 (gcm-self-test) of user 1000 dumped core.
Stack trace of thread 131321:
#0 0x00007f9839962450 gdk_monitor_get_scale_factor (libgdk-3.so.0)
#1 0x00007f9839a85958 gtk_window_init (libgtk-3.so.0)
#2 0x00007f98395694c1 g_type_create_instance (libgobject-2.0.so.0)
#3 0x00007f983958437d g_object_new_internal (libgobject-2.0.so.0)
#4 0x00007f9839584f20 g_object_new_valist (libgobject-2.0.so.0)
#5 0x00007f98395858cd g_object_new (libgobject-2.0.so.0)
#6 0x00007f983a01cb78 cd_sample_window_new (libcolord-gtk.so.1)
#7 0x000056415fd04af9 n/a (/home/tkloczko/rpmbuild/BUILD/gnome-color-manager-3.32.0/x86_64-redhat-linux-gnu/src/gcm-self-test)
GNU gdb (GDB) Fedora 8.3.50.20190824-26.fc32
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/tkloczko/rpmbuild/BUILD/gnome-color-manager-3.32.0/x86_64-redhat-linux-gnu/src/gcm-self-test...
[New LWP 131321]
[New LWP 131323]
[New LWP 131324]
[New LWP 131322]
[New LWP 131325]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/home/tkloczko/rpmbuild/BUILD/gnome-color-manager-3.32.0/x86_64-redhat-linux-gn'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f9839962450 in gdk_monitor_get_scale_factor () from /lib64/libgdk-3.so.0
[Current thread is 1 (Thread 0x7f9838357a40 (LWP 131321))]
Missing separate debuginfos, use: dnf debuginfo-install at-spi2-atk-2.33.92-2.fc32.x86_64 at-spi2-core-2.33.92-2.fc32.x86_64 atk-2.33.3-3.fc32.x86_64 bzip2-libs-1.0.8-2.fc32.x86_64 cairo-1.16.0-7.fc32.x86_64 cairo-gobject-1.16.0-7.fc32.x86_64 colord-gtk-0.2.0-3.fc32.x86_64 dbus-libs-1.12.16-3.fc31.x86_64 dconf-0.33.2-2.fc32.x86_64 fontconfig-2.13.92-3.fc32.x86_64 freetype-2.10.1-2.fc32.x86_64 fribidi-1.0.5-4.fc32.x86_64 gdk-pixbuf2-2.39.2-2.fc32.x86_64 glib2-2.62.0-2.fc32.x86_64 glibc-2.30.9000-4.fc32.x86_64 graphite2-1.3.13-1.fc32.x86_64 gtk3-3.24.11-2.fc32.x86_64 gvfs-client-1.41.91-1.fc31.x86_64 harfbuzz-2.6.1-2.fc32.x86_64 lcms2-2.9-7.fc32.x86_64 libX11-1.6.8-4.fc32.x86_64 libXau-1.0.9-3.fc32.x86_64 libXcomposite-0.4.4-18.fc32.x86_64 libXcursor-1.2.0-2.fc32.x86_64 libXdamage-1.1.4-18.fc32.x86_64 libXext-1.3.4-3.fc32.x86_64 libXfixes-5.0.3-11.fc32.x86_64 libXi-1.7.10-3.fc32.x86_64 libXinerama-1.1.4-5.fc32.x86_64 libXrender-0.9.10-11.fc32.x86_64 libblkid-2.34-3.fc32.x86_64 libdatrie-0.2.12-2.fc32.x86_64 libepoxy-1.5.3-5.fc32.x86_64 libffi-3.2.1-2.2.fc32.x86_64 libgcc-9.2.1-1.fc32.x86_64 libgcrypt-1.8.4-5.fc32.x86_64 libjpeg-turbo-2.0.2-5.fc32.x86_64 libmount-2.34-3.fc32.x86_64 libpng-1.6.37-3.fc32.x86_64 libselinux-2.9-6.fc32.x86_64 libthai-0.1.28-4.fc32.x86_64 libtiff-4.0.10-7.fc32.x86_64 libwayland-client-1.17.0-3.fc32.x86_64 libwayland-egl-1.17.0-3.fc32.x86_64 libxcb-1.13.1-4.fc32.x86_64 libxml2-2.9.9-4.fc32.x86_64 pango-1.44.6-2.fc32.x86_64 pcre2-10.33-12.fc32.x86_64 pixman-0.38.4-2.fc32.x86_64 systemd-libs-243~rc2-2.fc32.x86_64 xz-libs-5.2.4-8.fc32.x86_64 zlib-1.2.11-19.fc32.x86_64
(gdb) bt full
#0 0x00007f9839962450 in gdk_monitor_get_scale_factor () at /lib64/libgdk-3.so.0
#1 0x00007f9839a85958 in gtk_window_init () at /lib64/libgtk-3.so.0
#2 0x00007f98395694c1 in g_type_create_instance () at /lib64/libgobject-2.0.so.0
#3 0x00007f983958437d in g_object_new_internal () at /lib64/libgobject-2.0.so.0
#4 0x00007f9839584f20 in g_object_new_valist () at /lib64/libgobject-2.0.so.0
#5 0x00007f98395858cd in g_object_new () at /lib64/libgobject-2.0.so.0
#6 0x00007f983a01cb78 in cd_sample_window_new () at /lib64/libcolord-gtk.so.1
#7 0x000056415fd04af9 in gcm_calibrate_init (calibrate=<optimized out>) at ../src/gcm-calibrate.c:1337
priv = 0x5641609c2020
#8 0x00007f98395694fd in g_type_create_instance () at /lib64/libgobject-2.0.so.0
#9 0x00007f983958437d in g_object_new_internal () at /lib64/libgobject-2.0.so.0
#10 0x00007f9839585725 in g_object_new_with_properties () at /lib64/libgobject-2.0.so.0
#11 0x00007f98395858f1 in g_object_new () at /lib64/libgobject-2.0.so.0
#12 0x000056415fd07529 in gcm_calibrate_new () at ../src/gcm-calibrate.c:1376
calibrate = <optimized out>
ret = <optimized out>
error = 0x0
calibrate = 0x0
model = 0x0
manufacturer = 0x0
__func__ = "gcm_test_calibrate_func"
#13 gcm_test_calibrate_func () at ../src/gcm-self-test.c:79
ret = <optimized out>
error = 0x0
calibrate = 0x0
model = 0x0
manufacturer = 0x0
__func__ = "gcm_test_calibrate_func"
#14 0x00007f983946f96e in g_test_run_suite_internal () at /lib64/libglib-2.0.so.0
#15 0x00007f983946f714 in g_test_run_suite_internal () at /lib64/libglib-2.0.so.0
#16 0x00007f983946fe5a in g_test_run_suite () at /lib64/libglib-2.0.so.0
#17 0x00007f983946fe75 in g_test_run () at /lib64/libglib-2.0.so.0
#18 0x000056415fd02c4d in main (argc=<optimized out>, argv=<optimized out>) at ../src/gcm-self-test.c:385
(gdb)