You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
wxSingleInstanceChecker() uses a lockfile to determine if there is a already a Manager running. On Mac this lockfile has a custom name and is managed by BOINC. On Linux and Windows the file has a default name ("Boinc Manager") and will be placed in the users home directory. If the Manager crashes this file is not deleted and prevents another instance from starting. This is observed on Linux mainly. The wx devlopers suggested to also use a custom filename and path for Linux and windows as is already there for Mac.
If the Manager crashes this file is not deleted and prevents another instance from starting
In addition to that, the file is intermittently not deleted when: (a) the computer is shut down after "Suspending" all tasks; or (b) the computer is shut down after Quitting BOINC Manager using the "Stop running tasks when exiting the BOINC Manager" option.
On which platform (OS) are you seeing these situations? At least on some platforms, wxSingleInstanceChecker has safeguards for this situation by checking the process ID. Also, there is already code in the BOINC Manager to handle this for the Mac (BOINCGUIApp.cpp lines 406-434 in GIT Master branch.)
If the Manager crashes this file is not deleted and prevents another instance from starting
In addition to that, the file is intermittently not deleted when: (a) the computer is shut down after "Suspending" all tasks; or (b) the computer is shut down after Quitting BOINC Manager using the "Stop running tasks when exiting the BOINC Manager" option.
�
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
This is still happening on Linux. I just had the same problem on Fedora today, using the distro-provided builds. The system didn't crash, but I think I might have left the manager window open the last time I rebooted.
wxSingleInstanceChecker()uses a lockfile to determine if there is a already a Manager running. On Mac this lockfile has a custom name and is managed by BOINC. On Linux and Windows the file has a default name ("Boinc Manager") and will be placed in the users home directory. If the Manager crashes this file is not deleted and prevents another instance from starting. This is observed on Linux mainly. The wx devlopers suggested to also use a custom filename and path for Linux and windows as is already there for Mac.The relevant places are:
BOINCGUIApp.cpp: CBOINCGUIApp::DetectDuplicateInstance()
BOINCGUIApp.cpp: CBOINCGUIApp::OnInit()
mac_installer/PostInstall.cpp: UpdateAllVisibleUsers
Also see the Debian bug: #781789
The text was updated successfully, but these errors were encountered: