View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004391ParaView(No Category)public2007-02-01 15:162009-12-09 14:51
ReporterAlan Scott 
Assigned ToBerk Geveci 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004391: SNL: 2.6: Fatal crash: servers bad X server connection.
DescriptionWhen running ParaView 2.6, Client/Server on a server that doesn't have a grapics card, I get the following error:

Process id: 0 >> ERROR: In /projects/viz/paraview/src/ParaView/2.6/ParaView/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 497
vtkXOpenGLRenderWindow (0xcec7e00): bad X server connection. DISPLAY=:0


Process id: 0 >> ERROR: In /projects/viz/paraview/src/ParaView/2.6/ParaView/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 319
vtkXOpenGLRenderWindow (0xcec7e00): bad X server connection. DISPLAY=:0




This is probably the same error as reported on an e-mail listed as PV2.6 Crashes. I am including that e-mail here:

I'm using the released PV2.6 and seeing some strange crashes.

I'm using the Windows Version you guys compiled for the pvclient, and running the PVServer on a linux Cluster. I compiled the server myself with OSMesa ( 6.4.2) & MPI (OpenMPI 1.1.1-1)support, and i'm running it on multiple processors (the number doesn't matter). When I compiled it, I seeded CMake with the following cache:

BUILD_DOCUMENTATION:BOOL=OFF
BUILD_EXAMPLES:BOOL=OFF
BUILD_SHARED_LIBS:BOOL=ON
BUILD_TESTING:BOOL=OFF

CMAKE_BUILD_TYPE:STRING=Release
CMAKE_CXX_COMPILER:FILEPATH=/usr/local/ofed/mpi/gcc/openmpi-1.1.1-1/bin/mpicxx
CMAKE_C_COMPILER:FILEPATH=/usr/local/ofed/mpi/gcc/openmpi-1.1.1-1/bin/mpicc
CMAKE_INSTALL_PREFIX:PATH=/viz/home/rhand/local/pv-2.4
//Path to a file.
MPI_INCLUDE_PATH:PATH=/usr/local/ofed/mpi/gcc/openmpi-1.1.1-1 /include
MPI_LIBRARY:FILEPATH=/usr/local/ofed/mpi/gcc/openmpi-1.1.1-1/lib64/libmpi.so
OPENGL_INCLUDE_DIR:PATH=/viz/home/rhand/local/include
OPENGL_gl_LIBRARY:FILEPATH=/viz/home/rhand/local/lib/libVTKMesaGL.so
OPENGL_glu_LIBRARY:FILEPATH=/viz/home/rhand/local/lib/libVTKMesaGLU.so
OPENGL_xmesa_INCLUDE_DIR:PATH=/viz/home/rhand/local/include
OSMESA_INCLUDE_DIR:PATH=/viz/home/rhand/local/include
OSMESA_LIBRARY:FILEPATH=/viz/home/rhand/local/lib/libOSVTKMesa.so

VTK_OPENGL_HAS_OSMESA:BOOL=ON

VTK_USE_64BIT_IDS:BOOL=ON
VTK_USE_MPI:BOOL=ON

VTK_USE_RPATH:BOOL=OFF



Problem #1:
If I load an ImageData dataset (VTI) and then attempt to use the Clip filter on it, it crashes every time. Also, I get no ghost cells so when I extract an isosurface the process boundaries are clearly visible. I place the Clip Filter at roughly 45-degrees (eyeballed, not much precision) so that it gives me the lower-left half of the data, and when it crashes I get a trace like the following:


Connected to client
Process id: 0 >> ERROR: In /viz/home/rhand/src/pv- 2.6/comp/PV/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 497
vtkXOpenGLRenderWindow (0x5362f50): bad X server connection. DISPLAY=Process id: 0 >> ERROR: In /viz/home/rhand/src/pv- 2.6/comp/PV/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 319
Signal:11 info.si_errno:0(Success) si_code:1(SEGV_MAPERR)
Failing at addr:0x10
[0] func:/usr/local/ofed/mpi/gcc/openmpi-1.1.1-1/lib64/libopal.so.0 [0x2a9bf15dd5]
[1] func:/lib64/tls/libpthread.so.0 [0x3dd910c430]
[2] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkRendering.so.pv2.6(_ZN22vtkXOpenGLRenderWindow13CreateAWindowEv+0x216) [0x2a984e13f6]
[3] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkRendering.so.pv2.6(_ZN22vtkXOpenGLRenderWindow16WindowInitializeEv+0x12) [0x2a984e21d2]
[4] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkRendering.so.pv2.6(_ZN22vtkXOpenGLRenderWindow5StartEv+0xd) [0x2a984e249d]
[5] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkRendering.so.pv2.6(_ZN15vtkRenderWindow14DoStereoRenderEv+0x10) [0x2a98452160]
[6] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkRendering.so.pv2.6(_ZN15vtkRenderWindow10DoFDRenderEv+0x36b) [0x2a984520fb]
[7] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkRendering.so.pv2.6(_ZN15vtkRenderWindow10DoAARenderEv+0x46b) [0x2a98451d3b]
[8] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkRendering.so.pv2.6(_ZN15vtkRenderWindow6RenderEv+0x149) [0x2a98451439]
[9] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkRendering.so.pv2.6(_ZN22vtkXOpenGLRenderWindow6RenderEv+0x1c) [0x2a984e437c]
[10] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkRendering.so.pv2.6(_ZN25vtkOpenGLExtensionManager20ReadOpenGLExtensionsEv+0xc0) [0x2a984ab450]
[11] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkRendering.so.pv2.6(_ZN25vtkOpenGLExtensionManager6UpdateEv+0x52) [0x2a984aac12]
[12] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkPVServerCommon.so(_ZN32vtkPVOpenGLExtensionsInformation14CopyFromObjectEP9vtkObject+0xf9) [0x2a955b0bf9]
[13] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkPVServerCommon.so(_ZN17vtkSelfConnection17GatherInformationEjP16vtkPVInformation17vtkClientServerID+0x83) [0x2a955dc163]
[14] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkPVServerCommon.so(_ZN20vtkMPISelfConnection17GatherInformationEjP16vtkPVInformation17vtkClientServerID+0x64) [0x2a9559e684]
[15] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkPVServerCommon.so(_ZN19vtkClientConnection15SendInformationER21vtkClientServerStream+0x1d5) [0x2a9558ff65]
[16] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkPVServerCommon.so(_Z39vtkClientConnectionGatherInformationRMIPvS_ii+0x48) [0x2a955900b8]
[17] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkParallel.so.pv2.6(_ZN25vtkMultiProcessController10ProcessRMIEiPvii+0x9e) [0x2a9707ef6e]
[18] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkParallel.so.pv2.6(_ZN25vtkMultiProcessController11ProcessRMIsEii+0xa0) [0x2a9707f3b0]
[19] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkPVServerCommon.so(_ZN19vtkRemoteConnection20ProcessCommunicationEv+0x14) [0x2a955d9fb4]
[20] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkPVServerCommon.so(_ZN33vtkProcessModuleConnectionManager18MonitorConnectionsEm+0x2d9) [0x2a955d81d9]
[21] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkPVServerCommon.so(_ZN16vtkProcessModule11StartServerEm+0x76) [0x2a955cb676]
[22] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkPVServerCommon.so(_ZN16vtkProcessModule5StartEiPPc+0x24d) [0x2a955ce8cd]
[23] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/libvtkPVFilters.so(_ZN9vtkPVMain3RunEP12vtkPVOptions+0x7b) [0x2a95857b7b]
[24] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/pvserver-real(main+0xc2) [0x402482]
[25] func:/lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x3dd881c3fb]
[26] func:/viz/home/rhand/local/pv2.6/lib/paraview-2.6/pvserver-real(__gxx_personality_v0+0x5a) [0x40232a]
*** End of error message ***


If I load the same ImageData Dataset & apply the D3 filter, then attempt to use the Clip filter, it works. I have alot of rendering artifacts (I think due to the Structured->Unstructured conversion) and it takes ALOT of memory, but it works.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0006311)
Alan Scott (manager)
2007-02-01 15:20

Dumby me, I should have mentioned how to create this bug. Run ParaView 2.6, client/server. Linux. The server needs to not have a display, so that DISPLAY:0 is bad. Open can.exo. The server will die.

Alan
(0006352)
Berk Geveci (administrator)
2007-02-05 13:52

revision 1.1.8.1
date: 2007-02-05 18:49:41 +0000; author: berk; state: Exp; lines: +16 -2
BUG: Server should not create a window when rendering offscreen with Mesa
(0006356)
Alan Scott (manager)
2007-02-05 16:54

Works on Liberty and spirit.
Alan

 Issue History
Date Modified Username Field Change
2009-12-09 14:51 Berk Geveci Project @3@ => ParaView
2011-06-16 13:10 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team