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

Axel Thimm Axel.Thimm at ATrpms.net
Tue Aug 26 13:14:03 EDT 2008


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!
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080826/437e1b64/attachment.pgp>


More information about the vtkusers mailing list