pvserver segfault when running without rendering capabities
When running pvserver without rendering capabilities, opening the Help->AboutDialog segfaults pvserver.
Steps to reproduce:
- DISPLAY= ./bin/pvserver
- ./bin/paraview
- connect to server
- Help -> About
( 72.094s) [pvserver ]vtkXOpenGLRenderWindow.:465 ERR| vtkXOpenGLRenderWindow (0x5555567a1a20): bad X server connection. DISPLAY=. Aborting.
Thread 1 "pvserver" received signal SIGABRT, Aborted.
0x00007ffff7e16d22 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff7e16d22 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff7e00862 in abort () from /usr/lib/libc.so.6
#2 0x00007fffed7a5226 in vtkXOpenGLRenderWindow::CreateAWindow (this=0x5555567a1a20) at /home/glow/work/paraview/pv1/src/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:467
#3 0x00007fffed7a69f1 in vtkXOpenGLRenderWindow::WindowInitialize (this=0x5555567a1a20) at /home/glow/work/paraview/pv1/src/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:811
#4 0x00007fffed7a6abc in vtkXOpenGLRenderWindow::Initialize (this=0x5555567a1a20) at /home/glow/work/paraview/pv1/src/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:832
#5 0x00007fffed7a6e7b in vtkXOpenGLRenderWindow::Start (this=0x5555567a1a20) at /home/glow/work/paraview/pv1/src/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:942
#6 0x00007fffebca1fb4 in vtkRenderWindow::Render (this=0x5555567a1a20) at /home/glow/work/paraview/pv1/src/VTK/Rendering/Core/vtkRenderWindow.cxx:296
#7 0x00007fffed6c069f in vtkOpenGLRenderWindow::Render (this=0x5555567a1a20) at /home/glow/work/paraview/pv1/src/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx:2265
#8 0x00007fffed7a9f36 in vtkXOpenGLRenderWindow::Render (this=0x5555567a1a20) at /home/glow/work/paraview/pv1/src/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:1585
#9 0x00007ffff1af11b3 in vtkPVOpenGLInformation::CopyFromObject (this=0x555556804780, obj=0x0) at /home/glow/work/paraview/pv1/src/Remoting/Views/vtkPVOpenGLInformation.cxx:51
#10 0x00007ffff625c21e in vtkPVSessionCore::GatherInformationInternal (this=0x5555557df030, information=0x555556804780, globalid=0) at /home/glow/work/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionCore.cxx:767
#11 0x00007ffff625c647 in vtkPVSessionCore::GatherInformation (this=0x5555557df030, location=1, information=0x555556804780, globalid=0) at /home/glow/work/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionCore.cxx:839
#12 0x00007ffff6257ccd in vtkPVSessionBase::GatherInformation (this=0x5555557d84d0, location=1, information=0x555556804780, globalid=0) at /home/glow/work/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionBase.cxx:243
#13 0x00007ffff6268c55 in vtkPVSessionServer::GatherInformationInternal (this=0x5555557d84d0, location=1, classname=0x555556738f90 "vtkPVOpenGLInformation", globalid=0, stream=...)
at /home/glow/work/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionServer.cxx:647
#14 0x00007ffff6268983 in vtkPVSessionServer::OnClientServerMessageRMI (this=0x5555557d84d0, message=0x555556739100, message_length=43) at /home/glow/work/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionServer.cxx:611
#15 0x00007ffff626766a in (anonymous namespace)::RMICallback (localArg=0x5555557d84d0, remoteArg=0x555556739100, remoteArgLength=43) at /home/glow/work/paraview/pv1/src/Remoting/ServerManager/vtkPVSessionServer.cxx:56
#16 0x00007ffff544dfe6 in vtkMultiProcessController::ProcessRMI (this=0x55555589d7d0, remoteProcessId=1, arg=0x555556739100, argLength=43, rmiTag=55625)
at /home/glow/work/paraview/pv1/src/VTK/Parallel/Core/vtkMultiProcessController.cxx:741
#17 0x00007ffff544dbed in vtkMultiProcessController::ProcessRMIs (this=0x55555589d7d0, reportErrors=0, dont_loop=1) at /home/glow/work/paraview/pv1/src/VTK/Parallel/Core/vtkMultiProcessController.cxx:694
#18 0x00007ffff595a6d1 in vtkTCPNetworkAccessManager::ProcessEventsInternal (this=0x5555557a2a50, timeout_msecs=0, do_processing=true) at /home/glow/work/paraview/pv1/src/Remoting/Core/vtkTCPNetworkAccessManager.cxx:288
#19 0x00007ffff595a1d6 in vtkTCPNetworkAccessManager::ProcessEvents (this=0x5555557a2a50, timeout_msecs=0) at /home/glow/work/paraview/pv1/src/Remoting/Core/vtkTCPNetworkAccessManager.cxx:188
#20 0x00005555555566ee in RealMain (argc=1, argv=0x7fffffffe9c8, type=vtkProcessModule::PROCESS_SERVER) at /home/glow/work/paraview/pv1/src/Clients/CommandLineExecutables/pvserver_common.h:132
#21 0x00005555555567ef in main (argc=1, argv=0x7fffffffe9c8) at /home/glow/work/paraview/pv1/src/Clients/CommandLineExecutables/pvserver.cxx:21
(gdb)
Probably caused by the filling up of OpenGL information.
Edited by Mathieu Westphal (Kitware)