[Paraview] Segfault in PLY reader

Kevin H. Hobbs hobbsk at ohio.edu
Wed Apr 22 11:43:51 EDT 2015


Paraview segfaults when attempting to read Armadillo.ply from Stanford:

http://graphics.stanford.edu/pub/3Dscanrep/armadillo/Armadillo.ply.gz

The segfault happens both with the system PV on Fedora 20 :

$ rpm -q paraview
paraview-4.1.0-1.fc20.x86_64

and with the nightly dashboard version.

This system is bubbles on the dashboard.

I'm recompiling the nightly version with debug options now, but here is
a backtrace from the system PV and gdb :


#0  0x00007fffd9bb0746 in vtkPLYReader::RequestData (this=<optimized
out>, outputVector=<optimized out>)
    at /usr/src/debug/ParaView-v4.1.0/VTK/IO/PLY/vtkPLYReader.cxx:294
#1  0x00007fffe2b98740 in vtkExecutive::CallAlgorithm (this=0x1f763a0,
request=0x1efd1c0,
    direction=<optimized out>, inInfo=0x0, outInfo=0x1edb720)
    at
/usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkExecutive.cxx:745
#2  0x00007fffe2b93997 in vtkDemandDrivenPipeline::ExecuteData
(this=this at entry=0x1f763a0,
    request=request at entry=0x1efd1c0, inInfo=inInfo at entry=0x0,
outInfo=outInfo at entry=0x1edb720)
    at
/usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:497
#3  0x00007fffe2b91639 in vtkCompositeDataPipeline::ExecuteData
(this=0x1f763a0, request=0x1efd1c0, inInfoVec=0x0,
    outInfoVec=0x1edb720)
    at
/usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:175
#4  0x00007fffe2b96211 in vtkDemandDrivenPipeline::ProcessRequest
(this=this at entry=0x1f763a0,
    request=request at entry=0x1efd1c0, inInfoVec=inInfoVec at entry=0x0,
outInfoVec=outInfoVec at entry=0x1edb720)
    at
/usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:279
#5  0x00007fffe2ba9169 in
vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0x1f763a0,
    request=request at entry=0x1efd1c0, inInfoVec=0x0,
outInfoVec=outInfoVec at entry=0x1edb720)
    at
/usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:346
#6  0x00007fffe2b90bfa in vtkCompositeDataPipeline::ForwardUpstream
(this=0x1f9a340, request=0x1efd1c0)
    at
/usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkCompositeDataPipeline.cxx:712
#7  0x00007fffe2b961bb in vtkDemandDrivenPipeline::ProcessRequest
(this=this at entry=0x1f9a340,
    request=request at entry=0x1efd1c0,
inInfoVec=inInfoVec at entry=0x1538320, outInfoVec=outInfoVec at entry=0x1f4aa30)
    at
/usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:265
#8  0x00007fffe2ba9169 in
vtkStreamingDemandDrivenPipeline::ProcessRequest
(this=this at entry=0x1f9a340,
    request=0x1efd1c0, inInfoVec=0x1538320,
outInfoVec=outInfoVec at entry=0x1f4aa30)
    at
/usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:346
#9  0x00007fffe2b94e0d in vtkDemandDrivenPipeline::UpdateData
(this=0x1f9a340, outputPort=<optimized out>)
    at
/usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx:448
#10 0x00007fffe2ba9cb5 in vtkStreamingDemandDrivenPipeline::Update
(this=0x1f9a340, port=0)
    at
/usr/src/debug/ParaView-v4.1.0/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx:399
#11 0x00007ffff301b2db in vtkSISourceProxyCommand (arlu=0xeacb40,
ob=0x1f0b800, method=<optimized out>, msg=...,
    resultStream=...)
    at
/usr/src/debug/ParaView-v4.1.0/fedora-openmpi/Wrapping/ClientServer/vtkSISourceProxyClientServer.cxx:113
#12 0x00007fffedc2e867 in
vtkClientServerInterpreter::CallCommandFunction (this=this at entry=0xeacb40,
    cname=0x7ffff123a239 "vtkSISourceProxy", ptr=ptr at entry=0x1f0b800,
    method=method at entry=0x1f50009 "UpdatePipeline", msg=..., result=...)
    at
/usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:840
#13 0x00007fffedc2ebb2 in
vtkClientServerInterpreter::ProcessCommandInvoke
(this=this at entry=0xeacb40, css=...,
    midx=midx at entry=0)
    at
/usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:437
#14 0x00007fffedc2f54d in vtkClientServerInterpreter::ProcessOneMessage
(this=this at entry=0xeacb40, css=...,
    message=message at entry=0)
    at
/usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:269
#15 0x00007fffedc2f75d in vtkClientServerInterpreter::ProcessStream
(this=0xeacb40, css=...)
    at
/usr/src/debug/ParaView-v4.1.0/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:238
#16 0x00007ffff11f3469 in vtkPVSessionCore::ExecuteStreamInternal
(this=0xeacad0, stream=...,
    ignore_errors=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at
/usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:668
#17 0x00007ffff11f328e in vtkPVSessionCore::ExecuteStream
(this=0xeacad0, location=<optimized out>, stream=...,
    ignore_errors=<optimized out>)
    at
/usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:638
#18 0x00007ffff11f1f74 in vtkPVSessionBase::ExecuteStream
(this=0xeaca40, location=1, stream=...,
    ignore_errors=<optimized out>)
    at
/usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerImplementation/Core/vtkPVSessionBase.cxx:173
#19 0x00007ffff17138dc in vtkSMOutputPort::UpdatePipelineInternal
(this=0x1f764f0, time=0, doTime=<optimized out>)
    at
/usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerManager/Core/vtkSMOutputPort.cxx:211
#20 0x00007ffff1762030 in vtkSMSourceProxy::UpdatePipeline
(this=0x1eb8690, time=0)
    at
/usr/src/debug/ParaView-v4.1.0/ParaViewCore/ServerManager/Core/vtkSMSourceProxy.cxx:337
#21 0x00007ffff6c7da79 in pqDisplayPolicy::getPreferredViewType
(this=<optimized out>, opPort=0x1f7e5c0,
    update_pipeline=<optimized out>) at
/usr/src/debug/ParaView-v4.1.0/Qt/Core/pqDisplayPolicy.cxx:84
#22 0x00007ffff6c7d4e9 in pqDisplayPolicy::getPreferredView
(this=0xbdc160, opPort=0x1f7e5c0, currentView=0x1a42240)
    at /usr/src/debug/ParaView-v4.1.0/Qt/Core/pqDisplayPolicy.cxx:165
#23 0x00007ffff6c7d0db in pqDisplayPolicy::createPreferredRepresentation
(this=0xbdc160, opPort=0x1f7e5c0,
    view=<optimized out>, dont_create_view=<optimized out>)
    at /usr/src/debug/ParaView-v4.1.0/Qt/Core/pqDisplayPolicy.cxx:229
#24 0x00007ffff74681c0 in showData (this=<optimized out>,
view=0x1a42240, source=0x1edbef0)
    at
/usr/src/debug/ParaView-v4.1.0/Qt/Components/pqPropertiesPanel.cxx:188
#25 apply (view=0x1a42240, this=<optimized out>)
    at
/usr/src/debug/ParaView-v4.1.0/Qt/Components/pqPropertiesPanel.cxx:148
#26 pqPropertiesPanel::apply (this=0xdadd60)
    at
/usr/src/debug/ParaView-v4.1.0/Qt/Components/pqPropertiesPanel.cxx:686
#27 0x00007fffe086c35a in QMetaObject::activate
(sender=sender at entry=0xdaf600,
    m=m at entry=0x7fffe1bd0bc0 <QAbstractButton::staticMetaObject>,
local_signal_index=local_signal_index at entry=2,
    argv=argv at entry=0x7fffffffce30) at kernel/qobject.cpp:3567
#28 0x00007fffe1753bd2 in QAbstractButton::clicked
(this=this at entry=0xdaf600, _t1=false)
    at .moc/release-shared/moc_qabstractbutton.cpp:219
#29 0x00007fffe14973c3 in QAbstractButtonPrivate::emitClicked
(this=this at entry=0xdb0310)
    at widgets/qabstractbutton.cpp:548
#30 0x00007fffe1498777 in QAbstractButtonPrivate::click
(this=this at entry=0xdb0310)
    at widgets/qabstractbutton.cpp:541
#31 0x00007fffe149887c in QAbstractButton::mouseReleaseEvent
(this=0xdaf600, e=0x7fffffffd350)
    at widgets/qabstractbutton.cpp:1123
#32 0x00007fffe1123cd8 in QWidget::event (this=0xdaf600,
event=0x7fffffffd350) at kernel/qwidget.cpp:8389
#33 0x00007fffe10d0e6c in QApplicationPrivate::notify_helper
(this=0xb1d7e0, receiver=0xdaf600, e=0x7fffffffd350)
    at kernel/qapplication.cpp:4565
#34 0x00007fffe10d7901 in QApplication::notify (this=<optimized out>,
receiver=0xdaf600, e=0x7fffffffd350)
    at kernel/qapplication.cpp:4108
#35 0x00007fffe08578dd in QCoreApplication::notifyInternal
(this=0x7fffffffdb10, receiver=0xdaf600,
    event=0x7fffffffd350) at kernel/qcoreapplication.cpp:953
#36 0x00007fffe10d7077 in QApplicationPrivate::sendMouseEvent
(receiver=0xdaf600, event=0x7fffffffd350,
    alienWidget=0xdaf600, nativeWidget=0xda7ff0, buttonDown=<optimized
out>, lastMouseReceiver=...,
    spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#37 0x00007fffe114c6db in QETWidget::translateMouseEvent (this=0xda7ff0,
event=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at kernel/qapplication_x11.cpp:4540
#38 0x00007fffe114b14c in QApplication::x11ProcessEvent
(this=0x7fffffffdb10, event=event at entry=0x7fffffffd6c0)
    at kernel/qapplication_x11.cpp:3663
#39 0x00007fffe1172b54 in x11EventSourceDispatch (s=s at entry=0xb1ea30,
callback=0x0, user_data=0x0)
    at kernel/qguieventdispatcher_glib.cpp:148
#40 0x00007fffdbcf22a6 in g_main_dispatch (context=0xb1e900) at gmain.c:3066
#41 g_main_context_dispatch (context=context at entry=0xb1e900) at gmain.c:3642
#42 0x00007fffdbcf2628 in g_main_context_iterate
(context=context at entry=0xb1e900, block=block at entry=1,
    dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3713
#43 0x00007fffdbcf26dc in g_main_context_iteration (context=0xb1e900,
may_block=1) at gmain.c:3774
#44 0x00007fffe08863fe in QEventDispatcherGlib::processEvents
(this=0xb1e790, flags=...)
    at kernel/qeventdispatcher_glib.cpp:450
#45 0x00007fffe1172cd6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...)
    at kernel/qguieventdispatcher_glib.cpp:207
#46 0x00007fffe085636f in QEventLoop::processEvents
(this=this at entry=0x7fffffffdab0, flags=...)
    at kernel/qeventloop.cpp:149
#47 0x00007fffe08566bd in QEventLoop::exec
(this=this at entry=0x7fffffffdab0, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007fffe085bd89 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#49 0x00007fffe10cf4ec in QApplication::exec () at
kernel/qapplication.cpp:3823
#50 0x00000000004074b2 in main (argc=1, argv=0x7fffffffdc38)
    at
/usr/src/debug/ParaView-v4.1.0/fedora-openmpi/Applications/ParaView/paraview_main.cxx:98

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 173 bytes
Desc: OpenPGP digital signature
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150422/9c8de276/attachment.sig>


More information about the ParaView mailing list