Crash when reloading render geometry

Forums: Crash when reloading render geometry
Sub forum for bug reports
Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.


All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)

Crash when reloading render geometry

Postby DartFrog » Fri Sep 23, 2022 8:47 pm

DartFrog Fri Sep 23, 2022 8:47 pm
I'm getting an error when reloading the render geometry in the octane render view port. Almost nothing seems to appear in the render log until it crashes as well.

I've listed the text from the error below. I've also attached a screenshot of it along with the octane log. Any help is a appreciated.

Let me know if you'd like the scene file and I can send you a link privately.

Thank you

*EDIT
I was able to get a more detailed render log and attached it below.

Date/Time: 2022-09-23 16:28:00 -04:00
Application: 3dsmax.exe
Error: Stack overflow - code c00000fd (first/second chance not available)
Crashed Module Name: core.dll
Exception Address: 0x00007ffb5d7e6001
Exception Code: c00000fd
Exception Flags: 0
Exception Parameters: 1, 33c3275fa4

A. Windows 10 v21H2
B. RTX 3080 12GB, RTX 2080 TI
C. 48 GB
D. 512.96
E. v2021.1.5
F. v2021.1.5 - 12.23
G. 3ds Max 2023.1 Update
Attachments
octane 2021.1.5 220923 170030.log
(128.67 KiB) Downloaded 66 times
Error.PNG
DartFrog
Licensed Customer
Licensed Customer
 
Posts: 148
Joined: Fri Oct 18, 2013 8:54 pm

Re: Crash when reloading render geometry

Postby DartFrog » Mon Sep 26, 2022 7:20 pm

DartFrog Mon Sep 26, 2022 7:20 pm
I've been able to narrow down that the issue is stemming from a set of objects in the scene. After running the 3ds max minidump file through WinDbg, it looks like the crash is due to octane trying to set the viewport state over and over and over again. Here is the exact stack text just befor the crash:

0000033`c3275f60 00007ffb`5d71fa69 : 00000000`000000a0 000001aa`6874965c 00000000`00000001 00000000`00000000 : core!GetBezierDefaultTangentType+0x18b1
00000033`c3276100 00007ffb`5d6854c6 : 000001a9`e8260000 00007ffb`5d68385d 00000000`00000003 00000f46`49675273 : core!GetControllerIntervalOptimization+0x10d49
00000033`c32761d0 00007ffb`5d5df8d2 : 000001aa`c05fc9f0 000001aa`c05fc9f0 00000000`00000000 00000033`c32762a1 : core!LoftRestore::EndHold+0x128f6
00000033`c3276210 00007ffa`a5468193 : 00000000`00000001 00000033`c3276720 000001af`50a03270 00007ffb`99e547b1 : core!StdControl::GetValue+0x372
00000033`c3276300 00007ffa`a5465a66 : 7fffffff`80000000 000001ab`20a53320 00000033`c3276610 00000000`ffffffff : ctrl!NURBSTextureChannel::GetTextureSurface+0x10373
00000033`c3276340 00007ffb`5d622d8a : 00000000`00000000 00000000`00000000 000001ab`20a53320 00007ffb`6fc5942b : ctrl!NURBSTextureChannel::GetTextureSurface+0xdc46
00000033`c3276370 00007ff7`cc3f40c9 : 7fffffff`80000000 00000000`00000000 00000000`00000001 000001ab`20a52f70 : core!DataClassDesc::InternalName+0x83a
00000033`c3276520 00007ff7`cc24d554 : 000001ab`5ff09ef0 00000000`000000a0 00000033`c3276890 00000033`c32768a0 : 3dsmax!MaxSDK::SharedMesh::GetMeshPtr+0x100fc9
00000033`c3276770 00007ff7`cc3f3f6d : 37ff3962`66f226de 00000000`00000000 00000000`00000001 000001ab`5ff09ef0 : 3dsmax!ConfigManager::__autoclassinit2+0x1cd34
00000033`c32767a0 00007ff7`cc24d554 : 000001ab`5ff0a640 00000000`000000a0 00000033`c3276b10 00000033`c3276b20 : 3dsmax!MaxSDK::SharedMesh::GetMeshPtr+0x100e6d
00000033`c32769f0 00007ff7`cc3f3f6d : 37ff3962`66f226de 00000000`00000000 00000000`00000001 00000033`c3276b58 : 3dsmax!ConfigManager::__autoclassinit2+0x1cd34
00000033`c3276a20 00007ff7`cc24d554 : 000001ab`6b1baf30 00000000`000000a0 00000033`c3276d90 00000033`c3276da0 : 3dsmax!MaxSDK::SharedMesh::GetMeshPtr+0x100e6d
00000033`c3276c70 00007ff7`cc3f3f6d : 37ff3962`66f226de 00000000`00000000 00000000`00000001 000001a9`00000003 : 3dsmax!ConfigManager::__autoclassinit2+0x1cd34
00000033`c3276ca0 00007ff7`cc3fb425 : 00000000`ffffffff 00000000`000000a0 00000000`00000000 00000033`c32770c0 : 3dsmax!MaxSDK::SharedMesh::GetMeshPtr+0x100e6d
00000033`c3276ef0 00007ff7`cc244626 : 00000000`00000000 00000000`ffffffff 00000000`ffffffff 00000033`c3277200 : 3dsmax!MaxSDK::SharedMesh::GetMeshPtr+0x108325
00000033`c3277020 000001aa`e1b61433 : 00000033`c3277280 00000033`c3277280 00000000`ffffff01 000001ad`74ea6c40 : 3dsmax!ConfigManager::__autoclassinit2+0x13e06
00000033`c3277100 000001aa`e1b61b47 : 000001a9`f31951c0 7fffffff`80000000 000001ae`00000000 00007ffa`00000054 : octane3dsmax!NURBSTextureChannel::GetTextureSurface+0x6feb3
00000033`c3277230 000001aa`e1bb83c6 : 000001a9`f31aa4d8 000001a9`f31aa490 000001a9`f31aa4d8 00000033`c3278090 : octane3dsmax!NURBSTextureChannel::GetTextureSurface+0x705c7
00000033`c3277eb0 000001aa`e1bb6d2b : 000001ab`6b1baf30 000001ab`6ad4e320 000001ad`733efb60 000001a9`f31aa490 : octane3dsmax!ocxViewportSetWindowState+0x46e46
00000033`c3277ee0 000001aa`e1bb729c : 000001a9`f31aa490 000001ab`1c5fea60 00000000`00000000 192f6098`1bf8338d : octane3dsmax!ocxViewportSetWindowState+0x457ab
00000033`c3278070 000001aa`e1bb7678 : 00000033`c32781a0 00000000`00000001 00000000`00000000 00000033`c32781a0 : octane3dsmax!ocxViewportSetWindowState+0x45d1c
00000033`c3278100 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3278180 000001aa`e1bb7678 : 00000033`c32782b0 00000000`00000001 00000000`00000000 00000033`c32782b0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278210 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3278290 000001aa`e1bb7678 : 00000033`c32783c0 00000000`00000001 00000000`00000000 00000033`c32783c0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278320 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32783a0 000001aa`e1bb7678 : 00000033`c32784d0 00000000`00000001 00000000`00000000 00000033`c32784d0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278430 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32784b0 000001aa`e1bb7678 : 00000033`c32785e0 00000000`00000001 00000000`00000000 00000033`c32785e0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278540 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32785c0 000001aa`e1bb7678 : 00000033`c32786f0 00000000`00000001 00000000`00000000 00000033`c32786f0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278650 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32786d0 000001aa`e1bb7678 : 00000033`c3278800 00000000`00000001 00000000`00000000 00000033`c3278800 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278760 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32787e0 000001aa`e1bb7678 : 00000033`c3278910 00000000`00000001 00000000`00000000 00000033`c3278910 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278870 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32788f0 000001aa`e1bb7678 : 00000033`c3278a20 00000000`00000001 00000000`00000000 00000033`c3278a20 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278980 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3278a00 000001aa`e1bb7678 : 00000033`c3278b30 00000000`00000001 00000000`00000000 00000033`c3278b30 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278a90 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3278b10 000001aa`e1bb7678 : 00000033`c3278c40 00000000`00000001 00000000`00000000 00000033`c3278c40 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278ba0 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3278c20 000001aa`e1bb7678 : 00000033`c3278d50 00000000`00000001 00000000`00000000 00000033`c3278d50 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278cb0 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3278d30 000001aa`e1bb7678 : 00000033`c3278e60 00000000`00000001 00000000`00000000 00000033`c3278e60 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278dc0 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3278e40 000001aa`e1bb7678 : 00000033`c3278f70 00000000`00000001 00000000`00000000 00000033`c3278f70 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278ed0 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3278f50 000001aa`e1bb7678 : 00000033`c3279080 00000000`00000001 00000000`00000000 00000033`c3279080 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3278fe0 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3279060 000001aa`e1bb7678 : 00000033`c3279190 00000000`00000001 00000000`00000000 00000033`c3279190 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c32790f0 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3279170 000001aa`e1bb7678 : 00000033`c32792a0 00000000`00000001 00000000`00000000 00000033`c32792a0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279200 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3279280 000001aa`e1bb7678 : 00000033`c32793b0 00000000`00000001 00000000`00000000 00000033`c32793b0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279310 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3279390 000001aa`e1bb7678 : 00000033`c32794c0 00000000`00000001 00000000`00000000 00000033`c32794c0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279420 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32794a0 000001aa`e1bb7678 : 00000033`c32795d0 00000000`00000001 00000000`00000000 00000033`c32795d0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279530 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32795b0 000001aa`e1bb7678 : 00000033`c32796e0 00000000`00000001 00000000`00000000 00000033`c32796e0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279640 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32796c0 000001aa`e1bb7678 : 00000033`c32797f0 00000000`00000001 00000000`00000000 00000033`c32797f0 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279750 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32797d0 000001aa`e1bb7678 : 00000033`c3279900 00000000`00000001 00000000`00000000 00000033`c3279900 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279860 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32798e0 000001aa`e1bb7678 : 00000033`c3279a10 00000000`00000001 00000000`00000000 00000033`c3279a10 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279970 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c32799f0 000001aa`e1bb7678 : 00000033`c3279b20 00000000`00000001 00000000`00000000 00000033`c3279b20 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279a80 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3279b00 000001aa`e1bb7678 : 00000033`c3279c30 00000000`00000001 00000000`00000000 00000033`c3279c30 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279b90 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3279c10 000001aa`e1bb7678 : 00000033`c3279d40 00000000`00000001 00000000`00000000 00000033`c3279d40 : octane3dsmax!ocxViewportSetWindowState+0x45d2a
00000033`c3279ca0 000001aa`e1bb72aa : 000001a9`00000000 7fffffff`80000000 00000000`00000000 000001ab`96300030 : octane3dsmax!ocxViewportSetWindowState+0x460f8
00000033`c3279d20 000001aa`e1bb7678 : 00000033`c3279e50 00000000`00000001 00000000`00000000 00000033`c3279e50 : octane3dsmax!ocxViewportSetWindowState+0x45d2a

I'm not sure if this helps determine anything, But please let me know if you need any more information or files from me to find the solution to this issue.

Thank you
DartFrog
Licensed Customer
Licensed Customer
 
Posts: 148
Joined: Fri Oct 18, 2013 8:54 pm

Re: Crash when reloading render geometry

Postby neonZorglub » Tue Sep 27, 2022 1:51 am

neonZorglub Tue Sep 27, 2022 1:51 am
DartFrog wrote:I'm getting an error when reloading the render geometry in the octane render view port. Almost nothing seems to appear in the render log until it crashes as well.

I've listed the text from the error below. I've also attached a screenshot of it along with the octane log. Any help is a appreciated.

Let me know if you'd like the scene file and I can send you a link privately.

Thank you

Hi DartFrog,

Thanks for the log and description.
A scene would definitely be helpful ! Could you send me one by PM ?

Thank you
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 899
Joined: Sun Jul 31, 2016 10:08 pm

Re: Crash when reloading render geometry

Postby DartFrog » Tue Sep 27, 2022 3:00 pm

DartFrog Tue Sep 27, 2022 3:00 pm
Thanks Neon,

I just sent you a PM with the file. I think I may have solved this initial issue. It was either due to some modifier stacks on some objects or due to objects being linked to pieces of CAD geometry instead of directly to animated helpers. Either way, changing frames or reloading geometry is no longer crashing the scene.

One issue I am having now though is that region render is not working and seems to be crashing octane. I've attached the render log here, but it seems like it may have something to do with the cryptomattes.

Another issue I was having with this file is frames were being rendered with random objects missing in random frames over backburner. There seemed to be no correlation between which servers would render incorrectly as well. I still need to test it to see if I've been able to fix the issue with the octane preference, but it seemed to be connected to objects visibility being animated. It was almost as if octane wasn't properly updating the objects between frames and would render new frames from based on older cached data.

Any help with these issues would be awesome as well.

Thank you!
Attachments
octane 2021.1.5 220927 103437.log
(891.99 KiB) Downloaded 57 times
DartFrog
Licensed Customer
Licensed Customer
 
Posts: 148
Joined: Fri Oct 18, 2013 8:54 pm

Re: Crash when reloading render geometry

Postby neonZorglub » Fri Sep 30, 2022 2:04 am

neonZorglub Fri Sep 30, 2022 2:04 am
Hi DartFrog

The visibility animation is a bit special, and can cause issues, being incorrectly shared by several object's instances.
An Octane Scatter node is used to use render multiple instances when they have the same attributes.
With several backburner servers, starting the rendering at different frames, they may group those objects differently depending on the starting frame, and incorrectly use the visibility of one of those instances..

Disable 'Use same scatter node for compatible Instances" in Preferences / Trouble Shooting should fix this issue.

I fixed several other issues and crashes I got with your scene, so hopefully the next release should be better.

Note that you could set the Viewport Tone mapping to LDR for faster viewport, as you save the Cryptomatte passes as exr anyway.

I'll keep checking the reload, export and region render at different places..
Thanks
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 899
Joined: Sun Jul 31, 2016 10:08 pm

Re: Crash when reloading render geometry

Postby DartFrog » Fri Sep 30, 2022 1:13 pm

DartFrog Fri Sep 30, 2022 1:13 pm
neonZorglub wrote:Hi DartFrog

The visibility animation is a bit special, and can cause issues, being incorrectly shared by several object's instances.
An Octane Scatter node is used to use render multiple instances when they have the same attributes.
With several backburner servers, starting the rendering at different frames, they may group those objects differently depending on the starting frame, and incorrectly use the visibility of one of those instances..

Disable 'Use same scatter node for compatible Instances" in Preferences / Trouble Shooting should fix this issue.

I fixed several other issues and crashes I got with your scene, so hopefully the next release should be better.

Note that you could set the Viewport Tone mapping to LDR for faster viewport, as you save the Cryptomatte passes as exr anyway.

I'll keep checking the reload, export and region render at different places..
Thanks


Awesome, thank you for troubleshooting that! I greatly appreciate it. Happy to hear some other bugs and crashes have been squashed as well!

For changing the viewport to LDR, would that affect how the OCIO look I'm using is previewed? Also, if I were to render a frame locally using the octane viewport, would it save differently?

Thanks again, you've helped immensely!
DartFrog
Licensed Customer
Licensed Customer
 
Posts: 148
Joined: Fri Oct 18, 2013 8:54 pm

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 2 guests

Fri Apr 19, 2024 7:27 am [ UTC ]