[Paraview] Problems Including Custom Class At Compile In 2.4.1

Kent Eschenberg eschenbe at psc.edu
Thu Dec 1 14:19:40 EST 2005


I'm adding a reader to ParaView 2.4.1 on Fedora Core 4 using the approach 
described in

   <http://www.paraview.org/Wiki/ParaView:Extend>

The program crashes after the splash window (logos) is shown but before the 
main window appears with this message:

===
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
Abort
===

The same thing happened under 2.4.0 where the debugger reported the 
following location for the crash:


=======================================
#0  0x005d9402 in __kernel_vsyscall ()
#1  0x00129118 in raise () from /lib/libc.so.6
#2  0x0012a888 in abort () from /lib/libc.so.6
#3  0x004e4dc4 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#4  0x004e2a31 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#5  0x004e2a66 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0x004e2b9a in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0x00475787 in std::__throw_logic_error () from /usr/lib/libstdc++.so.6
#8  0x004be52e in std::operator+<char, std::char_traits<char>, 
std::allocator<char> > () from /usr/lib/libstdc++.so.6
#9  0x004bf03c in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
#10 0x089996a9 in vtkPVXMLPackageParser::LoadServerManagerFile (
    this=0xc4f7590, le=0xc4ec900)
    at /home/eschenbe/PV/PVsrc2.4.0/GUI/Client/vtkPVXMLPackageParser.cxx:700
#11 0x0899cf3e in vtkPVXMLPackageParser::ProcessConfiguration 
(this=0xc4f7590)
    at /home/eschenbe/PV/PVsrc2.4.0/GUI/Client/vtkPVXMLPackageParser.cxx:183
#12 0x0899d826 in vtkPVXMLPackageParser::StoreConfiguration (this=0xc4f7590,
    window=0xbe74ee8)
    at /home/eschenbe/PV/PVsrc2.4.0/GUI/Client/vtkPVXMLPackageParser.cxx:153
#13 0x08964663 in vtkPVWindow::ReadSourceInterfacesFromString 
(this=0xbe74ee8,
    str=0xc4db358 "<!-- MFIX Reader 11/7/2005 -->\n<!-- $Source: 
/home/eschenbe/

---Type <return> to continue, or q <return> to quit---

CVSvault/PV/MFIX/Kit/GUIXML.xml,v $ -->\n<!-- $Author: eschenbe $ -->\n<!-- 
$Revision: 1.3 $ -->\n<!-- $Date: 2005/11/07 20:47:51 $ -->\n<Module"...)
    at /home/eschenbe/PV/PVsrc2.4.0/GUI/Client/vtkPVWindow.cxx:4325
#14 0x0885fb83 in vtkPVInitialize::Initialize (this=0xc4cf880, 
win=0xbe74ee8)
    at 
/home/eschenbe/PV/PV/GUI/Client/vtkParaViewIncludeModulesToPVInitialize.h:29
#15 0x08964264 in vtkPVWindow::ReadSourceInterfaces (this=0xbe74ee8)
    at /home/eschenbe/PV/PVsrc2.4.0/GUI/Client/vtkPVWindow.cxx:4280
#16 0x08966567 in vtkPVWindow::Create (this=0xbe74ee8, app=0xbcf5f00)
    at /home/eschenbe/PV/PVsrc2.4.0/GUI/Client/vtkPVWindow.cxx:1408
#17 0x0875ba72 in vtkPVApplication::Start (this=0xbcf5f00, argc=1,
    argv=0xbbfbd60)
    at /home/eschenbe/PV/PVsrc2.4.0/GUI/Client/vtkPVApplication.cxx:1170
#18 0x089a9948 in vtkPVProcessModuleGUIHelper::ActualRun (this=0xbbf9240,
    argc=1, argv=0xbbfbd60)
    at 
/home/eschenbe/PV/PVsrc2.4.0/GUI/Client/vtkPVProcessModuleGUIHelper.cxx:180
#19 0x089a9a08 in vtkPVProcessModuleGUIHelper::RunGUIStart (this=0xbbf9240,
    argc=1, argv=0xbbfbd60, numServerProcs=1, myId=0)
    at 
/home/eschenbe/PV/PVsrc2.4.0/GUI/Client/vtkPVProcessModuleGUIHelper.cxx:165
#20 0x0956475c in vtkPVProcessModule::Start (this=0xbbfbd98, argc=1,
    argv=0xbbfbd60)
===================================


Solutions? Thanks!
Kent
Pittsburgh Supercomputing Center


More information about the ParaView mailing list