# Started getting this error on a few of our slaves: unhandled exception

**URL:** <https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236>\
**Category:** Issues\
**Created:** [June 20, 2014, 4:07pm UTC](https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236 "2014-06-20T16:07:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [June 20, 2014, 4:07pm UTC](https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236/1 "2014-06-20T16:07:16Z")

</div>

Any ideas what could cause this?

> [2014/Jun/20|16:31:58] Updating “metal structure”[2014/Jun/20|16:31:58] Loading bitmaps for “metal compress”  
> [2014/Jun/20|16:31:58] Updating “metal compress”  
> [2014/Jun/20|16:31:58] Loading bitmaps for “legs”  
> [2014/Jun/20|16:31:58] Updating “legs”  
> [2014/Jun/20|16:31:58] Loading bitmaps for “office chair”  
> [2014/Jun/20|16:31:58] Updating “office chair”  
> [2014/Jun/20|16:31:58] Loading bitmaps for “desk tops”  
> [2014/Jun/20|16:31:58] Updating “desk tops”  
> [2014/Jun/20|16:31:58] Loading bitmaps for “desk privacy”  
> [2014/Jun/20|16:31:58] Updating “desk privacy”  
> [2014/Jun/20|16:31:58] Loading bitmaps for “Map #7”  
> [2014/Jun/20|16:31:58] Updating “Map #7”  
> [2014/Jun/20|16:31:58] Loading bitmaps for “metal panel smooth”  
> [2014/Jun/20|16:31:58] Updating “metal panel smooth”  
> [2014/Jun/20|16:31:58] Loading bitmaps for “mastic”  
> [2014/Jun/20|16:31:58] Updating “mastic”  
> [2014/Jun/20|16:31:58] Preparing objects  
> [2014/Jun/20|16:31:58] Preparing instances  
> [2014/Jun/20|16:31:58] Scene setup: 29.6 s  
> [2014/Jun/20|16:31:58] Broadcasting NOTIFY\_PRE\_RENDERFRAME.  
> [2014/Jun/20|16:31:58] Calling renderImage()  
> [2014/Jun/20|16:31:58] Calling endFrame()  
> [2014/Jun/20|16:31:58] Entering endFrame().  
> [2014/Jun/20|16:31:58] Broadcasting NOTIFY\_POST\_RENDERFRAME.  
> [2014/Jun/20|16:31:58] Applying render effects.  
> [2014/Jun/20|16:31:58] Number of raycasts: 0  
> [2014/Jun/20|16:31:58] Camera rays: 0  
> [2014/Jun/20|16:31:58] Shadow rays: 0  
> [2014/Jun/20|16:31:58] GI rays: 0  
> [2014/Jun/20|16:31:58] Reflection rays: 0  
> [2014/Jun/20|16:31:58] Refraction rays: 0  
> [2014/Jun/20|16:31:58] Unshaded rays: 0  
> [2014/Jun/20|16:31:58] Clearing global light manager.  
> [2014/Jun/20|16:31:58] Clearing direct light manager.  
> [2014/Jun/20|16:31:58] Clearing ray server.  
> [2014/Jun/20|16:31:58] Clearing geometry.  
> [2014/Jun/20|16:31:58] Calling frameEnd() on render instances.  
> [2014/Jun/20|16:31:58] error: UNHANDLED EXCEPTION: Calling frameEnd() on render instances  
> Last marker is at ./src/vrayrenderer.cpp, line 3152: Preparing camera sampler
> 
> ![vray exception.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/0/0/00e62f63ed7bd237f58859d9348cff2e006b9bc1.jpeg)

---

<div class="post-metadata">

**Author:** ![AlexP](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@AlexP](https://forums.chaos.com/u/AlexP)\
**Post date:** [June 21, 2014, 9:46am UTC](https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236/2 "2014-06-21T09:46:19Z")

</div>

Have you got any Railclone or Forest Pack in there?

---

<div class="post-metadata">

**Author:** ![tashko.zashev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tashko.zashev/32/275280_2.png) [@tashko.zashev](https://forums.chaos.com/u/tashko.zashev)\
**Post date:** [June 23, 2014, 11:51am UTC](https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236/3 "2014-06-23T11:51:06Z")

</div>

If some of the render nodes are able to render the scene successfully, then check the memory consumption of the problematic nodes.  
Do you have same amount of memory installed on all render machines ?

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [June 23, 2014, 12:12pm UTC](https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236/4 "2014-06-23T12:12:58Z")

</div>

We do have both railclone and forestpro objects in many of our scenes. Ram is either 16 or 32GB on each machine.

---

<div class="post-metadata">

**Author:** ![AlexP](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@AlexP](https://forums.chaos.com/u/AlexP)\
**Post date:** [June 23, 2014, 12:43pm UTC](https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236/5 "2014-06-23T12:43:15Z")

</div>

Could be the same issue [Bug: V-Ray DR Crash](http://forum.itoosoft.com/index.php?topic=2150.0)

We get it often with railclone & FPP, instanciating using the respective tools solves the problem, far from ideal though.

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [June 23, 2014, 1:02pm UTC](https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236/6 "2014-06-23T13:02:44Z")

</div>

> [@Vray RT ditches the composite textures when rendered with Production render option.](https://forums.chaos.com/t/vray-rt-ditches-the-composite-textures-when-rendered-with-production-render-option/45259/2):
>
> Could be the same issue [Bug: V-Ray DR Crash](http://forum.itoosoft.com/index.php?topic=2150.0)
> 
> We get it often with railclone & FPP, instanciating using the respective tools solves the problem, far from ideal though.

Possibly the same thing. What do you mean about instancing using the respective tools?

---

<div class="post-metadata">

**Author:** ![AlexP](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@AlexP](https://forums.chaos.com/u/AlexP)\
**Post date:** [June 23, 2014, 1:06pm UTC](https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236/7 "2014-06-23T13:06:04Z")

</div>

> [@Displacement fun](https://forums.chaos.com/t/displacement-fun/45084/12):
>
> Possibly the same thing. What do you mean about instancing using the respective tools?

RC and FPP come with Railclone Tools & Forest Tools  
They can turn the objects into regular instances and disable the RC/Forest object.

They are under the ‘hammer’ tab (no idea what this is called) → more → they will be both be in the list

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [June 23, 2014, 1:18pm UTC](https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236/8 "2014-06-23T13:18:14Z")

</div>

Ok - I will pass that info on. Sounds like rather an annoying workaround. The weird thing is that I have only noticed this over the last week or so.

---

<div class="post-metadata">

**Author:** ![Itoosoft](https://avatars.discourse-cdn.com/v4/letter/i/ea5d25/32.png) [@Itoosoft](https://forums.chaos.com/u/Itoosoft)\
**Post date:** [June 24, 2014, 11:11am UTC](https://forums.chaos.com/t/started-getting-this-error-on-a-few-of-our-slaves-unhandled-exception/50236/9 "2014-06-24T11:11:42Z")

</div>

If you suffer this problem and use RailClone 2.2, please try with the latest RC 2.3 beta and tell us if there is some change.  
We have included a fix in this release that would solve the problem, but we are not sure. This bug is not easy to reproduce, and until now we only got the crash using RC 2.2.

Thanks,
