After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664629 - /gdbus/connection/signals test intermittently fails: assertion failed (count_name_owner_changed == 2): (1 == 2)
/gdbus/connection/signals test intermittently fails: assertion failed (count_...
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: gdbus
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-11-23 11:09 UTC by Simon McVittie
Modified: 2018-05-24 13:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simon McVittie 2011-11-23 11:09:06 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
Comment 1 David Zeuthen (not reading bugmail) 2011-11-23 14:33:48 UTC
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...)
Comment 2 GNOME Infrastructure Team 2018-05-24 13:31:55 UTC
-- 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.