GNOME Bugzilla – Bug 664629
/gdbus/connection/signals test intermittently fails: assertion failed (count_name_owner_changed == 2): (1 == 2)
Last modified: 2018-05-24 13:31:55 UTC
While trying to reproduce Bug #662395 I ran gdbus-connection 50 times in a loop. Two consecutive runs failed with: TEST: /home/smcv/build/glib/debug/gio/tests/.libs/lt-gdbus-connection... (pid=27769) /gdbus/connection/basic: OK /gdbus/connection/life-cycle: OK /gdbus/connection/send: OK /gdbus/connection/signals: ** ERROR:/home/smcv/src/gnome/glib/gio/tests/gdbus-connection.c:697:test_connection_signals: assertion failed (count_name_owner_changed == 2): (1 == 2) FAIL
If it helps, one observation is that half the time I run into bugs like this, it's with the test suite and not the code. So might be helpful to check the test-suite as well. (FWIW, last time I hacked on this code running 'while true; do ./gdbus-connection; done' for an hour or so (left it running while having launch) didn't cause any hickups. But that's several months and bug-fixes ago and with a different combination of glib2, kernel, glibc, libdbus and dbus-daemon...)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/480.