Many crash on Vray with big scene

Hi,
Currently we render a big project with Vray and we have a lot of crash.

[2011/Sep/5|11:57:19] V-Ray: V-Ray for Maya version 2.15.01, revision 16500 from Sep 2 2011, 07:15:20
On Maya 2011 linux64.

The scene have many .vrscene and all textures are tiled exr, render in 4k on 24giga of ram on computers.

80% of time, we don’t know why we have a crash.
We have this :

[2011/Sep/5|12:07:21] V-Ray: Compiling geometry...
[2011/Sep/5|12:07:21] V-Ray: Rendering image...

maya encountered a fatal error

Signal: 11 (Unknown Signal)

Same with the standalone.

Today we catch an error :

[2011/Sep/5|12:03:32] V-Ray:  (Estimated time remaining:  0h  3m 51.6s): 60 % completed
maya.bin: tpp.c:66: __pthread_tpp_change_priority: Assertion `previous_prio == -1 || (previous_prio >= __sched_fifo_min_prio && previous_prio <= __sched_fifo_max_prio)' failed.
Segmentation fault
// Maya exited with status 139

I know it is hard to found why Vray crash. So, do you know how can i see why Vray crash to send you the bug ?

Thanks.

Edit : same in debug mode :

[2011/Sep/5|12:17:16] V-Ray debug: Compiling geometry...
[2011/Sep/5|12:17:16] V-Ray: Compiling geometry...
[2011/Sep/5|12:17:16] V-Ray debug: Preparing ray server.
[2011/Sep/5|12:17:16] V-Ray debug: Scene bounding box is [-22042.4,-1483.57,-22026.9]-[11354.5,-700.316,11370]
[2011/Sep/5|12:17:16] V-Ray debug: Preparing direct light manager.
[2011/Sep/5|12:17:16] V-Ray debug: Initializing built-in VFB.
[2011/Sep/5|12:17:16] V-Ray debug: Preparing global light manager.
[2011/Sep/5|12:17:16] V-Ray debug: Irradiance sample size is 84 bytes
[2011/Sep/5|12:17:16] V-Ray debug: Photon size is 56 bytes.
[2011/Sep/5|12:17:16] V-Ray debug: Light cache sample size is 120 bytes.
[2011/Sep/5|12:17:16] V-Ray debug: Rendering image.
[2011/Sep/5|12:17:16] V-Ray: Rendering image...
[2011/Sep/5|12:17:16] V-Ray debug: 
[2011/Sep/5|12:17:22] V-Ray:  (Estimated time remaining:  0h  9m 27.9s): 1 % completed

maya encountered a fatal error

Signal: 11 (Unknown Signal)

I can’t send you the scene, too big, too many dependency.

It may be better to use a stable build for this; there are some parts in the nightly builds which are currently being worked on.

In any case, you can use gdb to see where the crash happens.

Best regards,
Vlado

The last stable version for Maya 2011 linux64 (16/07/2011) have the bug “proxy + motion blur don’t respect the dynamic memory limit”. We can’t work with this. It is a problem.

I can fix it :slight_smile:

Best regards,
Vlado

Before to do this, we must to check our installations on computers which render. We don’t understand why some computer crash, and why some computers do not crash (it is random).

But yes, it will be great to fix this bug on stable version (because they must be stable ahah), and perhaps this bug also : http://www.chaosgroup.com/forums/vbulletin/showthread.php?64934-materialID-with-proxy-take-the-materialID-of-connected-shaders&p=528000#post528000
:slight_smile:

But the memory is more important.

Thank you Vlado.


*** glibc detected *** /usr/autodesk/maya2011-x64/vray/bin/vray.exe: corrupted double-linked list: 0x00007f94277c3c80 ***
======= Backtrace: =========
/lib64/libc.so.6[0x7f94cc2f3c76]
/lib64/libc.so.6[0x7f94cc2f750a]
/lib64/libc.so.6(__libc_malloc+0x79)[0x7f94cc2f8a59]
/usr/autodesk/maya2011-x64/vray/vrayplugins/libvray_GeomMeshFile.so(_ZN6VUtils11SDTreeBunchINS_8MeshFaceENS_16MinMemoryStorageELi1000ELi1000EE9buildNodeEPNS_5Bunch6SDNodeERKNS_3BoxES9_RKNS4_12BuildDataSoAIS1_E8iteratorEissPNS_16ProgressCallbackEPNS4_11ExactEventsIS1_EEsh+0x24f9)[0x7f94c4bf79f9]
/usr/autodesk/maya2011-x64/vray/vrayplugins/libvray_GeomMeshFile.so(_ZN6VUtils11SDTreeBunchINS_8MeshFaceENS_16MinMemoryStorageELi1000ELi1000EE9buildNodeEPNS_5Bunch6SDNodeERKNS_3BoxES9_RKNS4_12BuildDataSoAIS1_E8iteratorEissPNS_16ProgressCallbackEPNS4_11ExactEventsIS1_EEsh+0x2d37)[0x7f94c4bf8237]
======= Memory map: ========
00400000-00448000 r-xp 00000000 08:03 2500324                            /usr/autodesk/maya2011-x64/vray/bin/vray.exe
00648000-0064f000 rw-p 00048000 08:03 2500324                            /usr/autodesk/maya2011-x64/vray/bin/vray.exe
0064f000-0c4dc000 rw-p 00000000 00:00 0                                  [heap]

Hi Vlado,
If you can fix it quickly, it will be great. We have 70% of crash and not a lot of time.
It is urgent please…
Thank you.

Thanks, this helps; I will look around for potential problems, but still if you can get me a scene it will be very helpul.

Best regards,
Vlado

Just to say thanks to Vlado. He fixed the problem this … night. All is working now.
Chaos group have the best support.

Good to know that it’s working :slight_smile: Sorry for causing the issue in the first place.

Best regards,
Vlado