MantisBT - ParaView
View Issue Details
0004431ParaView(No Category)public2007-02-08 14:192007-04-02 16:36
David Karelitz 
Dave DeMarle 
highmajoralways
closedfixed 
 
 
0004431: Windows crash using Programmable Filter
When I tried to use the programmable filter today, It was crashing on line 1559 in vtkPythonUtil.cxx. The ptr variable was invalid, but it had an actual address. This was using Python 2.4 enthought edition
No tags attached.
Issue History
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0006380)
David Karelitz   
2007-02-08 14:46   
Here's the stack trace:
> vtkCommonPythonD.dll!vtkPythonGetObjectFromObject(_object * arg=0x0e32e860, const char * type=0x0e3cc124) Line 1559 + 0x9 C++
     vtkCommonPythonD.dll!PyVTKClass_PyCall(PyVTKClass * self=0x0e3cc0e0, _object * arg=0x0e32e860, _object * kw=0x00000000) Line 601 + 0x23 C++
     python24.dll!1e01957c()
     python24.dll!1e026942()
     python24.dll!1e0278c8()
     python24.dll!1e0292b8()
     python24.dll!1e0295f7()
     python24.dll!1e05e6d4()
     python24.dll!1e029fa9()
     python24.dll!1e02a61c()
     python24.dll!1e07f049()
     python24.dll!1e02a672()
     python24.dll!1e08efbc()
     python24.dll!1e08f65d()
     python24.dll!1e08fc4c()
     vtkPVPythonInterpretor.dll!vtkPVPythonInterpretor::RunSimpleString(const char * const script=0x0d076b60) Line 286 + 0x1b C++
     vtkPVFilters.dll!vtkPythonProgrammableFilter::Exec() Line 190 C++
     vtkPVFilters.dll!vtkPythonProgrammableFilter::ExecuteScript(void * arg=0x0d017ca8) Line 161 C++
     vtkGraphics.dll!vtkProgrammableFilter::RequestData(vtkInformation * __formal=0x0d0b5b08, vtkInformationVector * * inputVector=0x0cfbaca8, vtkInformationVector * outputVector=0x0d017da0) Line 133 + 0xf C++
     vtkFiltering.dll!vtkDataSetAlgorithm::ProcessRequest(vtkInformation * request=0x0d0b5b08, vtkInformationVector * * inputVector=0x0cfbaca8, vtkInformationVector * outputVector=0x0d017da0) Line 175 + 0x1c C++
     vtkFiltering.dll!vtkExecutive::CallAlgorithm(vtkInformation * request=0x0d0b5b08, int direction=1, vtkInformationVector * * inInfo=0x0cfbaca8, vtkInformationVector * outInfo=0x0d017da0) Line 748 + 0x1f C++
     vtkFiltering.dll!vtkDemandDrivenPipeline::ExecuteData(vtkInformation * request=0x0d0b5b08, vtkInformationVector * * inInfo=0x0cfbaca8, vtkInformationVector * outInfo=0x0d017da0) Line 513 + 0x1b C++
     vtkFiltering.dll!vtkCompositeDataPipeline::ExecuteData(vtkInformation * request=0x0d0b5b08, vtkInformationVector * * inInfoVec=0x0cfbaca8, vtkInformationVector * outInfoVec=0x0d017da0) Line 354 + 0x14 C++
     vtkFiltering.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x0d0b5b08, vtkInformationVector * * inInfoVec=0x0cfbaca8, vtkInformationVector * outInfoVec=0x0d017da0) Line 286 + 0x1c C++
     vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x0d0b5b08, vtkInformationVector * * inInfoVec=0x0cfbaca8, vtkInformationVector * outInfoVec=0x0d017da0) Line 148 + 0x14 C++
     vtkFiltering.dll!vtkCompositeDataPipeline::ProcessRequest(vtkInformation * request=0x0d0b5b08, vtkInformationVector * * inInfoVec=0x0cfbaca8, vtkInformationVector * outInfoVec=0x0d017da0) Line 265 C++
     vtkFiltering.dll!vtkDemandDrivenPipeline::UpdateData(int outputPort=0) Line 456 + 0x26 C++
     vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::Update(int port=0) Line 192 + 0x1a C++
     vtkFiltering.dll!vtkExecutive::Update() Line 316 + 0xf C++
     vtkFiltering.dll!vtkDemandDrivenPipeline::Update() Line 320 C++
     vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::Update() Line 173 C++
     vtkFiltering.dll!vtkAlgorithm::Update() Line 1098 + 0x18 C++
     vtkFilteringCS.dll!vtkAlgorithmCommand(vtkClientServerInterpreter * arlu=0x0646e388, vtkObjectBase * ob=0x0d017ca8, const char * method=0x0d1193fd, const vtkClientServerStream & msg={...}, vtkClientServerStream & resultStream={...}) Line 595 + 0x10 C++
     vtkFilteringCS.dll!vtkDataSetAlgorithmCommand(vtkClientServerInterpreter * arlu=0x0646e388, vtkObjectBase * ob=0x0d017ca8, const char * method=0x0d1193fd, const vtkClientServerStream & msg={...}, vtkClientServerStream & resultStream={...}) Line 259 + 0x19 C++
     vtkGraphicsCS.dll!vtkProgrammableFilterCommand(vtkClientServerInterpreter * arlu=0x0646e388, vtkObjectBase * ob=0x0d017ca8, const char * method=0x0d1193fd, const vtkClientServerStream & msg={...}, vtkClientServerStream & resultStream={...}) Line 137 + 0x19 C++
     vtkPVFiltersCS.dll!vtkPythonProgrammableFilterCommand(vtkClientServerInterpreter * arlu=0x0646e388, vtkObjectBase * ob=0x0d017ca8, const char * method=0x0d1193fd, const vtkClientServerStream & msg={...}, vtkClientServerStream & resultStream={...}) Line 122 + 0x19 C++
     vtkClientServer.dll!vtkClientServerInterpreter::ProcessCommandInvoke(const vtkClientServerStream & css={...}, int midx=3) Line 386 + 0x1c C++
     vtkClientServer.dll!vtkClientServerInterpreter::ProcessOneMessage(const vtkClientServerStream & css={...}, int message=3) Line 213 + 0x10 C++
     vtkClientServer.dll!vtkClientServerInterpreter::ProcessStream(const vtkClientServerStream & css={...}) Line 182 + 0x10 C++
     vtkPVServerCommon.dll!vtkSelfConnection::ProcessStreamLocally(vtkClientServerStream & stream={...}) Line 119 + 0x22 C++
     vtkPVServerCommon.dll!vtkSelfConnection::SendStreamToClient(vtkClientServerStream & stream={...}) Line 113 C++
     vtkPVServerCommon.dll!vtkProcessModuleConnection::SendStream(unsigned int servers=1, vtkClientServerStream & stream={...}) Line 254 + 0x14 C++
     vtkPVServerCommon.dll!vtkProcessModuleConnectionManager::SendStream(int connectionID=5, unsigned int serverFlags=1, vtkClientServerStream & stream={...}, int reset=1) Line 517 + 0x15 C++
     vtkPVServerCommon.dll!vtkProcessModule::SendStream(int connectionID=5, unsigned int server=1, vtkClientServerStream & stream={...}, int resetStream=1) Line 834 + 0x1b C++
     vtkPVServerManager.dll!vtkSMPart::UpdatePipeline() Line 522 C++
     vtkPVServerManager.dll!vtkSMSourceProxy::UpdatePipeline() Line 150 C++
     vtkPVServerManager.dll!vtkSMSourceProxy::GetDataInformation() Line 419 + 0x10 C++
     vtkPVServerManager.dll!vtkSMDataTypeDomain::IsInDomain(vtkSMSourceProxy * proxy=0x0cf72c88) Line 115 + 0x8 C++
     vtkPVServerManager.dll!vtkSMDataTypeDomain::IsInDomain(vtkSMProperty * property=0x072af568) Line 88 + 0x15 C++
     vtkPVServerManager.dll!vtkSMProperty::IsInDomains() Line 108 + 0x1f C++
     pqComponents.dll!pqMainWindowCore::updateFiltersMenu() Line 2272 + 0x8 C++
     pqComponents.dll!pqMainWindowCore::onPostAccept() Line 2176 C++
     pqComponents.dll!pqMainWindowCore::qt_metacall(QMetaObject::Call _c=InvokeMetaMethod, int _id=89, void * * _a=0x00ddb330) Line 326 + 0x8 C++
     QtCored4.dll!6712ae7c()
     ntdll.dll!7c926a44()
     ntdll.dll!7c926abe()
     ntdll.dll!7c96e0d4()
     ntdll.dll!7c94a5d0()
     ntdll.dll!7c926abe()
     ntdll.dll!7c926abe()
     ntdll.dll!7c96cde9()
     ntdll.dll!7c96e0f0()
     ntdll.dll!7c96e0d4()
     ntdll.dll!7c96e0f0()
     ntdll.dll!7c96e0d4()
     ntdll.dll!7c96e0d4()
     ntdll.dll!7c94a5d0()
     ntdll.dll!7c926abe()
     ntdll.dll!7c96e0d4()
     ntdll.dll!7c94a5d0()
     ntdll.dll!7c926abe()
     ntdll.dll!7c91056d()
     msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x06370000) Line 1807 C
     ntdll.dll!7c96cd11()
     ntdll.dll!7c960af8()
     ntdll.dll!7c960bf0()
     ntdll.dll!7c960bcc()
     ntdll.dll!7c926abe()
     ntdll.dll!7c9268ad()
     ntdll.dll!7c91056d()
     ntdll.dll!7c926abe()
     ntdll.dll!7c9268ad()
     ntdll.dll!7c91056d()
     ntdll.dll!7c95db5c()
     ntdll.dll!7c96cd11()
     ntdll.dll!7c960af8()
     ntdll.dll!7c960bf0()
     ntdll.dll!7c960bcc()
     ntdll.dll!7c960af8()
     ntdll.dll!7c960bf0()
     ntdll.dll!7c91056d()
     msvcr71d.dll!_free_base(void * pBlock=0x002b2894) Line 103 C
     msvcr71d.dll!_free_dbg_lk(void * pUserData=0x00000004, int nBlockUse=2859008) Line 1207 + 0x9 C
     msvcr71d.dll!_free_dbg(void * pUserData=0x00000004, int nBlockUse=3065353) Line 1075 + 0x7 C
     msvcr71d.dll!_free_dbg_lk(void * pUserData=0x00000004, int nBlockUse=3065353) Line 1207 + 0x9 C
     msvcr71d.dll!operator delete(void * pUserData=0x08a99078) Line 57 + 0x7 C++
     QtCored4.dll!6705b9c0()
     pqComponents.dll!QMap<pqProxy *,pqObjectPanel *>::freeData(QMapData * x=0x0722e510) Line 584 + 0x11 C++
     QtCored4.dll!6712b23a()
     pqComponents.dll!pqObjectInspectorWidget::postaccept() Line 130 + 0x15 C++
     pqComponents.dll!pqObjectInspectorWidget::accept() Line 406 C++
     pqComponents.dll!pqObjectInspectorWidget::qt_metacall(QMetaObject::Call _c=InvokeMetaMethod, int _id=7, void * * _a=0x00ddbd20) Line 99 + 0x8 C++
     QtCored4.dll!6712ae7c()
     ntdll.dll!7c926a44()
     ntdll.dll!7c95db5c()
     ntdll.dll!7c91b686()
     ntdll.dll!7c91b298()
     ntdll.dll!7c9106eb()
     ntdll.dll!7c926abe()
     ntdll.dll!7c926abe()
     ntdll.dll!7c96cde9()
     ntdll.dll!7c926abe()
     ntdll.dll!7c96cde9()
     ntdll.dll!7c96e0f0()
     ntdll.dll!7c96e0d4()
     ntdll.dll!7c95db5c()
     ntdll.dll!7c96cd11()
     ntdll.dll!7c96e0d4()
     ntdll.dll!7c94a5d0()
     ntdll.dll!7c926abe()
     ntdll.dll!7c91056d()
     msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x00000008) Line 1807 C
     ntdll.dll!7c96cd11()
     ntdll.dll!7c960af8()
     ntdll.dll!7c960bf0()
     ntdll.dll!7c960bcc()
     msvcr71d.dll!_unlock(int locknum=2089969837) Line 347 C
     ntdll.dll!7c926abe()
     ntdll.dll!7c91056d()
     msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x002ca6b5) Line 1807 C
     ntdll.dll!7c9106eb()
     ntdll.dll!7c960bcc()
     msvcr71d.dll!_heap_alloc_dbg(unsigned int nSize=3337136, int nBlockUse=14531652, const char * szFileName=0x002b94d4, int nLine=4) Line 359 + 0x1e C
     msvcr71d.dll!_unlock(int locknum=) Line 347 C
(0006772)
Berk Geveci   
2007-03-13 15:26   
Does this still happen?
(0006929)
user521   
2007-03-23 15:05   
I changed vtkPythonProgrammableFilter on 2007-02-14 to fix this. Windows was returning address of this without leading 0x and I made the code handle that.