So I’ve manage to prepare a minimal test scene.
PNG_error_test.zip (299 KB)
Comments:
-
It’s a simple teapot with a single texture created in Max 2017. Upon opening you should see said PNG Library warning.
-
The PNG file is corrupted, even though it is displayed properly. Blow is an output of the pngcheck which clearly states that the file is corrupted.
- Job submitted as 3dsmax properly detected the popup, but it did not handle it gracefully. Not sure if it should.
2017-08-23 11:22:48: 0: INFO: Loading Map Files
2017-08-23 11:22:48: 0: INFO: Preparing Objects
2017-08-23 11:23:13: 0: WARNING: Detected popup dialog "PNG Plugin".
2017-08-23 11:23:13: 0: WARNING: ---- dump of dialog ----
2017-08-23 11:23:13: 0: WARNING: Button: OK
2017-08-23 11:23:13: 0: WARNING: Static: PNG Library Internal Warning
2017-08-23 11:23:13: 0: WARNING: ---- end dump of dialog ----
2017-08-23 11:23:13: 0: Done executing plugin command of type 'Render Task'
2017-08-23 11:23:13: 0: An exception occurred: Error: RenderTask: Unexpected exception (Dialog popup detected: Title "PNG Plugin", Message "PNG Library Internal Warning")
2017-08-23 11:23:13: w Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel) (Deadline.Plugins.RenderPluginException)
- Job submitted as 3dscmd faild to detect the dialog and hanged forever with popup. This is probably because the stdout handler is attached to different process (3dsmaxcmd.exe) than the one that is spawning the popup window (3dsmax.exe).

