Hi there,
We have a pretty critical, but very VERY elusive issue that we have been trying to troubleshoot for more then a week now. Up till now we thought it was issues in the scene, but it seems that rendering the same files on assburner (using 3dsmaxcmd.exe), they are fine.
The problem happens mid render. The file is processing, chugging away doing its thing, then all of a sudden max disappears.
In max.log, this is what we see:
2013/10/31 15:06:56 ERR: An unexpected exception has occurred in the network renderer and it is terminating.
In the slave log (the scLog lines are our internal progress report functions):
2013-10-31 15:06:57: 0: INFO: scLog: info 1016f took 6991 ms
2013-10-31 15:06:57: 0: INFO: scLog: info slidertime: 1015f anim range: 900f 1300f
2013-10-31 15:06:57: 0: INFO: scLog: info calling setProgress with: 28.75
2013-10-31 15:06:57: 0: WARNING: Monitored managed process 3dsmaxProcess is no longer running
2013-10-31 15:06:58: 0: An exception occurred: Error in RenderTasks: RenderTask: Unexpected exception (Monitored managed process "3dsmaxProcess" has exited or been terminated.)
2013-10-31 15:06:58: at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel) (Deadline.Plugins.RenderPluginException)
We went through everything, network connectivity issues, bad configs, network cables, whatever you can think of, but found no pattern.
Today Chris Deiss assigned a debugger to a job that was crashing like this, and let it run during the process. He noticed that some exceptions are thrown regularly, but i guess sometimes thats OK.
However, they might be connected somehow to a socket connection issue between lighting and the slave, and i suspect that it can actually crash max.
The exceptions that repeat regularly every couple of seconds:
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00127518…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00127518…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00127518…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00127518…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00126f68…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00126f68…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: frantic::win32::simple_socket_timeout_error at memory location 0x001273d0…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: frantic::win32::simple_socket_timeout_error at memory location 0x00127760…
I think the blue exceptions are from our progress report maxscript, which we will take out to see if it makes those exceptions go away. However, there are also some socket timeout errors there from the frantic libraries.
Just before 3dsmax disappears, we get this:
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00127518…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00127518…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00127518…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00127518…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00126f68…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000…
First-chance exception at 0x000007fefd23cacd in 3dsmax.exe: Microsoft C++ exception: ConversionError at memory location 0x00126f68…
The thread ‘Win64 Thread’ (0x4dd4) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x40e0) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x2140) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x5b4) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x10f4) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x39a4) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x11a0) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x4da8) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x3104) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x4d84) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x1d60) has exited with code -1 (0xffffffff).
The thread ‘Win64 Thread’ (0x2920) has exited with code -1 (0xffffffff).
Note the missing socket errors… Could it be crashing there? After that all the threads quick with the exit code -1, and max goes missing…