pocallaghan at gmail.com
Wed May 19 16:10:57 UTC 2010
On Wed, 2010-05-19 at 08:43 -0500, Rex Dieter wrote:
> Patrick O'Callaghan wrote:
> > Anyway, I configured Autostart to fire up QBT on login, but I also use
> > "save session" in KDE. Guess what: I get two instances of QBT running.
> > Now the odd thing is that QBT is a "single instance" app. It's supposed
> > to detect a running copy and not start another one. However the way it
> > does this is by looking for a /tmp/qBittorrent-<uid> file. This actually
> > works. There is a (single) file there when the two instances are
> > running, and if I try to start a third one from the Shell it quite
> > rightly refuses.
> > Is it possible that the first (Autostart) instance of QBT creates the
> > file, and something in the KDE startup sequence deletes it before the
> > second (saved session) instance fires up? I can't think of another
> > explanation, but IMHO this is Bad.
> nothing in kde would touch that. this is most likely a race/bug in
I've confirmed there is a race condition. I've reported it to the QBT
More information about the kde