Author Topic: Corona 11, 3ds max 2024 crash  (Read 2313 times)

2024-06-16, 19:23:49

Maka

  • Active Users
  • **
  • Posts: 6
    • View Profile
Hi
3ds max 2024 keeps crashing in the middle of rendering with Corona 11, the latest version right now. The crash is inconsistent and doesn't happen every time. It will render some scenes fine, others will crash 3ds max 9 out of 10 times. Sometimes within the same scene and file it will render 4 different cameras fine and then crash every time on the fifth camera. If I archive file and transfer it to my other pc, relink everything it will render fine. Some scenes alway crash, some scenes crash most of the times, some scenes don't crash at all. Even the same scenes and files that used to render fine a couple of months ago will now crash. Yesterday I completely reseted the OS. Windows 11 has wiped clean the drive it was on as well as all other softwares installed. I reinstalled everything from scratch and still the same thing. Lately it happens more and more often and it has come to a point that it works maybe in 5% cases. It is driving me crazy. Because of this inconsistency it has been impossible to identify the cause of the crash as well as reproducing it effectively. I have been sending crash reports to autodesk but now I have finally taken it upon myself to try and read the mini dump file myself. I even gave it to chat gpt to analyse it. this is what it said:

Let's break down the contents of the WinDbg analysis of the 3ds Max minidump crash report and discuss possible steps to fix the issue:

Key Elements from the Analysis:
1. Exception Information:
Exception Code: c0000005 (Access Violation)
Indicates that the program attempted to read or write to an invalid memory location.
Faulting Module: Corona_Release.dll
The crash occurred within the Corona render engine plugin for 3ds Max.
2. Exception Description:
Attempt to write to address 0000000000000000
A null pointer dereference. The program tried to write data to a null (invalid) memory address.
3. Call Stack:
The call stack shows the sequence of function calls leading to the crash. Here's the relevant part:

ruby
Kopiraj kod
Corona_Release!Legion::Corona::serializeToString+0x3e143:
00007ff8`7f24a323 410f1128 movups xmmword ptr [r8],xmm5 ds:00000000`00000000=?????????????????????????????????
Function Involved: Legion::Corona::serializeToString
This suggests that the issue occurred while the Corona renderer was trying to serialize data to a string.
4. Key Value Strings:
AV.Dereference: NullPtr
The dereferenced pointer was null.
AV.Fault: Write
The crash happened during a write operation.
Failure.Bucket: NULL_POINTER_WRITE_c0000005_Corona_Release.dll!Unknown
This categorizes the crash for easier identification and debugging.
Summary:
The crash is caused by the Corona render engine attempting to write data to a null pointer during a serialization operation. This is a clear indication of a bug in the Corona render engine code.

2024-06-16, 21:06:25
Reply #1

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 640
    • View Profile
Hi, by any chance you have a intel i9 13900k or 14900k CPU?

Can you please clarify that if you are using Corona 11 or Corona 11 HF 2?
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2024-06-16, 21:12:36
Reply #2

Maka

  • Active Users
  • **
  • Posts: 6
    • View Profile
Hi
No, I have AMD Ryzen 9 3950X 16 core processor
It is Corona 11 HF 2

2024-06-17, 05:27:44
Reply #3

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 640
    • View Profile
Thanks for the info.

Can you let me know if you are able to crash some specific files only or this issue is consistent in a scene that contains some simple geometry shapes and contains no 3rd party plugins.

Can you try resetting your 3ds max enu to make sure the crash is not triggered by any 3rd party plugin in the 3ds max?

Keep backup of the enu folder so you can restore it back.

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Resetting-3ds-Max-3ds-Max-Design.html
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2024-06-17, 13:41:41
Reply #4

Maka

  • Active Users
  • **
  • Posts: 6
    • View Profile
Hi,
Thank you so much for taking the time to help me.

I can try to crash it with a simple scene, and let you know.

when you say third party plugin do you also mean the Corona renderer? Right now I have Itoo forest pack and railclone latest versions availible installed. I also have Vray as well as Corona. I tried rendering with Vray scenes that crash with Corona and the same thing happens. I will paste the chat gpt break down of that crash dump file. I have to also say that I had the same problem with previos versions of 3dsmax and Corona.

here is the chat gpt break down of the Vray crash:

Based on the provided minidump analysis, here is a breakdown of the key details and insights regarding the crash:

Key Details from the Minidump Analysis
Exception Information:

Exception Code: c0000005 (Access Violation)
Exception Address: 00007ff855588b55 (within vray.dll)
Exception Description: Attempt to read from address 0000000000000000 (null pointer dereference)
Process and Module Information:

Process Name: 3dsmax.exe
Faulting Module: vray.dll
V-Ray Function: vray!VUtils::VRayCore::getTimeInFrames
Context Information:

Register Context:
rax=000002118760bb80
rbx=000000aa89c95210
rcx=0000000000000000 (null pointer causing the crash)
rdx=000000aa89c95250
rip=00007ff855588b55 (instruction pointer at the faulting address)
rsp=000000aa89c950b0 (stack pointer)
The rcx register being zero (null) when trying to dereference it caused the access violation.
Call Stack:

The call stack shows the sequence of function calls leading to the crash:
vray!VUtils::VRayCore::getTimeInFrames
vray!PluginManagerUtilsBase::writeDotDependencyGraph
vray!VUtils::VRayCore::traceRay
vrender2024!VUtils::SetupForTextureCaching::setup
vrender2024!isMaxMaterialSwitcher
and several other functions within vray.dll and vrender2024.dll.
Failure Bucket and Hash:

Failure Bucket: NULL_POINTER_READ_c0000005_vray.dll!Unknown
Failure Hash: {8164d52e-fc1f-edfe-9388-37eac0ba00a6}
Summary of the Analysis
The crash occurred due to a null pointer dereference within the vray.dll module, specifically in the VUtils::VRayCore::getTimeInFrames function. This happened while 3ds Max (3dsmax.exe) was running, and the V-Ray plugin was in use. The exception code c0000005 indicates an access violation, which is common in cases where the application attempts to read or write to an invalid memory address.

Potential Causes and Next Steps
Null Pointer Dereference:

Ensure that the code checks if pointers are valid (not null) before dereferencing them.
Add proper error handling and logging to identify when pointers become null unexpectedly.
V-Ray Plugin Issues:

The issue lies within the V-Ray plugin (vray.dll). Checking for updates or patches from the V-Ray developers might resolve this issue.
Consider contacting V-Ray support with the details of the crash, including the minidump analysis, for further assistance.
Environmental Factors:

Sometimes crashes can be influenced by specific scenes or configurations in 3ds Max. Try replicating the crash with different scenes or settings.
Check for any recent changes or updates to the system, 3ds Max, or V-Ray that might have introduced the issue.
Debugging and Logging:

Implement additional logging around the areas where the crash occurs to capture more context and potentially identify the root cause.
Use tools like WinDbg to perform a live debugging session if the issue persists and more detailed analysis is required.
By addressing these potential causes and taking the suggested next steps, you can work towards identifying and resolving the root cause of the crash.

2024-06-26, 03:42:19
Reply #5

majidadadb

  • Users
  • *
  • Posts: 3
    • View Profile
Hi

I have the same issue too.
did you find any solution or culprit for this error?


it is my error breif report

Date/Time: 2024-06-26 02:53:11 +03:00
Application: 3dsmax.exe
Error: Access violation - code c0000005 (first/second chance not available)
Crashed Module Name: mscorlib.dll
Exception Address: 0x00007ffd0c6a5180
Exception Code: c0000005
Exception Flags: 0
Exception Parameters: 0, 88
Managed Exception Type: System.AccessViolationException
Managed Exception Address: 0x0000018fd6178ff0


it is the summary of winDbg of minidump file report

ExceptionAddress: 00007ffd0c6a5180 (CoronaMax_Release_2023!LibVersion+0x00000000000998b0)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 0000000000000088
Attempt to read from address 0000000000000088

PROCESS_NAME:  3dsmax.exe

READ_ADDRESS:  0000000000000088

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000000

EXCEPTION_PARAMETER2:  0000000000000088

STACK_TEXT:
0000005a`0e4fb0d8 00007ffd`0c6a8a16     : 0000005a`0e4fb120 00000190`cd58a030 0000005a`0e4fb169 0000005a`0e4fb250 : CoronaMax_Release_2023!LibVersion+0x998b0
0000005a`0e4fb0e0 00007ffd`0c6a635a     : 00000000`00000000 0000005a`0e4fb250 00000192`1edec5a8 00007ffe`21eac350 : CoronaMax_Release_2023!LibVersion+0x9d146
0000005a`0e4fb1d0 00007ffd`59673fd9     : 00000192`1e1c27c8 00000000`000088f8 00000192`45d4aa38 00000000`000005b5 : CoronaMax_Release_2023!LibVersion+0x9aa8a
0000005a`0e4fb320 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : LegionLib_Release!Legion::isMainThread+0x209


STACK_COMMAND:  ~0s; .ecxr ; kb

SYMBOL_NAME:  CoronaMax_Release_2023+998b0

MODULE_NAME: CoronaMax_Release_2023

IMAGE_NAME:  CoronaMax_Release-2023.dll

FAILURE_BUCKET_ID:  NULL_CLASS_PTR_READ_c0000005_CoronaMax_Release-2023.dll!Unknown

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  11.2.0.24845

FAILURE_ID_HASH:  {cb55f6df-5bed-b417-f9c3-c1e8ea5e20a4}

Followup:     MachineOwner


it is the dumpuserinfo.xml

   <AppInformation name="3dsMax25" version="3ds Max 25 - 64 bits ENU  "/>
   <OpenGLInfo Renderer="Corona" Vendor="Nitrous (Direct3D 11.0 Feature Level 11 - NVIDIA GeForce RTX 3080 Laptop GPU)" Version="11.2.24845"/>
   <DotNet CLRVersion="v4.0.30319"/>
   <AppCDATA><![CDATA[Command:[Tool- undo, Tools- Hide Selection, Tool- tool hlist, Tools- Unhide by Name, Tools- Zoom Extents Selected]; Redo [Hide Selected]; Undo [Exit Isolate, Isolate Select, Select, Select, Select, Select, Select, Select, Isolate Select, Select, Select, Exit Isolate, Isolate Select, Select, Select, Isolate Select, Select, Exit Isolate, Isolate Select, Select, Unhide by Name, Exit Isolate, Isolate Select, Exit Isolate, Isolate Select, Exit Isolate, Isolate Select, Exit Isolate, Isolate Select, Exit Isolate,]]]></AppCDATA>
   <DeviceInfo DeviceIDv2="D12ED2FA2B359634D55024F21078BCBB120601BD83CBD6128148DF3AFEAA350B&amp;199A7AFA7429207C2F47251F9901204D8488A13E1BF2B860B8033EABD2378777&amp;89607312B7536230EC0E26BCE6727E3EECEFB0EDA2C377E04EE458EE014AAB8E"/>
   <DxDiagInfo>
      <SystemInformation>
         <OperatingSystem><![CDATA[64-bit Windows 11 Pro 64-bit (6.2, Build 9200) (22621.ni_release.220506-1250)]]></OperatingSystem>
         <Language><![CDATA[English (Regional Setting: English)]]></Language>
         <SystemManufacturer><![CDATA[ASUSTeK COMPUTER INC.]]></SystemManufacturer>
         <SystemModel><![CDATA[ROG Strix G733ZS_G733ZS]]></SystemModel>
         <BIOS><![CDATA[G733ZS.324]]></BIOS>
         <Processor><![CDATA[12th Gen Intel(R) Core(TM) i9-12900H (20 CPUs), ~2.5GHz]]></Processor>
         <SystemMemory><![CDATA[32768MB RAM]]></SystemMemory>
         <PageFile><![CDATA[82632MB used, 54795MB available]]></PageFile>
         <FullDirectXVersion><![CDATA[DirectX 12]]></FullDirectXVersion>
         <DxDiagVersion><![CDATA[6.02.22621.3527]]></DxDiagVersion>
      </SystemInformation>
      <GraphicsDeviceInfo>
         <DirectXVersion><![CDATA[12.0]]></DirectXVersion>
         <DDIVersion><![CDATA[12]]></DDIVersion>
         <DDIVersionNumber><![CDATA[c]]></DDIVersionNumber>
         <DxDiagWHQLLevel><![CDATA[1]]></DxDiagWHQLLevel>
         <DriverSignedValid><![CDATA[True]]></DriverSignedValid>
         <DriverSigned><![CDATA[True]]></DriverSigned>
         <Manufacturer><![CDATA[NVIDIA]]></Manufacturer>
         <ChipType><![CDATA[NVIDIA GeForce RTX 3080 Laptop GPU]]></ChipType>
         <DACType><![CDATA[Integrated RAMDAC]]></DACType>
         <GraphicsHWMemory><![CDATA[24232 MB]]></GraphicsHWMemory>
         <DisplayMode><![CDATA[3840 x 2160 (32 bit) (60Hz)]]></DisplayMode>
         <VendorID><![CDATA[0x10DE]]></VendorID>
         <DeviceID><![CDATA[0x249C]]></DeviceID>
         <SubSystemID><![CDATA[0x147D1043]]></SubSystemID>
         <RevisionID><![CDATA[0x00A1]]></RevisionID>
         <GraphicsDriverFile><![CDATA[C:\WINDOWS\System32\DriverStore\FileRepository\nvamsig.inf_amd64_713c576b7c46e314\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvamsig.inf_amd64_713c576b7c46e314\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvamsig.inf_amd64_713c576b7c46e314\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvamsig.inf_amd64_713c576b7c46e314\nvldumdx.dll]]></GraphicsDriverFile>
         <DriverFileVersion><![CDATA[31.00.0015.5222]]></DriverFileVersion>
         <DriverDate><![CDATA[4/11/2024 3:00:00 AM]]></DriverDate>
         <WHQLLevel><![CDATA[1]]></WHQLLevel>
      </GraphicsDeviceInfo>
   </DxDiagInfo>
   <VideoDriverInfo>
      <ATIPackagingVersion><![CDATA[No value found]]></ATIPackagingVersion>
   </VideoDriverInfo>

2024-06-26, 14:15:02
Reply #6

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 640
    • View Profile
Hi,

It would be best if you can send us your scene file and the repro steps so we can try to repro the same crash on our end and find a solution for you.

https://support.chaos.com/hc/en-us/requests/new
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2024-06-26, 19:34:03
Reply #7

Maka

  • Active Users
  • **
  • Posts: 6
    • View Profile
I just did, so will see. I didn't archive those scenes. I wasn't sure if it was necessary.

2024-06-26, 19:35:45
Reply #8

Maka

  • Active Users
  • **
  • Posts: 6
    • View Profile
Hi

I have the same issue too.
did you find any solution or culprit for this error?


it is my error breif report


No, I haven't.

2024-06-27, 17:39:53
Reply #9

speltospel

  • Active Users
  • **
  • Posts: 52
    • View Profile
    • closeupvisual.com
Recently we faced the same problem.

try to overwrite materials. without Preserve
select basic Corona MTL

in our case there was a materials problem.

2024-06-27, 17:50:46
Reply #10

Maka

  • Active Users
  • **
  • Posts: 6
    • View Profile
Hi thank you for answering.
Can you please explain this more? I 'm not sure I know what you mean.
I have used "Render Overrides" before whenever I am sending clay renders to my client.
So I overwrite everything with some basic white Corona Physical Mat. and under Preserve I select: displacement, bump, light, opacity and glass material.
Is that what you had in mind?
Unfortunately when set up like that it still crashes...

2024-06-29, 19:09:12
Reply #11

majidadadb

  • Users
  • *
  • Posts: 3
    • View Profile
yes, exactly. I also converted all materials to Corona and used prune scene and other scene cleaners.
but this crash happens and does not fix .

I guess that it can be an issue with "corona scatter".
do you have corona scatter in your scene ?

I am not sure, but usually for me this crash happens after enabling corona scatter in the scene.
I mean not exactly after enabling but always this crash happens in my file after enabling at least one of corona scatter in the scene.
before enabling them usually the file works well. but I am not sure about this. just a guess.

and another check:
for me, the "Crashed Module Name" in all crashes are not the same.
how is it for yours?

« Last Edit: 2024-06-29, 19:14:14 by majidadadb »

2024-08-10, 23:10:55
Reply #12

furkanbudak

  • Users
  • *
  • Posts: 3
    • View Profile
Hi, by any chance you have a intel i9 13900k or 14900k CPU?

Can you please clarify that if you are using Corona 11 or Corona 11 HF 2?

Hello, I have a 14900KS processor as well, and whenever I start a render or activate a scene, Corona crashes (sometimes 3ds Max closes, sometimes the computer gives a blue screen). what should i do?


2024-08-15, 10:15:02
Reply #14

ronaldjung

  • Active Users
  • **
  • Posts: 72
    • View Profile
Hi, by any chance you have a intel i9 13900k or 14900k CPU?

Can you please clarify that if you are using Corona 11 or Corona 11 HF 2?

Hello, I have a 14900KS processor as well, and whenever I start a render or activate a scene, Corona crashes (sometimes 3ds Max closes, sometimes the computer gives a blue screen). what should i do?


I have a 13900K
It seems to be a Intel CPU problem.

I tweaked the maximum temperature of the CPU to 85º Celsius and Corona stopped crashing
Maybe with 90º would be sufficient, have to try.