Summary

Title:Maya + Ornatrix Crash on headless render with Redshift
Category:Crash/Critical
Status:Open
Posted By:bbfyyz ( Chris Quirk )
Date Created:11 December 2018

Problem

Description:

Maya 2018 update 5 on Windows 10

Ornatrix for Maya 2.2.6.17992

Redshift 2.6.19 and Redshift 2.6.29

Deadline 8

 

Maya crashes on frame 1

Ornatrix crash log:

Log starts on 2018-12-11 14:20:38, Ornatrix 2.2.6.17992 Release built with Visual C++ 1900, Autodesk Maya 2018.5 win64, batch mode: yes, loaded from: C:/Program Files/Ephere/Ornatrix for Maya/2018
[Info ] [ 54] [main ] [ 671748] initializePlugin : Ornatrix 2.2.6.17992 Release initialized
[Error ] [ 13616] [3212 ] [ 3000180] \Ephere\NativeTools\SystemToolsMsw.cpp(1079): error: Ephere::UnhandledExceptionFilter : Unhandled exception in worker thread
[Error ] [ 13616] [4916 ] [ 3000184] \Ephere\NativeTools\SystemToolsMsw.cpp(1079): error: Ephere::UnhandledExceptionFilter : Unhandled exception in worker thread
[Error ] [ 13617] [5044 ] [ 3000188] \Ephere\NativeTools\SystemToolsMsw.cpp(1079): error: Ephere::UnhandledExceptionFilter : Unhandled exception in worker thread

 

Stack traces

 

2018-12-11 14:20:20: 0: STDOUT: [Redshift] Maya evaluation manager mode: parallel

2018-12-11 14:20:20: 0: STDOUT: Stack trace:

2018-12-11 14:20:20: 0: STDOUT: ntdll.dll!KiUserExceptionDispatcher

2018-12-11 14:20:20: 0: STDOUT: PolyEngine.dll!TpolyGeom::triangulateFaceFromOffset

2018-12-11 14:20:20: 0: STDOUT: PolyEngine.dll!TpolyGeom::getEdgeNVector

2018-12-11 14:20:20: 0: STDOUT: PolyEngine.dll!TpolyGeom::getEdgeNVector

2018-12-11 14:20:20: 0: STDOUT: tbb.dll!tbb::interface7::internal::task_arena_base::internal_wait

2018-12-11 14:20:20: 0: STDOUT: tbb.dll!tbb::interface7::internal::task_arena_base::internal_wait

2018-12-11 14:20:20: 0: STDOUT: tbb.dll!tbb::task_scheduler_init::terminate

2018-12-11 14:20:20: 0: STDOUT: tbb.dll!tbb::internal::thread_yield_v3

2018-12-11 14:20:20: 0: STDOUT: tbb.dll!tbb::internal::thread_yield_v3

2018-12-11 14:20:20: 0: STDOUT: ucrtbase.dll!_o__realloc_base

2018-12-11 14:20:20: 0: STDOUT: KERNEL32.DLL!BaseThreadInitThunk

2018-12-11 14:20:20: 0: STDOUT: ntdll.dll!RtlUserThreadStart

2018-12-11 14:20:20: 0: STDOUT: Result: P:/scene.ma

2018-12-11 14:20:20: 0: STDOUT: Fatal Error. Attempting to save in C:/Users/deadline/AppData/Local/Temp/deadline.20181211.1420.ma

2018-12-11 14:20:24: 0: WARNING: Monitored managed process MayaBatch is no longer running

2018-12-11 14:20:24: 0: Done executing plugin command of type 'Render Task'

2018-12-11 14:20:24: 0: An exception occurred: Error: Monitored managed process "MayaBatch" has exited or been terminated.

2018-12-11 14:20:24: at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel) (Deadline.Plugins.RenderPluginException)

 

and

 

2018-12-10 15:32:26: 0: STDOUT: [Redshift] Redshift for Maya 2018

2018-12-10 15:32:26: 0: STDOUT: [Redshift] Version 2.6.19, Aug 1 2018

2018-12-10 15:32:27: 0: STDOUT: [Redshift] renderable camera = |camera1

2018-12-10 15:32:27: 0: STDOUT: [Redshift] Rendering frame 1 (1/6)

2018-12-10 15:32:27: 0: STDOUT: [Redshift] Maya evaluation manager mode: parallel

2018-12-10 15:32:29: 0: STDOUT: Stack trace:

2018-12-10 15:32:30: 0: WARNING: Strict error checking on, ignoring the following unrecognized error or warning. If it is fatal, please email support@thinkboxsoftware.com with the error message.

2018-12-10 15:32:30: 0: STDOUT: Error: Ornatrix: Unhandled exception, wrote dump file to C:\Users\deadline\AppData\Local\Temp\OrnatrixMaya.dmp

2018-12-10 15:32:30: 0: STDOUT: ntdll.dll!KiUserExceptionDispatcher

2018-12-10 15:32:30: 0: STDOUT: PolyEngine.dll!TpolyGeom::triangulateFaceFromOffset

2018-12-10 15:32:30: 0: STDOUT: PolyEngine.dll!TpolyGeom::getEdgeNVector

2018-12-10 15:32:30: 0: STDOUT: PolyEngine.dll!TpolyGeom::getEdgeNVector

2018-12-10 15:32:30: 0: STDOUT: tbb.dll!tbb::interface7::internal::task_arena_base::internal_wait

2018-12-10 15:32:30: 0: STDOUT: tbb.dll!tbb::interface7::internal::task_arena_base::internal_wait

2018-12-10 15:32:30: 0: STDOUT: tbb.dll!tbb::task_scheduler_init::terminate

2018-12-10 15:32:30: 0: STDOUT: tbb.dll!tbb::internal::thread_yield_v3

2018-12-10 15:32:30: 0: STDOUT: tbb.dll!tbb::internal::thread_yield_v3

2018-12-10 15:32:30: 0: STDOUT: ucrtbase.dll!_o__realloc_base

2018-12-10 15:32:30: 0: STDOUT: KERNEL32.DLL!BaseThreadInitThunk

2018-12-10 15:32:30: 0: STDOUT: ntdll.dll!RtlUserThreadStart

2018-12-10 15:32:30: 0: STDOUT: Result: P:/scene.ma

2018-12-10 15:32:30: 0: STDOUT: Fatal Error. Attempting to save in C:/Users/deadline/AppData/Local/Temp/deadline.20181210.1532.ma

2018-12-10 15:32:33: 0: WARNING: Monitored managed process MayaBatch is no longer running

2018-12-10 15:32:33: 0: Done executing plugin command of type 'Render Task

2018-12-10 15:32:33: 0: An exception occurred: Error: Monitored managed process "MayaBatch" has exited or been terminated.

2018-12-10 15:32:33: at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel) (Deadline.Plugins.RenderPluginException)

Steps to Reproduce:

Render scene with Redshift, crash

 

I have an OrnatrixMaya.dmp file from an affected scene/node

This seems to occur with the following conditions


Animation Render Evaluation: Parallel

Render more than currently selected frame (eg: any range except 1, current frame)

 

Crash behaviour is *not* observed when set to Evaluation: DG

 

In conversation with Autodesk, evaluation manager does kick in when time changes are involved and use the parallel executor, which makes an Ornatrix+Redshift issue more likely.

Hi Chris, that OrnatrixMaya.dmp could be useful, would you please upload it here if possible?

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

In case the file is too big to upload here, please e-mail it to ivan.kolev at our domain.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

So far I can't reproduce the problem with a simple scene, Maya 2018.3 (I doubt that not having the latest Update 5 is related), Redshift 2.6.31.

I add a Furball to a sphere that's moving for 10 frames, and a RS dome light. I also had to assign a material to the Furball manually.

Could you please provide an example scene (as simple as possible) that is known to crash?

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev