[vtkusers] vtkCocoa crash, can't compile debug

Andy Cedilnik andy.cedilnik at kitware.com
Fri Jan 17 07:22:38 EST 2003


Hi Chris,

Actually the answer was sort of acurate for both questions. They are
both fixed in CVS. Anyway, try updating your VTK and let me know if it
still fails. If it does, could you please try to write a small example,
so that I can try it here?

Thank you.
		
				Andy

On Thu, 2003-01-16 at 14:45, Chris Scharver wrote:
> Did you fix the CMake bug or the VTK bug? I'm using the current VTK
> cvs. I managed to use ccmake to get the debug option enabled. The
> cin::getline issue is indeed an annoying one, as is the problem with
> command-line non-packaged applications not correctly receiving mouse
> and keyboard focus. This problem is a verified bug in CoreServices.
> Hopefully it's one that will get fixed soon. The step of packaging
> applications to make them behave properly is a tedious one. Anyhow, at
> least I was able to get better debugging.
> 
> 4  0x01e4aa80 in __cxa_pure_virtual ()
> #5  0x01e1c078 in
> vtkOpenGLPolyDataMapper::ReleaseGraphicsResources(vtkWindow*)
> (this=0x41e3f0, win=0x41a710) at
> VTK/Rendering/vtkOpenGLPolyDataMapper.cxx:83
> 
> As for the pure virtual crash, I thought I found the problem when I
> noticed that several methods of vtkCocoaRenderWindow were not virtual.
> Fixing them didn't help. It appears that when
> vtkOpenGLPolyDataMapper::ReleaseGraphicsResources() calls
> win->MakeCurrent(), the type for win is interpreted as vtkWindow, so
> there appears to be some kind of typing issue. Maybe the factory isn't
> initializing the instance properly?





More information about the vtkusers mailing list