Most VTK-5-2 merges are being held until we have some dashboards set up against the branch, but it should be relatively soon...<br><br><br><div class="gmail_quote">On Fri, May 2, 2008 at 12:19 PM, Mathieu Malaterre <<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">done:<br>
<br>
$ cvs ci -m"BUG: RTLD_GLOBAL is still required on AMD64 platform,<br>
since dl module is missing, use an API equivalent one intead: DLFCN"<br>
__init__.py<br>
/cvsroot/VTK/VTK/Wrapping/Python/vtk/__init__.py,v  <--  __init__.py<br>
new revision: 1.14; previous revision: 1.13<br>
<br>
this bug is really nasty, I wish I knew a way to reproduce it easily<br>
instead of segfaulting in some random part of the C++ code...<br>
<br>
Thanks<br>
-M<br>
<div><div></div><div class="Wj3C7c"><br>
On Fri, May 2, 2008 at 6:13 PM, David Cole <<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>> wrote:<br>
> If you commit the changes to CVS HEAD, (and nobody objects to the<br>
> changes...) I will merge them to the VTK-5-2 branch...<br>
><br>
><br>
><br>
><br>
> On Fri, May 2, 2008 at 12:08 PM, Mathieu Malaterre<br>
> <<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>> wrote:<br>
><br>
> ><br>
> ><br>
> ><br>
> > I have just spent yet-another hour trying to figure out why the exact<br>
> > same code would seg fault when called from the python-wrapped layer<br>
> > and not the C++ layer. This is yet again the famous dlopen +<br>
> > RTLD_GLOBAL that still need to be loaded (well at least on my debian<br>
> > linux system).<br>
> ><br>
> > For some obscure reason the 'dl' python module has been removed on<br>
> > AMD64, but the API can be found in the equivalent 'DLFCN' module.<br>
> > Therefore I use the following approach in python: try first to load dl<br>
> > then DLFCN:<br>
> ><br>
> ><br>
> <a href="http://gdcm.svn.sourceforge.net/viewvc/gdcm/trunk/Utilities/VTK/vtkgdcm.py?view=markup" target="_blank">http://gdcm.svn.sourceforge.net/viewvc/gdcm/trunk/Utilities/VTK/vtkgdcm.py?view=markup</a><br>
> ><br>
> > ...<br>
> ><br>
> >  try:<br>
> >    import dl<br>
> >  except ImportError:<br>
> >    # are we on AMD64 ?<br>
> >    try:<br>
> >      import DLFCN as dl<br>
> >    except ImportError:<br>
> >      dl = None<br>
> > ...<br>
> ><br>
> > Could this be fixed in VTK 5.2 ?<br>
> ><br>
> > Thanks,<br>
> > --<br>
> > Mathieu<br>
> > _______________________________________________<br>
> > vtk-developers mailing list<br>
> > <a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br>
> > <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
> ><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<font color="#888888">Mathieu<br>
</font></blockquote></div><br>