View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004976ParaView(No Category)public2007-05-07 10:142007-05-21 14:44
ReporterDavid Karelitz 
Assigned ToBerk Geveci 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004976: Clipping a higher order element exodus dataset causes a segfault
DescriptionIf you open vtkSNLData/BeamModes.exo and then try to clip it, ParaView3 segfaults.

Here's the stack trace:
#0 0x05c3d2d4 in vtkDataArrayTemplate<int>::InsertTuple (this=0x9c1d6c8, i=0, j=2, source=0x10)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Common/vtkDataArrayTemplate.txx:345
#1 0x0577b5c6 in vtkDataSetAttributes::CopyTuple (this=0x9c39c18, fromData=0x10, toData=0x9c1d6c8, fromId=2,
    toId=0) at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkDataSetAttributes.cxx:838
#2 0x0577b009 in vtkDataSetAttributes::CopyData (this=0x9c39c18, fromPd=0x9ca5a60, fromId=2, toId=0)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkDataSetAttributes.cxx:690
#3 0x058cf8cb in vtkTetra::Clip (this=0x9ca65b0, value=0, cellScalars=0x9ca71f0, locator=0x9c1ee50,
    tets=0x9c217d0, inPD=0x9c39b68, outPD=0x9c39b68, inCD=0x9ca5a60, cellId=2, outCD=0x9c39c18, insideOut=0)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkTetra.cxx:927
#4 0x05749c6f in vtkCell3D::Clip (this=0x9ca4b58, value=0, cellScalars=0x9ca5d20, locator=0x9c1ee50,
    tets=0x9c217d0, inPD=0x9ca59b0, outPD=0x9c39b68, inCD=0x9ca5a60, cellId=2, outCD=0x9c39c18, insideOut=0)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkCell3D.cxx:313
#5 0x05880e6e in vtkQuadraticHexahedron::Clip (this=0x9c1da20, value=0, cellScalars=0x9c217f8, locator=0x9c1ee50,
    tets=0x9c217d0, inPd=0x9c4e2c8, outPd=0x9c39b68, inCd=0x9c00f18, cellId=2, outCd=0x9c39c18, insideOut=0)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkQuadraticHexahedron.cxx:553
#6 0x0579c3bb in vtkGenericCell::Clip (this=0x9c238f0, value=0, cellScalars=0x9c217f8, locator=0x9c1ee50,
    connectivity=0x9c217d0, inPd=0x9c4e2c8, outPd=0x9c39b68, inCd=0x9c00f18, cellId=2, outCd=0x9c39c18, insideOut=0)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkGenericCell.cxx:174
#7 0x041f371e in vtkClipDataSet::RequestData (this=0x9a44740, inputVector=0x9b6dec0, outputVector=0x9c4bf68)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Graphics/vtkClipDataSet.cxx:378
#8 0x058e812d in vtkUnstructuredGridAlgorithm::ProcessRequest (this=0x9a44740, request=0x9ab8578,
    inputVector=0x9b6dec0, outputVector=0x9c4bf68)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkUnstructuredGridAlgorithm.cxx:85
0000009 0x0578a43f in vtkExecutive::CallAlgorithm (this=0x9c4c820, request=0x9ab8578, direction=1, inInfo=0x9b6dec0,
    outInfo=0x9c4bf68) at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkExecutive.cxx:748
#10 0x05784458 in vtkDemandDrivenPipeline::ExecuteData (this=0x9c4c820, request=0x9ab8578, inInfo=0x9b6dec0,
    outInfo=0x9c4bf68) at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkDemandDrivenPipeline.cxx:503
0000011 0x0576228d in vtkCompositeDataPipeline::ExecuteData (this=0x9c4c820, request=0x9ab8578, inInfoVec=0x9b6dec0,
    outInfoVec=0x9c4bf68) at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkCompositeDataPipeline.cxx:418
#12 0x05783bcf in vtkDemandDrivenPipeline::ProcessRequest (this=0x9c4c820, request=0x9ab8578, inInfoVec=0x9b6dec0,
    outInfoVec=0x9c4bf68) at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkDemandDrivenPipeline.cxx:276
#13 0x058b3f63 in vtkStreamingDemandDrivenPipeline::ProcessRequest (this=0x9c4c820, request=0x9ab8578,
    inInfoVec=0x9b6dec0, outInfoVec=0x9c4bf68)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx:149
#14 0x057619c4 in vtkCompositeDataPipeline::ProcessRequest (this=0x9c4c820, request=0x9ab8578, inInfoVec=0x9b6dec0,
    outInfoVec=0x9c4bf68) at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkCompositeDataPipeline.cxx:314
#15 0x057842aa in vtkDemandDrivenPipeline::UpdateData (this=0x9c4c820, outputPort=0)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkDemandDrivenPipeline.cxx:444
#16 0x058b412f in vtkStreamingDemandDrivenPipeline::Update (this=0x9c4c820, port=0)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx:193
#17 0x05771767 in vtkDataObject::Update (this=0x9c39670)
    at /home/projects/ParaView3-Trunk/ParaView3/VTK/Filtering/vtkDataObject.cxx:984
#18 0x038ef4b7 in vtkPVUpdateSuppressor::ForceUpdate (this=0x9c2d0a0)
    at /home/projects/ParaView3-Trunk/ParaView3/Servers/Filters/vtkPVUpdateSuppressor.cxx:159
#19 0x07a4d2a7 in vtkPVUpdateSuppressorCommand (arlu=0x92c75d8, ob=0x9c2d0a0, method=0x9c0300d "ForceUpdate",
    msg=@0xbfe40ad0, resultStream=@0x92c6b18)
    at /home/projects/ParaView3-Trunk/Build-Debug/Servers/Filters/vtkPVUpdateSuppressorClientServer.cxx:107
#20 0x06689f6d in vtkClientServerInterpreter::ProcessCommandInvoke (this=0x92c75d8, css=@0xbfe40d30, midx=0)
    at /home/projects/ParaView3-Trunk/ParaView3/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx:386
#21 0x06689740 in vtkClientServerInterpreter::ProcessOneMessage (this=0x92c75d8, css=@0xbfe40d30, message=0)
    at /home/projects/ParaView3-Trunk/ParaView3/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx:213
#22 0x0668960a in vtkClientServerInterpreter::ProcessStream (this=0x92c75d8, css=@0xbfe40d30)
    at /home/projects/ParaView3-Trunk/ParaView3/Utilities/VTKClientServer/vtkClientServerInterpreter.cxx:182
#23 0x01870be7 in vtkSelfConnection::ProcessStreamLocally (this=0x9722578, stream=@0xbfe40d30)
    at /home/projects/ParaView3-Trunk/ParaView3/Servers/Common/vtkSelfConnection.cxx:119
#24 0x01870ba5 in vtkSelfConnection::SendStreamToClient (this=0x9722578, stream=@0xbfe40d30)
    at /home/projects/ParaView3-Trunk/ParaView3/Servers/Common/vtkSelfConnection.cxx:112
#25 0x018120d2 in vtkProcessModuleConnection::SendStream (this=0x9722578, servers=1, stream=@0xbfe40d30)
    at /home/projects/ParaView3-Trunk/ParaView3/Servers/Common/vtkProcessModuleConnection.cxx:254
#26 0x018159e5 in vtkProcessModuleConnectionManager::SendStream (this=0x931df50, connectionID=5, serverFlags=1,
    stream=@0xbfe40d30, reset=1)
    at /home/projects/ParaView3-Trunk/ParaView3/Servers/Common/vtkProcessModuleConnectionManager.cxx:517
#27 0x0181e995 in vtkProcessModule::SendStream (this=0x92c7768, connectionID=5, server=1, stream=@0xbfe40d30,
    resetStream=1) at /home/projects/ParaView3-Trunk/ParaView3/Servers/Common/vtkProcessModule.cxx:834
#28 0x01549831 in vtkSMProxy::UpdateProperty (this=0x9539720, name=0xab4e9f "ForceUpdate", force=1)
    at /home/projects/ParaView3-Trunk/ParaView3/Servers/ServerManager/vtkSMProxy.cxx:716
#29 0x0073c419 in vtkSMProxy::InvokeCommand (this=0x9539720, name=0xab4e9f "ForceUpdate")
    at /home/projects/ParaView3-Trunk/ParaView3/Servers/ServerManager/vtkSMProxy.h:189
#30 0x009ddf9a in pqPipelineSource::getDataInformation (this=0x9c347b8)
    at /home/projects/ParaView3-Trunk/ParaView3/Qt/Core/pqPipelineSource.cxx:507
#31 0x009a1f9c in pqDisplayPolicy::getPreferredView (this=0x9493a18, source=0x9c347b8, currentView=0x98bf808)
    at /home/projects/ParaView3-Trunk/ParaView3/Qt/Core/pqDisplayPolicy.cxx:100
#32 0x009a25f6 in pqDisplayPolicy::createPreferredDisplay (this=0x9493a18, source=0x9c347b8, view=0x98bf808,
    dont_create_view=false) at /home/projects/ParaView3-Trunk/ParaView3/Qt/Core/pqDisplayPolicy.cxx:189
#33 0x009d44e6 in pqPendingDisplayManager::createPendingDisplays (this=0x949b628, activeview=0x98bf808)
    at /home/projects/ParaView3-Trunk/ParaView3/Qt/Core/pqPendingDisplayManager.cxx:158
#34 0x00719322 in pqMainWindowCore::createPendingDisplays (this=0x94ae784)
    at /home/projects/ParaView3-Trunk/ParaView3/Qt/Components/pqMainWindowCore.cxx:3437
#35 0x007c01b9 in pqMainWindowCore::qt_metacall (this=0x94ae784, _c=QMetaObject::InvokeMetaMethod, _id=65,
    _a=0xbfe4107c) at /home/projects/ParaView3-Trunk/Build-Debug/Qt/Components/moc_pqMainWindowCore.cxx:322
#36 0x06fc5bbe in QMetaObject::activate (sender=0x9604ac8, from_signal_index=28, to_signal_index=28, argv=0x0)
    at kernel/qobject.cpp:2938
#37 0x06fc5f96 in QMetaObject::activate (sender=0x9604ac8, m=0x885594, local_signal_index=1, argv=0x0)
    at kernel/qobject.cpp:2981
#38 0x007c234e in pqObjectInspectorWidget::accepted (this=0x9604ac8)
    at /home/projects/ParaView3-Trunk/Build-Debug/Qt/Components/moc_pqObjectInspectorWidget.cxx:127
#39 0x00737edd in pqObjectInspectorWidget::accept (this=0x9604ac8)
    at /home/projects/ParaView3-Trunk/ParaView3/Qt/Components/pqObjectInspectorWidget.cxx:428
#40 0x007c21e8 in pqObjectInspectorWidget::qt_metacall (this=0x9604ac8, _c=QMetaObject::InvokeMetaMethod, _id=7,
    _a=0xbfe41a98) at /home/projects/ParaView3-Trunk/Build-Debug/Qt/Components/moc_pqObjectInspectorWidget.cxx:101
#41 0x06fc5bbe in QMetaObject::activate (sender=0x9715370, from_signal_index=29, to_signal_index=30,
    argv=0xbfe41a98) at kernel/qobject.cpp:2938
#42 0x06fc5dcf in QMetaObject::activate (sender=0x9715370, m=0x125bd70, from_local_signal_index=2,
    to_local_signal_index=3, argv=0xbfe41a98) at kernel/qobject.cpp:2990
#43 0x010ff774 in QAbstractButton::clicked (this=0x9715370, _t1=false)
    at .moc/release-shared/moc_qabstractbutton.cpp:180
#44 0x00f24a52 in QAbstractButtonPrivate::emitClicked (this=0x9719100) at widgets/qabstractbutton.cpp:515
#45 0x00f25748 in QAbstractButtonPrivate::click (this=0x9719100) at widgets/qabstractbutton.cpp:508
#46 0x00f25970 in QAbstractButton::mouseReleaseEvent (this=0x9715370, e=0xbfe421d0)
    at widgets/qabstractbutton.cpp:1074
#47 0x00ccf510 in QWidget::event (this=0x9715370, event=0xbfe421d0) at kernel/qwidget.cpp:5696
#48 0x00f2497c in QAbstractButton::event (this=0x9715370, e=0xbfe421d0) at widgets/qabstractbutton.cpp:1036
0000049 0x00f9d95e in QPushButton::event (this=0x9715370, e=0xbfe421d0) at widgets/qpushbutton.cpp:580
#50 0x00c8a92d in QApplicationPrivate::notify_helper (this=0x92719f8, receiver=0x9715370, e=0xbfe421d0)
    at kernel/qapplication.cpp:3432
#51 0x00c8b2e6 in QApplication::notify (this=0xbfe42bc0, receiver=0x9715370, e=0xbfe421d0)
    at kernel/qapplication.cpp:3131
#52 0x00ce6566 in QETWidget::translateMouseEvent (this=0x9715370, event=0xbfe426d0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:184
#53 0x00ce53f5 in QApplication::x11ProcessEvent (this=0xbfe42bc0, event=0xbfe426d0)
    at kernel/qapplication_x11.cpp:2848
0000054 0x00d05ca9 in x11EventSourceDispatch (s=0x9277b28, callback=0, user_data=0x0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:75
0000055 0x03b4174b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0x03b431d2 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#57 0x03b436b8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#58 0x06fd7b9f in QEventDispatcherGlib::processEvents (this=0x9276670, flags=Cannot access memory at address 0x1
)
    at kernel/qeventdispatcher_glib.cpp:361
#59 0x00d057b7 in QGuiEventDispatcherGlib::processEvents (this=0x9276670, flags={i = 94072200})
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1633
0000060 0x06fb5447 in QEventLoop::processEvents (this=0xbfe42990, flags=Cannot access memory at address 0x10
)
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1633
#61 0x06fb55e0 in QEventLoop::exec (this=0xbfe42990, flags={i = 0})
    at ../../include/QtCore/../../src/corelib/global/qglobal.h:1650
#62 0x06fb9c09 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qglobal.h:1634
#63 0x009e4c80 in pqProcessModuleGUIHelper::RunGUIStart (this=0x929f440, argc=1, argv=0x92eeec8)
    at /home/projects/ParaView3-Trunk/ParaView3/Qt/Core/pqProcessModuleGUIHelper.cxx:189
#64 0x0181d586 in vtkProcessModule::StartClient (this=0x92c7768, argc=1, argv=0x92eeec8)
    at /home/projects/ParaView3-Trunk/ParaView3/Servers/Common/vtkProcessModule.cxx:363
#65 0x0181d14d in vtkProcessModule::Start (this=0x92c7768, argc=1, argv=0x92eeec8)
    at /home/projects/ParaView3-Trunk/ParaView3/Servers/Common/vtkProcessModule.cxx:310
#66 0x0182798a in vtkProcessModuleGUIHelper::Run (this=0x929f440, options=0x92f1930)
    at /home/projects/ParaView3-Trunk/ParaView3/Servers/Common/vtkProcessModuleGUIHelper.cxx:38
0000067 0x009c22ba in pqMain::Run (app=@0xbfe42bc0, helper=0x929f440)
    at /home/projects/ParaView3-Trunk/ParaView3/Qt/Core/pqMain.cxx:129
0000068 0x0806a953 in main (argc=1, argv=0xbfe42c64)
    at /home/projects/ParaView3-Trunk/ParaView3/Applications/Client/main.cxx:49
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0007632)
Berk Geveci (administrator)
2007-05-12 16:02

This was due to a bug in vtkQuadraticHexahedron. Fixed.
(0007681)
Ken Moreland (manager)
2007-05-17 15:28

I was about to check this off when I noticed that although the filter no longer crashes, it now produces the wrong result. The values for the cell data get all screwed up. Look carefully at the values for the block id after running the clip filter.

In some ways, this is worse than a crash because it returns the wrong result.
(0007685)
Berk Geveci (administrator)
2007-05-18 09:58

Input cell data was being copied only to the first subdivided cell. It should be copied to all. Fixed on HEAD and 3.0.

 Issue History
Date Modified Username Field Change
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team