probs with 2.4/linux/egcs

Les Schaffer godzilla at netmeg.net
Thu Sep 2 10:39:59 EDT 1999


i just upgraded my vtk installation to 2.4 from 2.1 and have several
problems.

1.) when trying the java test Regression.class, i get an undefined
symbol:

Delete__9vtkObject

in /usr/local/lib/libVTKGraphicsJava.so


2.) two calls to glDrawPixels need the argument 'type' typecast to
(GLenum)type in order to compile.

(amazingly that was the only error in all of the compile!)

3.) well, make fails in building libVTKLocal.so, but i figured that
was simply due to there being nothing in the local directory to
compile (except for some empty LocalInit.cxx's).

4.) when i run something like Cone.py, the GL window sits there like a 
dummy, not rendering. until i do something.

strace -p PID shows it gets stuck in a select call:


(gustav)/usr/local/src/vtk2.4/graphics/examplesPython/: python Cone.py &
[1] 702
(gustav)/usr/local/src/vtk2.4/graphics/examplesPython/: strace -p 702
select(5, [4], [], [], NULL

if i move the mouse into the window, this happens, but still no
rendering:

(gustav)/usr/local/src/vtk2.4/graphics/examplesPython/: strace -p 706
select(5, [4], [], [], NULL)            = 1 (in [4])
ioctl(4, FIONREAD, [32])                = 0
read(4, "\7\0.\1\213\320\277\376&\0\0\0\2"..., 32) = 32
ioctl(4, FIONREAD, [0])                 = 0
ioctl(4, FIONREAD, [0])                 = 0
gettimeofday({936281886, 874414}, NULL) = 0
select(5, [4], [], [], NULL)            = 1 (in [4])
ioctl(4, FIONREAD, [32])                = 0
read(4, "\7\0.\1\247\346\277\376&\0\0\0\2"..., 32) = 32
ioctl(4, FIONREAD, [0])                 = 0
ioctl(4, FIONREAD, [0])                 = 0
gettimeofday({936281892, 533131}, NULL) = 0
select(5, [4], [], [], NULL

finally if i switch vertual desktops and return to the GL rendering
window, this happens and rendering proceeds:

ioctl(4, FIONREAD, [64])                = 0
read(4, "\23\0.\1\2\0\200\2\2\0\200\2\0\0"..., 64) = 64
ioctl(4, FIONREAD, [0])                 = 0
write(4, "\3\1\2\0\2\0\200\2\16\0\2\0\2\0\200"..., 16) = 16
read(4, 0xbfffe880, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\1\0/\1\3\0\0\0 \0\0\0\1\0\1\1\377"..., 32) = 32
read(4, "=\200\343\0\35\200\2\0\f\0?\10", 12) = 12
read(4, "\1\0200\1\0\0\0\0&\0\0\0\0\0\26\0"..., 32) = 32
gettimeofday({936281904, 306535}, NULL) = 0
write(4, "\3\1\2\0\2\0\200\2\16\0\2\0\2\0\200"..., 16) = 16
read(4, 0xbfffe2c0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\1\0001\1\3\0\0\0 \0\0\0\1\0\1\1"..., 32) = 32
read(4, "=\200\343\0\35\200\2\0\f\0?\10", 12) = 12
read(4, "\1\0202\1\0\0\0\0&\0\0\0\0\0\26\0"..., 32) = 32
write(4, "\16\1\2\0\2\0\200\2", 8)      = 8
read(4, 0xbfffe290, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\1\0203\1\0\0\0\0&\0\0\0\0\0\26\0"..., 32) = 32
gettimeofday({936281904, 622570}, NULL) = 0
gettimeofday({936281904, 718406}, NULL) = 0
gettimeofday({936281904, 720841}, NULL) = 0
write(4, "\201\3\n\0\2\0\200\2\7\0\200\2,\1"..., 44) = 44
read(4, 0xbfffe874, 32)                 = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\1\0025\1\0\0\0\0\2\0\0\1\0\0\0\0"..., 32) = 32
ioctl(4, FIONREAD, [0])                 = 0
ioctl(4, FIONREAD, [0])                 = 0
gettimeofday({936281904, 827815}, NULL) = 0
select(5, [4], [], [], NULL


sometimes, i can click the mouse into the rendering window and the
slect gets unstuck, butu sometimes the app crashes with a segfault as
well.

any suggestions? i am downloading the nightly build now to see if that 
helps...


-- 
____        Les Schaffer              ___| --->> Engineering R&D <<---
Theoretical & Applied Mechanics          |  Designspring, Inc. 
Center for Radiophysics & Space Research |  http://www.designspring.com/
Cornell Univ.  schaffer at tam.cornell.edu  |  les at designspring.com


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list