Any further ideas on how to hack this? For example I don&#39;t see this problem when I open and reopen windows with mayavi which I suppose use the same technology. Perhaps they don&#39;t run into the same problem because they use vtk on top of qt or wx?. There must be a workaround I hope. Very sorry I didn&#39;t report this earlier. <br>
<br><div class="gmail_quote">On Tue, Jul 19, 2011 at 7:05 PM, Eleftherios Garyfallidis <span dir="ltr">&lt;<a href="mailto:garyfallidis@gmail.com">garyfallidis@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Unfortunately not. After added ren.SetRenderWindow(None) still get the same BadRequest error. :-(<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Jul 19, 2011 at 6:52 PM, David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>On Tue, Jul 19, 2011 at 11:39 AM, Eleftherios Garyfallidis<br>
&lt;<a href="mailto:garyfallidis@gmail.com" target="_blank">garyfallidis@gmail.com</a>&gt; wrote:<br>
&gt; When I do add window.RemoveRenderer(ren) after iren.Start() the next time I<br>
&gt; call show I get segmentation fault.<br>
<br>
</div>You&#39;ve found a bug.  I read through the cxx code for<br>
window.RemoveRenderer(ren) and it doesn&#39;t call<br>
ren-&gt;SetRenderWindow(NULL) like it should.<br>
<br>
You can try adding ren.SetRenderWindow(None) after RemoveRenderer()<br>
and see if that helps.<br>
<font color="#888888"><br>
 - David<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>