cygnusxi / hfm-net

Automatically exported from code.google.com/p/hfm-net
2 stars 0 forks source link

Problems starting HFM after shutting down unexpectedly. #236

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Forum Threads:

http://groups.google.com/group/hfm-net/browse_thread/thread/6c798ff93d5b9526#

http://www.overclock.net/overclock-net-folding-home-team/855523-hfm-net-v0-6-0-b
eta.html

Last Version Tested.

- v0.6.0.249

Original issue reported on code.google.com by harlam357 on 31 Oct 2010 at 5:03

GoogleCodeExporter commented 8 years ago
Another exception from PantherX:

HFM.NET v0.6.0.249

Microsoft Windows NT 6.1.7600.0

Single Instance Helper Failed to Start.

Exception Thrown:
System.Runtime.Remoting.RemotingException: Failed to connect to an IPC Port: 
The system cannot find the file specified.

Server stack trace:
   at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName, Boolean secure, TokenImpersonationLevel impersonationLevel, Int32 timeout)
   at System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String portName, Boolean secure, TokenImpersonationLevel level, Int32 timeout)
   at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at HFM.Classes.IpcObject.SignalNewInstance(String[] args)
   at HFM.Classes.SingleInstanceHelper.SignalFirstInstance(String[] args)
   at HFM.Program.Main(String[] args)

Original comment by harlam357 on 5 Nov 2010 at 2:04

GoogleCodeExporter commented 8 years ago
Made changes in Revision 330 to try and combat this issue.  Unfortunately Mono 
2.8+ has disabled the use of Mutex objects due to their inherent instability 
since they were simulated on Mono anyway.

http://www.mono-project.com/Release_Notes_Mono_2.8

May need to devise a new scheme in future releases to enable single instance 
functionality for all target operating systems.

Removing this Issue as an 0.7.0 target for now.

Original comment by harlam357 on 26 Feb 2011 at 4:29