! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Keyboard application shortcut executes twice when system is under heavy load
Status:
RESOLVED: MOVED
Product:
Xfce4-settings
Component:
Xfsettingsd

Comments

Description Dave Ulrick 2019-04-22 20:20:35 CEST
I have a keyboard application shortcut defined to run a shell script that brings up four SSH sessions like this:

xfce4-terminal -e "ssh host1"
xfce4-terminal -e "ssh host2"
xfce4-terminal -e "ssh host3"
xfce4-terminal -e "ssh host4"

When I press the keyboard shortcut, four terminal windows are opened if the system is lightly loaded, but if the system is under heavy load eight terminal windows are opened. There are two instances of each host of the four hosts: two instances of host1, etc.. It is as though my shell script is executed twice.

I also see the same behavior when I type an application shortcut that launches just one SSH session:

xfce4-terminal -e "ssh host1"

When I press the shortcut keys under light load, one session is opened, but under heavy load two sessions are opened.

In either use case it appears as though the action associated with my application shortcut is taken twice if the system was under heavy load such as disk I/O.
Comment 1 Theo Linkspfeifer editbugs 2019-07-28 11:03:17 CEST
Would you be able to test with version 4.13.x or the soon to be released 4.14?
Comment 2 Dave Ulrick 2019-07-30 16:54:31 CEST
I'm running Fedora 29 which is shipping XFCE 4.12. All of the systems that have exhibited the issue are production desktops so I'd rather not install test releases on them. 

I am willing to install a VM to run XFCE 4.13 or 4.14. However, the issue occurs on my XFCE 4.12 systems only very rarely when the system is under exceptionally heavy load, so I'm not sure how I could recreate the issue in a VM environment unless you can suggest a good way to simulate a high load.
Comment 3 Theo Linkspfeifer editbugs 2019-07-31 12:32:53 CEST
It looks like Fedora does have xfce4-settings 4.13.5, see:
https://fedora.pkgs.org/29/fedora-updates-x86_64/xfce4-settings-4.13.5-2.fc29.x86_64.rpm.html

I am not familiar with the source code, but I can try to reproduce this bug and maybe debug it.
Comment 4 Theo Linkspfeifer editbugs 2020-01-30 20:00:48 CET
Any news? Is the current Fedora release affected by this bug?
Comment 5 Dave Ulrick 2020-01-30 20:23:39 CET
I upgraded to Fedora 30 after creating the ticket. I've experienced the bug symptoms on several occasions with Fedora 30. Most recently, while the system was under heavy load I pressed a global key that was assigned to a script that creates one xfce4-terminal session that ssh's to a remote Linux host. Right after the load subsided, two terminal sessions appeared, both ssh'd to the same remote Linux host.
Comment 6 Theo Linkspfeifer editbugs 2020-01-31 00:22:25 CET
I used the command "yes > /dev/null" several times to max out all CPU cores. The bug did not occur. Is heavy disk I/O utilization needed also?

Note that with the following command it is possible to obtain debug information:
$ XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon
Comment 7 Dave Ulrick 2020-01-31 01:07:07 CET
Yes, there's always been heavy disk I/O when the issue has occurred.
Comment 8 Git Bot editbugs 2020-05-28 23:12:32 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org'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.xfce.org/xfce/xfce4-settings/-/issues/129.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15315

Reported by:
Dave Ulrick
Reported on: 2019-04-22
Last modified on: 2020-05-28

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
4.12.1

Attachments

Additional information