CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Xwindows crash with paraview save (https://www.cfd-online.com/Forums/paraview/61101-xwindows-crash-paraview-save.html)

srinath July 19, 2008 02:53

Xwindows crash with paraview save
 
Hello

I found that paraview crashes when i try to save a picture.
I implemented the bug fix as detailed in

http://www.cfd-online.com/OpenFOAM_D...essages/1/4438
.html

Now i am able to save pictures, as long as there is no color bar.
If i insert the color bar and try to save the picture, i get a X-windows crash, that forces me to restart.( a tad annoying)

Any clues to what is happening

Thanks
Srinath

kumar October 15, 2008 09:37

Hello, I have just sta
 
Hello,
I have just started working on OpenFOAM after successfully installing OPENFOAM and now i have also worked the tutorials. I am working on the damBreak case and when i am trying to save the screen shots of the different time steps using the option save screenshot parafoam crashes and i am not able to save the picture. the error message is :
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x160ee2e
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb3281767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb328181e]
#2 /usr/lib/libX11.so.6 [0xb705b518]
#3 /usr/lib/libX11.so.6(XChangeProperty+0x26) [0xb70306f6]
#4 /usr/lib/libX11.so.6(XSetWMSizeHints+0x108) [0xb704ec98]
#5 /usr/lib/libX11.so.6(XSetWMNormalHints+0x33) [0xb704ecd3]
#6 /usr/lib/libQtGui.so.4 [0xb73a3278]
#7 /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate15setGeometry_sys Eiiiib+0x1d6) [0xb73a85d6]
#8 /usr/lib/libQtGui.so.4(_ZN7QWidget4moveERK6QPoint+0xf1) [0xb7375cf1]
#9 /usr/lib/libQtGui.so.4(_ZN7QDialog14adjustPositionEP7QWidge t+0x306) [0xb7729476]
#10 /usr/lib/libQtGui.so.4(_ZN7QDialog10setVisibleEb+0x27d) [0xb772994d]
#11 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCor e.so(_ZN14pqOutputWindow18onDisplayErrorTextERK7QS tring+0x1e9) [0xb7b1e7a9]
#12 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCor e.so(_ZN14pqOutputWindow11qt_metacallEN11QMetaObje ct4CallEiPPv+0xf2) [0xb7bacfa2]
#13 /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObject iiPPv+0x584) [0xb6f1fcf4]
#14 /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObject PKS_iPPv+0x52) [0xb6f208c2]
#15 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCor e.so(_ZN21pqOutputWindowAdapter16displayErrorTextE RK7QString+0x43) [0xb7bad183]
#16 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCor e.so(_ZN21pqOutputWindowAdapter16DisplayErrorTextE PKc+0x5d) [0xb7b1fbed]
#17 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCor e.so(_ZN24pqProcessModuleGUIHelper16pqImplementati on15QtMessageOutputE9QtMsgType PKc+0x44) [0xb7b4fb84]
#18 /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+ 0x33) [0xb6e50a23]
#19 /usr/lib/libQtCore.so.4(_Z8qWarningPKcz+0x68) [0xb6e50dd8]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb3281767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb32818b1]
#2 /usr/lib/libX11.so.6 [0xb705b421]
#3 /usr/lib/libGL.so.1 [0xb505202f]
#4 /usr/lib/libGL.so.1(glXMakeCurrentReadSGI+0x130) [0xb5052420]
#5 /usr/lib/libGL.so.1(glXMakeCurrent+0x23) [0xb50526e3]
#6 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN22vtkXOpenGLRenderWindow21Crea teOffScreenWindowEii+0x1e3) [0xb53319d3]
#7 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN22vtkXOpenGLRenderWindow10Init ializeEv+0x6c) [0xb5331dcc]
#8 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN22vtkXOpenGLRenderWindow5Start Ev+0x15) [0xb532ee85]
#9 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN15vtkRenderWindow14DoStereoRen derEv+0x22) [0xb52897d2]
#10 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN15vtkRenderWindow10DoFDRenderE v+0x345) [0xb5289c55]
#11 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN15vtkRenderWindow10DoAARenderE v+0x437) [0xb528b0a7]
#12 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN15vtkRenderWindow6RenderEv+0xf 5) [0xb5289da5]
#13 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN22vtkXOpenGLRenderWindow6Rende rEv+0x54) [0xb532ff04]
#14 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerManager.so(_ZN20vtkSMRenderViewProxy13Perfor mRenderEv+0x3a) [0xb6af7c7a]
#15 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerManager.so(_ZN14vtkSMViewProxy11StillRenderE v+0x3b) [0xb6b442db]
#16 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV ServerManager.so(_ZN20vtkSMRenderViewProxy13Captur eWindowEi+0x71) [0xb6af4fb1]
#17 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCor e.so(_ZN12pqRenderView12captureImageEi+0x3b) [0xb7b605fb]
#18 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCor e.so(_ZN16pqRenderViewBase9saveImageEiiRK7QString+ 0x89) [0xb7b687f9]
#19 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCom ponents.so(_ZN16pqMainWindowCore20onFileSaveScreen shotEv+0x6ab) [0xb7e2e71b]
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x160001c
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x160001c
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x160001c
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb3281767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb328181e]
#2 /usr/lib/libX11.so.6 [0xb705b518]
#3 /usr/lib/libX11.so.6(XCreateSimpleWindow+0x26) [0xb7032ea6]
#4 /usr/lib/libQtGui.so.4 [0xb73a9ec5]
#5 /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate10create_sysEmbb+ 0x10bf) [0xb73a70ff]
#6 /usr/lib/libQtGui.so.4(_ZN7QWidget6createEmbb+0x130) [0xb7377850]
#7 /usr/lib/libQtGui.so.4(_ZN7QWidget5raiseEv+0x1d3) [0xb73781f3]
#8 /usr/lib/libQtGui.so.4 [0xb76f345b]
#9 /usr/lib/libQtGui.so.4 [0xb76dd006]
#10 /usr/lib/libQtGui.so.4(_ZN9QTextEdit11qt_metacallEN11QMetaO bject4CallEiPPv+0x511 ) [0xb76df981]
#11 /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObject iiPPv+0x584) [0xb6f1fcf4]
#12 /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObject PKS_iPPv+0x52) [0xb6f208c2]
#13 /usr/lib/libQtGui.so.4(_ZN12QTextControl19documentSizeChang edERK6QSizeF+0x43) [0xb74dc173]
#14 /usr/lib/libQtGui.so.4(_ZN12QTextControl11qt_metacallEN11QM etaObject4CallEiPPv+0 x453) [0xb74e5403]
#15 /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObject iiPPv+0x584) [0xb6f1fcf4]
#16 /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObject PKS_iPPv+0x52) [0xb6f208c2]
#17 /usr/lib/libQtGui.so.4(_ZN27QAbstractTextDocumentLayout19do cumentSizeChangedERK6 QSizeF+0x43) [0xb7523523]
#18 /usr/lib/libQtGui.so.4 [0xb7533594]
#19 /usr/lib/libQtGui.so.4 [0xb75121f8]
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x160001c
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb3281767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb32818b1]
#2 /usr/lib/libX11.so.6 [0xb705b421]
#3 /usr/lib/libGL.so.1 [0xb505202f]
#4 /usr/lib/libGL.so.1(glXMakeCurrentReadSGI+0x130) [0xb5052420]
#5 /usr/lib/libGL.so.1(glXMakeCurrent+0x23) [0xb50526e3]
#6 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN22vtkXOpenGLRenderWindow11Make CurrentEv+0xec) [0xb533111c]
#7 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN27vtkOpenGLDisplayListPainter2 4ReleaseGraphicsResourcesEP9vt kWindow+0x2f) [0xb52ee30f]
#8 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN10vtkPainter24ReleaseGraphicsR esourcesEP9vtkWindow+0x1f) [0xb524ba4f]
#9 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN10vtkPainter24ReleaseGraphicsR esourcesEP9vtkWindow+0x1f) [0xb524ba4f]
#10 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN31vtkOpenGLScalarsToColorsPain ter24ReleaseGraphicsResourcesE P9vtkWindow+0x45) [0xb53163e5]
#11 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN17vtkDefaultPainter24ReleaseGr aphicsResourcesEP9vtkWindow+0x 46) [0xb51e2126]
#12 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN24vtkPainterPolyDataMapper24Re leaseGraphicsResourcesEP9vtkWi ndow+0x22) [0xb524d922]
#13 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN8vtkActor24ReleaseGraphicsReso urcesEP9vtkWindow+0x27) [0xb51b7607]
#14 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkPV Filters.so(_ZN13vtkPVLODActor24ReleaseGraphicsReso urcesEP9vtkWindow+0x2c) [0xb684afdc]
#15 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN11vtkRenderer15SetRenderWindow EP15vtkRenderWindow+0x50) [0xb5278470]
#16 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN22vtkXOpenGLRenderWindow21Crea teOffScreenWindowEii+0xc4) [0xb53318b4]
#17 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN22vtkXOpenGLRenderWindow10Init ializeEv+0x6c) [0xb5331dcc]
#18 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN22vtkXOpenGLRenderWindow5Start Ev+0x15) [0xb532ee85]
#19 /home/suresh/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libvtkRe ndering.so.pv3.3(_ZN15vtkRenderWindow14DoStereoRen derEv+0x22) [0xb52897d2]
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
X Error: GLXBadContext 154
Extension: 143 (Uknown extension)
Minor opcode: 5 (Unknown request)
Resource id: 0x5d
Segmentation fault
i guess it is a x environment variable error. any advice on how to solve the problem will be appreciated. I am working on UBUNTU 8.04. I installed the software and the third party software using the script posted on OPENFOAM discussion forum.
bye
with regards
K.Suresh kumar


All times are GMT -4. The time now is 06:59.