View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001569aMuleUtilitiespublic2009-12-23 14:122009-12-26 16:41
Reporterbill lee 
Assigned To 
StatusclosedResolutionnot fixable 
PlatformOSOS Version
Product Version2.2.6 
Target VersionFixed in Version 
Summary0001569: The method of dectecting amule process running already has a bug
DescriptionWhen an amule process has been running, there is a file, mulelock, which records the pid of the running process. If user run a second process, amule will read mulelock. If the process which has been recorded in mulelock exists, amule will shutdown.
However, here comes a bug. After amule crashes, the pid may be assigned to another process, when I try to run amule again, it believe that an amule process has already running and shutdown.
Additional InformationThis is the way to solve this problem.
When finding the process recorded in mulelock exists, amule should read /proc/<pid>/cmdline. If there is a word, amule, in it, shutdown. If none, amule should be run.
TagsNo tags attached.
Fixed in Revision
Operating SystemLinux
Attached Files

- Relationships

-  Notes
sturedman (developer)
2009-12-23 21:17

I'm afraid that's not very portable.
GonoszTopi (administrator)
2009-12-26 16:39

That's how wxSingleInstanceChecker works on Unix-like operating systems. If you find it buggy, please convince the wxWidgets developers that they're doing it wrong.

- Issue History
Date Modified Username Field Change
2009-12-23 14:12 bill lee New Issue
2009-12-23 14:12 bill lee Operating System => Linux
2009-12-23 21:17 sturedman Note Added: 0003337
2009-12-26 16:39 GonoszTopi Note Added: 0003339
2009-12-26 16:41 GonoszTopi Status new => closed
2009-12-26 16:41 GonoszTopi Resolution open => not fixable

Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker