IndexOutOfRangeException

Hi All,

One of my slaves has been acting up; giving the following error log:
I’m rendering a Mayabatch job, which on the other slaves does not give an error.
Any ideas where I can start troubleshooting? Rebooting does not help.
This does not look like a Maya specific error.

Thanks in advance.

Cheers!

Dennis

Error Type:

IndexOutOfRangeException

Report Message:

Index was outside the bounds of the array.

Slave Log:

ns.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)

at IronPython.Runtime.Types.ComObject.AddType(Guid guid, Type type)

at IronPython.Runtime.TopReflectedPackage.LoadAssembly(SystemState state, Assembly assem, Boolean isInteropAssembly)

at IronPython.Modules.ClrModule.AddReference(Assembly assembly)

at IronPython.Modules.ClrModule.AddReferenceByName(String[] names)

at IronPython.Runtime.TopReflectedPackage.Initialize(SystemState state)

at IronPython.Runtime.Importer.ImportBuiltin(PythonModule mod, String name)

at IronPython.Runtime.Importer.ImportTopAbsolute(PythonModule mod, String name)

at IronPython.Runtime.Importer.ImportModule(ICallerContext context, String modName, Boolean bottom)

at IronPython.Hosting.EngineModule.Import(String moduleName)

at FranticX.Scripting.ScriptEngine…ctor()

at Deadline.Scripting.DeadlineScriptEngine…ctor(DeadlineController deadlineController)

at Deadline.Plugins.ScriptPlugin.GetNewScriptEngine()

at Deadline.Plugins.ScriptPlugin…ctor(String pluginName, DeadlineController deadlineController)

at Deadline.Plugins.Plugin…ctor(String name, String networkSourcePath, String slaveDestinationPath, Int32 threadId, DeadlineController deadlineController)

at Deadline.Controllers.DeadlineController.RequestPlugin(String pluginName, String slaveLocalPath, Int32 threadID)

at Deadline.Slaves.SlaveRenderThread.RequestPlugin(String pluginName, Boolean reloadPlugin)

at Deadline.Slaves.SlaveRenderThread.LoadPlugin()

at Deadline.Slaves.SlaveRenderThread.ThreadMain()

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Scheduler Thread - Render Thread 1 threw an error:
Scheduler Thread - Index was outside the bounds of the array.
Scheduler Thread - Unexpected Error Occured: Index was outside the bounds of the array. (System.IndexOutOfRangeException)

Error Stack Trace:

at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary2.set_Item(TKey key, TValue value)
at IronPython.Runtime.Types.ComObject.AddType(Guid guid, Type type)
at IronPython.Runtime.TopReflectedPackage.LoadAssembly(SystemState state, Assembly assem, Boolean isInteropAssembly)
at IronPython.Modules.ClrModule.AddReference(Assembly assembly)
at IronPython.Modules.ClrModule.AddReferenceByName(String[] names)
at IronPython.Runtime.TopReflectedPackage.Initialize(SystemState state)
at IronPython.Runtime.Importer.ImportBuiltin(PythonModule mod, String name)
at IronPython.Runtime.Importer.ImportTopAbsolute(PythonModule mod, String name)
at IronPython.Runtime.Importer.ImportModule(ICallerContext context, String modName, Boolean bottom)
at IronPython.Hosting.EngineModule.Import(String moduleName)
at FranticX.Scripting.ScriptEngine…ctor()
at Deadline.Scripting.DeadlineScriptEngine…ctor(DeadlineController deadlineController)
at Deadline.Plugins.ScriptPlugin.GetNewScriptEngine()
at Deadline.Plugins.ScriptPlugin…ctor(String pluginName, DeadlineController deadlineController)
at Deadline.Plugins.Plugin…ctor(String name, String networkSourcePath, String slaveDestinationPath, Int32 threadId, DeadlineController deadlineController)
at Deadline.Controllers.DeadlineController.RequestPlugin(String pluginName, String slaveLocalPath, Int32 threadID)
at Deadline.Slaves.SlaveRenderThread.RequestPlugin(String pluginName, Boolean reloadPlugin)
at Deadline.Slaves.SlaveRenderThread.LoadPlugin()
at Deadline.Slaves.SlaveRenderThread.ThreadMain()



Hi Dennis,

This is a known issue, and we believe that it is a threading problem in the slave application. We believe we have addressed this issue in the Deadline 4.0 beta, which is scheduled for release around the end of November.

Cheers,

  • Ryan

Hi Ryan,

Thanks for the info. Is there something we can do in the meantime?
Will re-installing do anything? Setting the slave process to 1 core?
Any known or unknown workarounds?

Cheers!

Dennis

Are you rendering with concurrent tasks set to anything greater than 1? If so, keeping the setting at 1 might help. If you’re interested in joining the 4.0 beta to ensure that this problem has been resolved, see this:
viewtopic.php?f=10&t=2778

Cheers,

  • Ryan

Thanks Ryan, that did the trick (setting conc. tasks to 1). I’ll try to make some time for participating in the beta. Thanks!