[vtkusers] terminate called after throwing an instance of 'std::bad_alloc'

David Cole david.cole at kitware.com
Wed Aug 27 21:20:56 EDT 2008


Well... as I don't have a Fedora machine ready to rock, I can't promise to
do anything about this in a timely manner either... Simpler steps to
reproduce this problem would probably be helpful.

Has anyone else out there seen anything like this building VTK with CMake
2.6.1...?


On Wed, Aug 27, 2008 at 4:22 PM, Axel Thimm <Axel.Thimm at atrpms.net> wrote:

> On Wed, Aug 27, 2008 at 01:18:50PM -0400, David Cole wrote:
> > Is this a cmake built into Fedora or is it one you built yourself?
>
> It is the one from Fedora.
>
> > Could you try building CMake from CVS HEAD and see if the problem
> > persists? If so, could you try a Debug build of CMake and figure out
> > what is throwing the bad_alloc exception?
>
> OK, I'll try, but I can't promise to do it in a timely manner. I won't
> be able to use Fedora's infrastructure as I will have to override the
> cmake package.
>
> > On Tue, Aug 26, 2008 at 1:37 PM, Axel Thimm <Axel.Thimm at atrpms.net>
> wrote:
> >
> > > On Tue, Aug 26, 2008 at 01:16:26PM -0400, David Cole wrote:
> > > > What cmake are you using?
> > > > (Output of 'cmake --version' / 'which cmake'...)
> > >
> > > 2.6.1.
> > >
> > > > On Tue, Aug 26, 2008 at 1:14 PM, Axel Thimm <Axel.Thimm at atrpms.net>
> > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I'm packaging vtk for Fedora/RHEL. The upcoming Fedora 10 fails on
> > > > > vtk's build with:
> > > > >
> > > > > terminate called after throwing an instance of 'std::bad_alloc'
> > > > >  what():  std::bad_alloc
> > > > > /var/tmp/rpm-tmp.QfJ2sI: line 66: 27301 Aborted
> cmake .
> > > > > -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON
> > > > > -DBUILD_EXAMPLES:BOOL=ON -DBUILD_TESTING:BOOL=ON
> > > > > -DCMAKE_INSTALL_PREFIX:PATH=/builddir/VTK/tmpinstall
> > > > > -DVTK_INSTALL_BIN_DIR:PATH=/usr/bin
> > > > > -DVTK_INSTALL_INCLUDE_DIR:PATH=/usr/include/vtk
> > > > > -DVTK_INSTALL_LIB_DIR:PATH=/usr/lib64
> > > > > -DVTK_DATA_ROOT:PATH=/usr/share/vtkdata-5.0.4
> > > > > -DTK_INTERNAL_PATH:PATH=/usr/include/tk-private/generic
> > > > > -DVTK_OPENGL_HAS_OSMESA:BOOL=ON -DVTK_WRAP_PYTHON:BOOL=ON
> > > > > -DVTK_WRAP_JAVA:BOOL=ON
> > > -DJAVA_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include
> > > > > -DJAVA_INCLUDE_PATH2:PATH=/usr/lib/jvm/java/include/linux
> > > > > -DJAVA_AWT_INCLUDE_PATH:PATH=/usr/lib/jvm/java/include
> > > > > -DVTK_WRAP_TCL:BOOL=ON -DVTK_USE_GL2PS:BOOL=ON
> > > -DVTK_USE_GUISUPPORT:BOOL=ON
> > > > > -DVTK_USE_PARALLEL:BOOL=ON -DVTK_USE_SYSTEM_EXPAT=ON
> > > > > -DVTK_USE_SYSTEM_FREETYPE=ON -DVTK_USE_SYSTEM_JPEG=ON
> > > > > -DVTK_USE_SYSTEM_PNG=ON -DVTK_USE_SYSTEM_TIFF=ON
> > > -DVTK_USE_SYSTEM_ZLIB=ON
> > > > > -DVTK_USE_QVTK=ON
> > > -DVTK_INSTALL_QT_DIR=/usr/lib64/qt-3.3/plugins/designer
> > > > >
> > > > > The build steps are the same ones as used on F8/F9/RHEL4/RHEL5, I
> > > > > guess the difference will be in newer gcc/glibc. Any idea on how to
> > > > > fix this? Thanks!
> > > > >
> > > > > _______________________________________________
> > > > > This is the private VTK discussion list.
> > > > > Please keep messages on-topic. Check the FAQ at:
> > > > > http://www.vtk.org/Wiki/VTK_FAQ
> > > > > Follow this link to subscribe/unsubscribe:
> > > > > http://www.vtk.org/mailman/listinfo/vtkusers
> > > > >
> > > > >
> > >
> > > > _______________________________________________
> > > > This is the private VTK discussion list.
> > > > Please keep messages on-topic. Check the FAQ at:
> > > http://www.vtk.org/Wiki/VTK_FAQ
> > > > Follow this link to subscribe/unsubscribe:
> > > > http://www.vtk.org/mailman/listinfo/vtkusers
> > >
> > >
> > >
> > > _______________________________________________
> > > This is the private VTK discussion list.
> > > Please keep messages on-topic. Check the FAQ at:
> > > http://www.vtk.org/Wiki/VTK_FAQ
> > > Follow this link to subscribe/unsubscribe:
> > > http://www.vtk.org/mailman/listinfo/vtkusers
> > >
> > >
>
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> --
> Axel.Thimm at ATrpms.net
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080827/30b5d213/attachment.htm>


More information about the vtkusers mailing list