crash on Mac connecting to server
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Apparently the Mac doesn't like glClearColor being called unless there is a valid current context, or it'll crash.
This happens when connecting a ParaView3 client on the Mac to a server.
The call stack is glClearColor() vtkOpenGLRenderer::Clear() vtkClientCompositeManager::StartRender() // line 424 StartRender in vtkParallelRenderManager.cxx line 1816 ... vtkRenderWindow::Render() // line 239 where it sends the StartEvent.
At the time of the crash, the vtkCarbonRenderWindow::ContextId is NULL, and aglGetCurrentContext() returns NULL, because the vtkCarbonRenderWindow had been Finalized() and moved to a different parent by pqRenderModule::setWidgetParent(). vtkRenderWindow::Start() has not yet been called, and would be called if it could continue pas the crash on to vtkRenderWindow::DoStereoRender().
Found this testing Prism with server connections for a demo. I've yet to connect it, or ParaView3, to any server at all.