[Paraview-developers] Crash in vtkTkRenderWidget on exiting (in my modified version of ParaView)

Stanton, Eric T etstant at sandia.gov
Tue May 10 14:40:56 EDT 2005


THanks for the pointers. I updated the source and now, its crashing in
vtkPVWindow::Configure() after vtkPVWindow's destructor has been reached
so vtkPVWindow->Interactor has been set to null. Again, its only some of
the time which is unnerving. 

I checked and don't seem to be maintaining any reference to
RenderModuleProxy. 

If you know of anything else I might try let me know. Otherwise, it
might be time to rollback my modifications.

THanks,

--Eric


> -----Original Message-----
> From: Berk Geveci [mailto:berk.geveci at gmail.com] 
> Sent: Tuesday, May 10, 2005 5:00 AM
> To: Utkarsh Ayachit
> Cc: Stanton, Eric T; paraview-developers at public.kitware.com
> Subject: Re: [Paraview-developers] Crash in vtkTkRenderWidget 
> on exiting (in my modified version of ParaView)
> 
> I made some changes to the cleanup code of paraview. This 
> should fix some issues. I don't know if this is the same thing though.
> 
> -Berk
> 
> On 5/9/05, Utkarsh Ayachit <utkarsh.ayachit at kitware.com> wrote:
> > Not necessarily sure that the line 747 crash is for the 
> same reason, 
> > however, if the RenderModuleProxy if not getting destroyed when 
> > vtkPVApplication.cxx (line 1409) releases the proxy (with a
> > SetRenderModuleProxy(0) call), it usually leads to errors 
> while exiting.
> > 
> > Ensure that everyone maintaining a reference to the 
> RenderModuleProxy 
> > let's go of the proxy before vtkPVApplication::RemoveWindow 
> gets called.
> > 
> > vtkPVWindow has a PrepareForDelete method where one can enforce the 
> > releasing of the render module proxy.
> > 
> > Hopefully, this will help.
> > 
> > Utkarsh.
> > 
> > Stanton, Eric T wrote:
> > > I'm making changes/improvements to the Lookmark Manager code but
> > > *sometimes* when I exit ParaView, I get an access violation in 
> > > vtkTkRenderWidget at line 747.
> > >
> > > I've been chasing this bug around for a while and can't 
> figure out 
> > > what I changed to cause this behavior.
> > >
> > > The problem is that I don't understand the error and so 
> don't know 
> > > what to look for in debugging my code. If someone could 
> help me with 
> > > this I'd be most grateful.
> > >
> > > Thanks,
> > >
> > > Eric Stanton
> > > Sandia National Laboratories
> > > Data Analysis and Visualization
> > > 505-284-4422
> > >
> > > _______________________________________________
> > > Paraview-developers mailing list
> > > Paraview-developers at paraview.org
> > > http://public.kitware.com/mailman/listinfo/paraview-developers
> > >
> > _______________________________________________
> > Paraview-developers mailing list
> > Paraview-developers at paraview.org
> > http://public.kitware.com/mailman/listinfo/paraview-developers
> >
> 
> 



More information about the Paraview-developers mailing list