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 444872 - Clever duplicate removal is not clever enough
Clever duplicate removal is not clever enough
Status: RESOLVED OBSOLETE
Product: gnome-session
Classification: Core
Component: gnome-session
git master
Other Linux
: Normal major
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-06 20:04 UTC by Josselin Mouette
Modified: 2020-10-30 14:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Josselin Mouette 2007-06-06 20:04:58 UTC
There is a problem with the clever duplicate removal code that was introduced in r4349 to fix bug#341286. Some applications are not removed why they should, which leads to some cases of session hanging.

For example, if epiphany appears twice with different arguments, only the first instance will really be launched. The second one will just exit after adding stuff to the first one, and this will lead to the session manager waiting hopelessly for it to register.

Of course such applications shouldn't appear twice in the session, but - don't ask me why - it happens. A case was reported with openbox, and there's another one that I couldn't identify yet. As openbox is the WM, the timeout occurs early in the login process, even before nautilus and gnome-panel are launched. See http://bugs.debian.org/425742 (although the real finding was done on IRC).

A good solution may be to make the session manager only wait for the first instance of an application when there are several ones.
Comment 1 André Klapper 2020-10-30 14:32:22 UTC
Assuming that this problem is obsolete nowadays. 

If you can still reproduce this problem with a recent version (currently: 3.38) of GNOME / gnome-session, then please report this at https://gitlab.gnome.org/GNOME/gdm/-/issues/ and follow https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines - thanks a lot!