Full crash in this scene... and it's nearly empty... what's happening?
The scene it's attached, it comes from a production scene that keeps crashing, and I don't understand the problem, so I cannot render the scene, which is a big problem, I have to deliver the render
I cleaned up the scene as much as I could... in fact there is not a single object there, just open the scene, hit F12 and... crash
Full crash in this scene... and it's nearly empty... what's happening?
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Full crash in this scene... and it's nearly empty... what's happening?
- Attachments
-
- p4_base_luxrender_bug_2.blend
- (617.81 KiB) Downloaded 185 times
Re: Full crash in this scene... and it's nearly empty... what's happening?
The scene crashes because you are using the environment light cache. If you disable it, it renders. I have to check, why the crash happens.
Re: Full crash in this scene... and it's nearly empty... what's happening?
If just a default cube with Disney shader is added, then it works okay for me.
Re: Full crash in this scene... and it's nearly empty... what's happening?
Yes, the problem seems to be that the scene is completly empty and env. light cache is enabled. It tries to build the cache but it is emty. If you look into the console output there is warning.
Code: Select all
[LuxRays][62.781] Total triangle count: 0
[LuxRays][62.781] Empty BVH
[LuxCore][63.703] EnvLightVisibilityCache evaluating best radius
[LuxCore][63.844] EnvLightVisibilityCache best cache radius: 0.15
[LuxCore][63.844] SceneVisibility trace thread count: 12
[LuxCore][64.078] SceneVisibility total entries: 0
[LuxCore][64.078] EnvLightVisibilityCache building cache entries: 0
[LuxCore][64.078] WARNING: EnvLightVisibilityCache has an empty cache
[LuxCore][64.187] [PathOCLRenderEngine] OpenCL task count: 262144
[LuxCore][64.187] [PathOCLBaseRenderEngine] OpenCL max. page memory size: 8363020Kbytes
[LuxCore][64.187] Compile Geometry
[LuxCore][64.203] Scene geometry compilation time: 0ms
[LuxCore][64.203] Compile 1 Textures
[LuxCore][64.219] Textures compilation time: 0ms
[LuxCore][64.219] Compile 1 Materials
[LuxCore][64.219] Material compilation time: 0ms
[LuxCore][64.219] Compile Lights
Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FFB64388300
Module : F:\Users\Michael\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\BlendLuxCore\bin\pyluxcore.pyd
Re: Full crash in this scene... and it's nearly empty... what's happening?
This is very empty scene:
Code: Select all
[...]
[LuxRays][62.781] Total triangle count: 0
[...]
Re: Full crash in this scene... and it's nearly empty... what's happening?
Ok, then that's not the crash I was tracing, because I had that crash with objects in the scene, I'll try to reproduce the crash again with some object and upload again tomorrow, thanks
Anyways, this crash should not be happening, right?
What is weird is that the crash only happens under OpenCL, not under CPU.
Anyways, this crash should not be happening, right?
What is weird is that the crash only happens under OpenCL, not under CPU.
Re: Full crash in this scene... and it's nearly empty... what's happening?
IMO the automated tests should contain corner case scenes like this empty one, with all caches enabled.
Re: Full crash in this scene... and it's nearly empty... what's happening?
By the way, do note, that even if it worked this env. cache can even hurt performance.juangea wrote: ↑Sun Jan 19, 2020 9:58 pm Ok, then that's not the crash I was tracing, because I had that crash with objects in the scene, I'll try to reproduce the crash again with some object and upload again tomorrow, thanks
Anyways, this crash should not be happening, right?
What is weird is that the crash only happens under OpenCL, not under CPU.
In a semi open, or mostly open scene like studio for a product and a hdri, etc...
So only use it in a case where you have opening in a room and need to get environment light in there... I personally don't ever use it cause it's a nest of problems, nothing else... It's basically a corner case when it does what it needs to....
Re: Full crash in this scene... and it's nearly empty... what's happening?
Oh yes, the original scene was an interior scene, I see a proper decent speed up with it enabled, but I see also some crashes, so I’ll try to provide crashy blend files with it to nail down the problems