Mantis - Resin
Viewing Issue Advanced Details
6451 minor always 12-10-21 02:37 11-13-23 18:04
nam  
 
normal  
new 4.0.65  
open  
none    
none  
0006451: resin.exe windows waitForExit() exits prematurely after 24 days with .NET Framework 3.5 and below
(rep by M. Shimomura)

    Unhandled exception. System.InvalidOperationException: Process must exit before requested information can be determined.

    at System.Diagnostics.Process.EnsureState(State state)
    at System.Diagnostics.Process.get_ExitCode()
    at Caucho.Resin.Excecute()
    at Caucho.Resin.Main(String[] args)



    https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.waitforexit?view=net-6.0 [^]

    "In the .NET Framework 3.5 and earlier versions, the WaitForExit() overload waited for MaxValue milliseconds (approximately 24 days), not indefinitely. Also, previous versions did not wait for the event handlers to exit if the full MaxValue time was reached."

There are no notes attached to this issue.