[vtkusers] TestTkImageWindowWidget.py Segmentation Fault
Donna Hanlon
donna at v1.wustl.edu
Tue Mar 12 10:51:33 EST 2002
Hi,
Mesa is giving me trouble on Solaris. Last summer, I build vtk libs
(3.1.1, vtk source $Revision: 1.476 $, $Date: 2000/04/03) using Mesa
3.2.1. Unfortunately, my application core dumps upon ImageWindow
rendering if double buffering is turned on; otherwise, it runs fine.
I really want double buffering, so I tried upgrading to Mesa 4 with
vtk3.2, thinking it might help. Now
./imaging/examplesPython/TestTkImageWindowWidget.py crashes with "Bus
Error (core dumped)".
It happens when self->ImageWindow->Render() is called from
vtkTkImageWindowWidget_MakeImageWindow, specifically when
vtkMesaImageWindow::MakeDefaultWindow() does glMatrixMode( GL_MODELVIEW
).
I configured Mesa like this:
./configure --enable-static --prefix=/usr/local/mesa-4.0.1
(Note: But I'm using shared libraries -- not static. The static
versions are for another application.)
I configured vtk like this:
./configure --with-mesa --with-shared --with-tkwidget --with-contrib
--with-patented --with-python
My CC is gcc and CXX is g++, version 2.95.3 20010315.
Running ldd vtkTkImageWindowWidget shows it's finding the right libs:
libGL.so.1 => /usr/local/mesa-4.0.1/lib/libGL.so.1
libGLU.so.1 => /usr/local/mesa-4.0.1/lib/libGLU.so.1
libOSMesa.so.4 =>
/usr/local/mesa-4.0.1/lib/libOSMesa.so.4
My OS is SunOS 5.8 Generic_108528-11 sun4u sparc SUNW,Ultra-5_10.
Does anyone know what the problem could be?
If anyone has vtk libs *configured as above* that run well on Solaris,
please let me know what you did (vtk/Mesa versions, compilers,
configure, etc.).
Donna
More information about the vtkusers
mailing list