[vtkusers] Repeatable core using nested vtkPropAssembly under VTK 3.2.0 and X

Eric F. Sorton eric at cctcorp.com
Wed Apr 24 12:55:56 EDT 2002


Hi All,

I am attempting to create a hierarchy of objects.  I am using the
vtkPropAssembly class as a container.   As discussed, in the documentation, it
should be possible to create a hierarchy of vktPropAssembly.  When I create
nested vtkPropAssembly's, my application dumps a core.

I used the graphics/examplesCxx/Cone4.cxx as a base and added two
vtkPropAssembly classes.  See attached code.  When I execute this code, I get a
core dump.  Pulling up the debugger, I get the following stack trace:

#0  0x40328add in vtkProp3D::PokeMatrix () from /usr/lib/libVTKGraphics.so.3.2
#1  0x407ea3d4 in vtkPropAssembly::RenderOpaqueGeometry () from /usr/lib/libVTKCommon.so.3.2
#2  0x40277c81 in vtkRenderer::UpdateGeometry () from /usr/lib/libVTKGraphics.so.3.2
#3  0x40319049 in vtkOpenGLRenderer::DeviceRender () from /usr/lib/libVTKGraphics.so.3.2
#4  0x40276f0c in vtkRenderer::Render () from /usr/lib/libVTKGraphics.so.3.2
#5  0x4027bc95 in vtkRendererCollection::Render () from /usr/lib/libVTKGraphics.so.3.2
#6  0x402739e5 in vtkRenderWindow::DoStereoRender () from /usr/lib/libVTKGraphics.so.3.2
#7  0x40273992 in vtkRenderWindow::DoFDRender () from /usr/lib/libVTKGraphics.so.3.2
#8  0x402735b6 in vtkRenderWindow::DoAARender () from /usr/lib/libVTKGraphics.so.3.2
#9  0x40272e2b in vtkRenderWindow::Render () from /usr/lib/libVTKGraphics.so.3.2
#10 0x4032f771 in vtkXRenderWindow::Render () from /usr/lib/libVTKGraphics.so.3.2
#11 0x0804b24a in main (argc=1, argv=0xbffff9a4) at Cone4.cxx:49
#12 0x40ab917f in __libc_start_main () from /lib/libc.so.6

I am doing something wrong?  Is this a bug in 3.2.0?  Is it fixed in 4.0?  Any
information would be appreciated.

Eric

-- 
+--=--=- Eric F. Sorton <eric at cctcorp.com> =--=--=--=--=--=--=--=--=--=-+ 
| Command and Control Technologies Corporation (http://www.cctcorp.com) |
|            Phone: (321) 264-1193   Fax: (321) 383-5096                |
+--=--=--=--=--=--=--=--=--=--=--=-+-=--=--=--=--=--=--=--=--=--=--=--=-+ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Cone4.cxx
Type: text/x-c++src
Size: 1704 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020424/5c2a5929/attachment.cxx>


More information about the vtkusers mailing list