[Paraview] seg.fault when reading VRML files twice
Kazuyoshi Furutaka
furutaka.kazuyoshi at jaea.go.jp
Tue Sep 2 22:50:11 EDT 2014
Dear ParaView experts...
As the subject says, I'm suffering from the segmentation faluts
when reading VRML files.
It occurs:
(i) File->Open a VRML file, display the content,
(File->Disconnect) then File->Open a VRML file and display it,
(ii) on linux (Fedora 20, binary package: paraview-4.1.0-1.fc20.i686)
as well as on windows (Vista Business SP2, "4.1.0 32-bit",
ParaView-4.1.0-Windows-32bit.exe, downloaded from
http://www.paraview.org/download/
(iii) regardless of whether the second VRML file is the same as
or different from the first one,
(iV) even with a simple VRML file as the attached one...
It DOES NOT occur when loading/displaying multiple VRML files
in the same session (w/o disconnecting)...
How can I avoid/fix this?
I'll attach a trimmed backtrace obtained on linux with gdb...
Thanks in advance.
Kazuyoshi
--
Kazuyoshi Furutaka
furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.wrl
Type: model/vrml
Size: 246 bytes
Desc: sample.wrl
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140903/bf14a99a/attachment.wrl>
-------------- next part --------------
Program received signal SIGSEGV, Segmentation fault.
yylex (self=self at entry=0x95fce80)
at /usr/src/debug/ParaView-v4.1.0/VTK/IO/Import/vtkVRMLImporter.cxx:4696
4696 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
(gdb) where
#0 yylex (self=self at entry=0x95fce80)
at /usr/src/debug/ParaView-v4.1.0/VTK/IO/Import/vtkVRMLImporter.cxx:4696
#1 0xb42e916a in yyparse (self=self at entry=0x95fce80)
at /usr/src/debug/ParaView-v4.1.0/VTK/IO/Import/vtkVRMLImporter.cxx:1118
#2 0xb42e99a3 in vtkVRMLImporter::ImportBegin (this=0x95fce80)
at /usr/src/debug/ParaView-v4.1.0/VTK/IO/Import/vtkVRMLImporter.cxx:5307
#3 0xb42e244c in vtkImporter::Read (this=0x95fce80)
at /usr/src/debug/ParaView-v4.1.0/VTK/IO/Import/vtkImporter.cxx:79
#4 0xb45ee50d in vtkVRMLSource::InitializeImporter (this=this at entry=0x928c3d0)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/VTKExtensions/Default/vtkVRMLSource.cxx:111
#5 0xb45eeb98 in vtkVRMLSource::RequestData (this=0x928c3d0, outputVector=
0x957d040)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/VTKExtensions/Default/vtkVRMLSource.cxx:94
#6 0xb213caa8 in vtkMultiBlockDataSetAlgorithm::ProcessRequest (
this=0x928c3d0, request=0x9526260, inputVector=0x0, outputVector=0x957d040)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkMultiBlockDataSetAlgorithm.cxx:88
#7 0xb2130df7 in vtkExecutive::CallAlgorithm (this=0xa2b0868,
request=0x9526260, direction=1, inInfo=0x0, outInfo=0x957d040)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkExecutive.cxx:745
#8 0xb212b2be in vtkDemandDrivenPipeline::ExecuteData (
this=this at entry=0xa2b0868, request=request at entry=0x9526260,
inInfo=inInfo at entry=0x0, outInfo=outInfo at entry=0x957d040)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:497
#9 0xb2128340 in vtkCompositeDataPipeline::ExecuteData (this=0xa2b0868,
request=0x9526260, inInfoVec=0x0, outInfoVec=0x957d040)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:175
#10 0xb212e1b3 in vtkDemandDrivenPipeline::ProcessRequest (
this=this at entry=0xa2b0868, request=request at entry=0x9526260,
inInfoVec=inInfoVec at entry=0x0, outInfoVec=outInfoVec at entry=0x957d040)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:279
#11 0xb2143e79 in vtkStreamingDemandDrivenPipeline::ProcessRequest (
this=0xa2b0868, request=request at entry=0x9526260, inInfoVec=0x0,
outInfoVec=outInfoVec at entry=0x957d040)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:346
#12 0xb212776e in vtkCompositeDataPipeline::ForwardUpstream (this=0xa401c28,
request=0x9526260)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:712
#13 0xb212e144 in vtkDemandDrivenPipeline::ProcessRequest (
this=this at entry=0xa401c28, request=request at entry=0x9526260,
inInfoVec=inInfoVec at entry=0x9515bc8, outInfoVec=outInfoVec at entry=0x8eab650)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:265
#14 0xb2143e79 in vtkStreamingDemandDrivenPipeline::ProcessRequest (
this=this at entry=0xa401c28, request=0x9526260, inInfoVec=0x9515bc8,
outInfoVec=outInfoVec at entry=0x8eab650)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:346
#15 0xb212cacb in vtkDemandDrivenPipeline::UpdateData (this=0xa401c28,
outputPort=0)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:448
#16 0xb2144b4b in vtkStreamingDemandDrivenPipeline::Update (this=0xa401c28,
port=0)
at /usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:399
#17 0xb489c4a7 in vtkSISourceProxy::UpdatePipeline (this=0x95f1d00, port=0,
time=0, doTime=true)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerImplementation/Core/vtkSISourceProxy.cxx:420
#18 0xb5078b9e in vtkSISourceProxyCommand (arlu=0x8772778, ob=0x95f1d00,
method=<optimized out>, msg=..., resultStream=...)
---Type <return> to continue, or q <return> to quit---
at /usr/src/debug/ParaView-v4.1.0/fedora/Wrapping/ClientServer/vtkSISourceProxyClientServer.cxx:113
#19 0xb40a1fe6 in vtkClientServerInterpreter::CallCommandFunction (
this=this at entry=0x8772778, cname=0xb48b6dd9 "vtkSISourceProxy",
ptr=ptr at entry=0x95f1d00, method=method at entry=0xa066675 "UpdatePipeline",
msg=..., result=...)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:840
#20 0xb40a23aa in vtkClientServerInterpreter::ProcessCommandInvoke (
this=this at entry=0x8772778, css=..., midx=midx at entry=0)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:437
#21 0xb40a2de7 in vtkClientServerInterpreter::ProcessOneMessage (
this=this at entry=0x8772778, css=..., message=message at entry=0)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:269
#22 0xb40a3030 in vtkClientServerInterpreter::ProcessStream (this=0x8772778,
css=...)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:238
#23 0xb486a06f in vtkPVSessionCore::ExecuteStreamInternal (this=0x8772738,
stream=..., ignore_errors=false)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:668
#24 0xb4869e46 in vtkPVSessionCore::ExecuteStream (this=0x8772738, location=1,
stream=..., ignore_errors=false)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:638
#25 0xb486876a in vtkPVSessionBase::ExecuteStream (this=0x87726f0, location=1,
stream=..., ignore_errors=false)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerImplementation/Core/vtkPVSessionBase.cxx:173
#26 0xb4983787 in vtkSMProxy::ExecuteStream (this=0xa065720, stream=...,
ignore_errors=ignore_errors at entry=false, location=1, location at entry=0)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerManager/Core/vtkSMProxy.cxx:2262
#27 0xb4971665 in vtkSMOutputPort::UpdatePipelineInternal (this=0xa07fed0,
time=0, doTime=true)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerManager/Core/vtkSMOutputPort.cxx:211
#28 0xb49718f3 in vtkSMOutputPort::UpdatePipeline (this=0xa07fed0,
time=time at entry=0)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerManager/Core/vtkSMOutputPort.cxx:183
#29 0xb49c6f12 in vtkSMSourceProxy::UpdatePipeline (this=0xa065720, time=0)
at /usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerManager/Core/vtkSMSourceProxy.cxx:337
#30 0xb78e0698 in pqPipelineSource::updatePipeline (this=0x9578288)
at /usr/src/debug/ParaView-v4.1.0/Qt/Core/pqPipelineSource.cxx:156
#31 0xb789d6ab in pqDisplayPolicy::getPreferredViewType (this=0x85f23a8,
opPort=0x8eb4820, update_pipeline=true)
at /usr/src/debug/ParaView-v4.1.0/Qt/Core/pqDisplayPolicy.cxx:84
#32 0xb789d0ae in pqDisplayPolicy::getPreferredView (this=0x85f23a8,
opPort=0x8eb4820, currentView=0x8e0d3f0)
at /usr/src/debug/ParaView-v4.1.0/Qt/Core/pqDisplayPolicy.cxx:165
#33 0xb789cc6c in pqDisplayPolicy::createPreferredRepresentation (
this=0x85f23a8, opPort=0x8eb4820, view=0x8e0d3f0,
dont_create_view=dont_create_view at entry=false)
at /usr/src/debug/ParaView-v4.1.0/Qt/Core/pqDisplayPolicy.cxx:229
#34 0xb7c6f38d in showData (this=<optimized out>, view=<optimized out>,
source=0x9578288)
at /usr/src/debug/ParaView-v4.1.0/Qt/Components/pqPropertiesPanel.cxx:188
#35 apply (view=<optimized out>, this=<optimized out>)
at /usr/src/debug/ParaView-v4.1.0/Qt/Components/pqPropertiesPanel.cxx:148
#36 pqPropertiesPanel::apply (this=this at entry=0x87201a8)
at /usr/src/debug/ParaView-v4.1.0/Qt/Components/pqPropertiesPanel.cxx:686
#37 0xb7d484d0 in pqPropertiesPanel::qt_static_metacall (_o=0x87201a8, _id=3,
_a=0xa231c18, _c=<optimized out>)
at /usr/src/debug/ParaView-v4.1.0/fedora/Qt/Components/moc_pqPropertiesPanel.cxx:82
---Type <return> to continue, or q <return> to quit---
#38 0x4d1fe55b in QMetaCallEvent::placeMetaCall (this=0x962a8f0,
object=0x87201a8) at kernel/qobject.cpp:524
#39 0x4d20689b in QObject::event (this=0x87201a8, e=0x962a8f0)
at kernel/qobject.cpp:1222
#40 0x4d5108b8 in QWidget::event (this=0x87201a8, event=0x962a8f0)
at kernel/qwidget.cpp:8859
#41 0x4d4b2b74 in QApplicationPrivate::notify_helper (this=0x8542898,
receiver=0x87201a8, e=0x962a8f0) at kernel/qapplication.cpp:4565
#42 0x4d4b9aa9 in QApplication::notify (this=0xbfffe8a8, receiver=0x87201a8,
e=0x962a8f0) at kernel/qapplication.cpp:4351
#43 0x4d1ec226 in QCoreApplication::notifyInternal (this=0xbfffe8a8,
receiver=receiver at entry=0x87201a8, event=event at entry=0x962a8f0)
at kernel/qcoreapplication.cpp:953
#44 0x4d1ef76a in sendEvent (event=0x962a8f0, receiver=0x87201a8)
at kernel/qcoreapplication.h:231
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x8543050)
at kernel/qcoreapplication.cpp:1577
#46 0x4d1efc6d in QCoreApplication::sendPostedEvents (
receiver=receiver at entry=0x0, event_type=event_type at entry=0)
at kernel/qcoreapplication.cpp:1470
#47 0x4d21e70a in sendPostedEvents () at kernel/qcoreapplication.h:236
#48 postEventSourceDispatch (s=s at entry=0x8555798)
at kernel/qeventdispatcher_glib.cpp:300
#49 0x4c4ab556 in g_main_dispatch (context=0x85556c8) at gmain.c:3066
#50 g_main_context_dispatch (context=context at entry=0x85556c8) at gmain.c:3642
#51 0x4c4ab920 in g_main_context_iterate (context=context at entry=0x85556c8,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
at gmain.c:3713
#52 0x4c4ab9e9 in g_main_context_iteration (context=0x85556c8, may_block=1)
at gmain.c:3774
#53 0x4d21dda4 in QEventDispatcherGlib::processEvents (this=this at entry=
0x85555f0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#54 0x4d56925c in QGuiEventDispatcherGlib::processEvents (this=0x85555f0,
flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#55 0x4d1eaac0 in QEventLoop::processEvents (this=this at entry=0xbfffe844,
flags=...) at kernel/qeventloop.cpp:149
#56 0x4d1eae51 in QEventLoop::exec (this=this at entry=0xbfffe844, flags=...)
at kernel/qeventloop.cpp:204
#57 0x4d1f0c7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#58 0x4d4b0e95 in QApplication::exec () at kernel/qapplication.cpp:3823
#59 0x0804de91 in main (argc=1, argv=0xbfffe974)
at /usr/src/debug/ParaView-v4.1.0/fedora/Applications/ParaView/paraview_main.cxx:98
More information about the ParaView
mailing list