need to check process name in already-running check
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
goldendict (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: goldendict
Sometimes goldendict doesn't start, complaining, that another instance is running already.
Removing file ~/.goldendict/pid helps.
This bug is not reproducible every time, looks like sometimes goldendict is able to determine whether another instance is running or not.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: goldendict 0.9.1~git200911
ProcVersionSign
Uname: Linux 2.6.32-19-generic x86_64
Architecture: amd64
Date: Fri Apr 2 16:17:00 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
PATH=(custom, user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: goldendict
Changed in goldendict (Ubuntu): | |
status: | New → Confirmed |
Goldendict should check, whether process with id from ~/.goldendict/pid is running and it is goldendict instance. Or goldendict should try to write-lock existing pid file before writing to it.