resources icon indicating copy to clipboard operation
resources copied to clipboard

Comparison method violates its general contract

Open luyatshimbalanga opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I searched the existing issues and did not find anything similar.

Current Behavior

According to journalctl report from resuming a session: May 20 14:20:55 resources[5584]: Comparison method violates its general contract

Expected Behavior

That message should not be visible meaning resources should honour its general contract.

Steps To Reproduce

  1. Start Resources application
  2. From a terminal, check the status through 'journalctl -r --user' command

Environment

Program Version: 1.4.0
Package Type: RPM
System: Fedora Linux 40 (Design Suite)

## Hardware Information:
- **Hardware Model:**                              ASUSTeK COMPUTER INC. PRIME X570-PRO
- **Memory:**                                      64.0 GiB
- **Processor:**                                   AMD Ryzen™ 9 5900X × 24
- **Graphics:**                                    AMD Radeon™ RX 6950 XT

Anything else?

journalctl --user -r --no-hostname | grep resources
May 20 14:20:55 resources[5584]: Comparison method violates its general contract
May 19 22:08:56 resources[5584]: Comparison method violates its general contract
May 19 00:43:13 resources[5584]: Comparison method violates its general contract
May 18 14:49:44 resources[5584]: Comparison method violates its general contract
May 18 01:52:30 systemd[2837]: app-gnome-user\x2ddirs\x2dupdate\x2dgtk-3475.scope: Failed with result 'resources'.
May 18 01:52:30 systemd[2837]: app-gnome-snap\x2duserd\x2dautostart-3549.scope: Failed with result 'resources'.
May 18 01:52:30 systemd[2837]: app-gnome-xdg\x2duser\x2ddirs-3130.scope: Failed with result 'resources'.
May 18 01:52:30 systemd[2837]: app-gnome-gnome\x2dkeyring\x2dssh-3116.scope: Failed with result 'resources'.
May 18 01:52:30 systemd[2837]: app-gnome-gnome\x2dkeyring\x2dsecrets-3111.scope: Failed with result 'resources'.
May 18 01:52:30 systemd[2837]: app-gnome-gnome\x2dkeyring\x2dpkcs11-3120.scope: Failed with result 'resources'.
May 18 01:50:56 resources[7626]: Error reading events from display: Broken pipe
May 18 00:35:56 systemd[2704]: app-gnome-user\x2ddirs\x2dupdate\x2dgtk-3345.scope: Failed with result 'resources'.
May 18 00:35:56 systemd[2704]: app-gnome-gnome\x2dkeyring\x2dssh-3003.scope: Failed with result 'resources'.
May 18 00:35:56 systemd[2704]: app-gnome-gnome\x2dkeyring\x2dsecrets-2993.scope: Failed with result 'resources'.
May 18 00:35:56 systemd[2704]: app-gnome-gnome\x2dkeyring\x2dpkcs11-3005.scope: Failed with result 'resources'.
May 18 00:10:17 systemd[2705]: app-gnome-user\x2ddirs\x2dupdate\x2dgtk-3322.scope: Failed with result 'resources'.
May 18 00:10:16 systemd[2705]: app-gnome-xdg\x2duser\x2ddirs-2998.scope: Failed with result 'resources'.
May 18 00:10:16 systemd[2705]: app-gnome-gnome\x2dkeyring\x2dssh-2979.scope: Failed with result 'resources'.
May 18 00:10:16 systemd[2705]: app-gnome-gnome\x2dkeyring\x2dsecrets-2975.scope: Failed with result 'resources'.
May 17 23:59:40 systemd[2661]: app-gnome-snap\x2duserd\x2dautostart-3372.scope: Failed with result 'resources'.
May 17 23:59:39 systemd[2661]: app-gnome-gnome\x2dkeyring\x2dssh-2943.scope: Failed with result 'resources'.
May 17 23:59:39 systemd[2661]: app-gnome-gnome\x2dkeyring\x2dsecrets-2940.scope: Failed with result 'resources'.
May 17 23:53:12 systemd[2643]: app-gnome-user\x2ddirs\x2dupdate\x2dgtk-3267.scope: Failed with result 'resources'.
May 17 23:53:12 systemd[2643]: app-gnome-snap\x2duserd\x2dautostart-3344.scope: Failed with result 'resources'.
May 17 23:53:12 systemd[2643]: app-gnome-gnome\x2dkeyring\x2dssh-2919.scope: Failed with result 'resources'.
May 17 23:53:12 systemd[2643]: app-gnome-gnome\x2dkeyring\x2dsecrets-2915.scope: Failed with result 'resources'.
May 17 23:43:07 systemd[2607]: app-gnome-user\x2ddirs\x2dupdate\x2dgtk-3259.scope: Failed with result 'resources'.
May 17 23:43:07 systemd[2607]: app-gnome-snap\x2duserd\x2dautostart-3326.scope: Failed with result 'resources'.
May 17 23:43:06 systemd[2607]: app-gnome-xdg\x2duser\x2ddirs-2909.scope: Failed with result 'resources'.
May 17 23:43:06 systemd[2607]: app-gnome-gnome\x2dkeyring\x2dssh-2890.scope: Failed with result 'resources'.
May 17 23:43:06 systemd[2607]: app-gnome-gnome\x2dkeyring\x2dsecrets-2884.scope: Failed with result 'resources'.
May 17 23:43:06 systemd[2607]: app-gnome-gnome\x2dkeyring\x2dpkcs11-2897.scope: Failed with result 'resources'.
May 16 18:52:45 systemd[2968]: app-gnome-user\x2ddirs\x2dupdate\x2dgtk-3611.scope: Failed with result 'resources'.
May 16 18:52:45 systemd[2968]: app-gnome-snap\x2duserd\x2dautostart-3693.scope: Failed with result 'resources'.
May 16 18:52:44 systemd[2968]: app-gnome-gnome\x2dkeyring\x2dssh-3256.scope: Failed with result 'resources'.
May 16 18:52:44 systemd[2968]: app-gnome-gnome\x2dkeyring\x2dsecrets-3253.scope: Failed with result 'resources'.
May 16 18:52:44 systemd[2968]: app-gnome-gnome\x2dkeyring\x2dpkcs11-3258.scope: Failed with result 'resources'.
May 16 15:25:37 systemd[2948]: app-gnome-gnome\x2dkeyring\x2dssh-3282.scope: Failed with result 'resources'.
May 16 15:25:37 systemd[2948]: app-gnome-gnome\x2dkeyring\x2dsecrets-3280.scope: Failed with result 'resources'.
May 16 15:25:37 systemd[2948]: app-gnome-gnome\x2dkeyring\x2dpkcs11-3285.scope: Failed with result 'resources'.

luyatshimbalanga avatar May 20 '24 21:05 luyatshimbalanga

Hi, thanks for the issue. I could reproduce it somewhat (it just happens sometimes), though I have absolutely no clue where it comes from (I only know that it's a GTK thing) and I also haven't seen any unexpected behavior when that happens.

nokyan avatar May 24 '24 17:05 nokyan