[vtkusers] QVTKRenderWindowInteractor crashes under Mac OS X 10.6
Sean McBride
sean at rogue-research.com
Tue Sep 22 12:27:56 EDT 2009
On 9/22/09 6:04 PM, Piotr Byzia said:
>$ python QVTKRenderWindowInteractor.py
>2009-09-22 17:30:04.641 python[284:903] invalid drawable
>2009-09-22 17:30:04.646 python[284:903] invalid drawable
>2009-09-22 17:30:04.802 python[284:903] -[NSHIObject frame]:
>unrecognized selector sent to instance 0x1672360
>2009-09-22 17:30:04.897 python[284:903] HIToolbox: ignoring exception
>'-[NSHIObject frame]: unrecognized selector sent to instance
>0x1672360' that raised inside Carbon event dispatch
>(
> 0 CoreFoundation 0x905a258a __raiseError + 410
> 1 libobjc.A.dylib 0x917bbf49
>objc_exception_throw + 56
> 2 CoreFoundation 0x905ee9db -[NSObject
>(NSObject) doesNotRecognizeSelector:] + 187
> 3 CoreFoundation 0x9054a026 ___forwarding___ +
>950
> 4 CoreFoundation 0x905edd92
>__forwarding_prep_1___ + 50
> 5 libvtkRendering.5.4.dylib 0x05f50836
>_ZN20vtkCocoaRenderWindow7GetSizeEv + 94
> 6 libvtkRendering.5.4.dylib 0x05e4f9af
>_ZN15vtkRenderWindow6RenderEv + 1773
> 7 libvtkRenderingPythonD.5.4.dylib 0x05ac7da3
>_Z24PyvtkRenderWindow_RenderP7_objectS0_ + 103
This does not look like a Mac OS bug to me.
vtkCocoaRenderWindow::GetSize() sends the 'frame' message to an NSView.
Looks like in your case, it's not an NSView but an NSHIObject. Seems
you've built vtk in Cocoa mode, but that something else (Qt? python?) is
passing a some kind of Carbon object.
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtkusers
mailing list