CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ParaView (http://www.cfd-online.com/Forums/paraview/)
-   -   Paraview launch & crash problems (http://www.cfd-online.com/Forums/paraview/109789-paraview-launch-crash-problems.html)

dancfd November 26, 2012 21:32

Paraview launch & crash problems
 
Hello all,

I have two problems with paraview that I think may be related. First, when I try to launch Paraview from the terminal, the application fails to launch with the following error:

Code:

ERROR: In /home/daniel/projects/ParaView/VTK/GUISupport/Qt/vtkEventQtSlotConnect.cxx, line 68
vtkEventQtSlotConnect (0x23ee220): Cannot connect NULL objects. Segmentation fault

However, I can successfully launch Paraview by double-clicking the paraview executable file.

Second issue: when I try to load a previously saved complex state, Paraview crashes. Simpler states (annotations to the visualization) load without crashing; more complex states (calculator and plot of data from calculator) crash the program. Unfortunately, I cannot see the error that causes the crash because of problem 1: I cannot launch Paraview from the terminal.

Could anyone suggest something that could address either of these problems? I would greatly appreciate any assistance.

Thanks,
Dan

----
Software versions: OS Ubuntu 12.10, Paraview 3.98

tiam December 10, 2012 10:04

Confirm same issue on Ubuntu 12.04, Paraview 3.98.

Djub December 10, 2012 13:02

hi!
I have the same kind of problems. paraView crashes, with a "Erreur de segmentation paraview" message. Or something like:
Code:

*** glibc detected *** /opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/paraview: double free or corruption (out): 0x00000000205ed3b0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x78b56)[0x7fa045c1db56]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkRendering.so.pv3.12(_ZN21vtkOpenGLRenderWindow12GetPixelDataEiiiiiPh+0xd1)[0x7fa04984e411]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libQVTK.so.pv3.12(_ZN10QVTKWidget16saveImageToCacheEv+0xe4)[0x7fa052fd55d4]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkCommon.so.pv3.12(_ZN18vtkCallbackCommand7ExecuteEP9vtkObjectmPv+0x19)[0x7fa046fc8b69]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkCommon.so.pv3.12(+0x195342)[0x7fa047073342]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkRendering.so.pv3.12(_ZN15vtkRenderWindow15CopyResultFrameEv+0x5b)[0x7fa0497b572b]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkRendering.so.pv3.12(_ZN15vtkRenderWindow6RenderEv+0x1d0)[0x7fa0497b68b0]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkRendering.so.pv3.12(_ZN22vtkXOpenGLRenderWindow6RenderEv+0x40)[0x7fa04988ea90]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkPVClientServerCore.so(_ZN15vtkPVRenderView6RenderEbb+0x465)[0x7fa053b81995]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkPVClientServerCore.so(_ZN15vtkPVRenderView11StillRenderEv+0x3c)[0x7fa053b7fdac]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkPVClientServerCoreCS.so(_Z22vtkPVRenderViewCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_+0x15d3)[0x7fa053e2ff93]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkClientServer.so(_ZN26vtkClientServerInterpreter20ProcessCommandInvokeERK21vtkClientServerStreami+0x171)[0x7fa049fc1881]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkClientServer.so(_ZN26vtkClientServerInterpreter17ProcessOneMessageERK21vtkClientServerStreami+0x41e)[0x7fa049fc013e]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkClientServer.so(_ZN26vtkClientServerInterpreter13ProcessStreamERK21vtkClientServerStream+0x1d)[0x7fa049fc052d]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkPVServerImplementation.so(_ZN16vtkPVSessionCore21ExecuteStreamInternalERK21vtkClientServerStreamb+0x10e)[0x7fa05408eb7e]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkPVServerImplementation.so(_ZN16vtkPVSessionCore13ExecuteStreamEjRK21vtkClientServerStreamb+0x51)[0x7fa05408e761]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkPVServerImplementation.so(_ZN16vtkPVSessionBase13ExecuteStreamEjRK21vtkClientServerStreamb+0x43)[0x7fa05408dac3]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkPVServerManager.so(_ZN10vtkSMProxy13ExecuteStreamERK21vtkClientServerStreambj+0x5e)[0x7fa054741b2e]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkPVServerManager.so(_ZN14vtkSMViewProxy11StillRenderEv+0x8f)[0x7fa05479514f]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libQVTK.so.pv3.12(_ZN10QVTKWidget10paintEventEP11QPaintEvent+0xb1)[0x7fa052fd58f1]
/usr/lib64/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x792)[0x7fa0503bde12]
/usr/lib64/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac)[0x7fa05036e74c]
/usr/lib64/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x13a)[0x7fa050372c7a]
/usr/lib64/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e)[0x7fa04fbf873e]
/usr/lib64/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore+0x5b4)[0x7fa0503b9b24]
/usr/lib64/libQtGui.so.4(_ZN14QWidgetPrivate11repaint_sysERK7QRegion+0x14c)[0x7fa05057df3c]
/usr/lib64/libQtGui.so.4(+0x257e1a)[0x7fa0503e7e1a]
/usr/lib64/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xf15)[0x7fa0503e8d65]
/usr/lib64/libQtGui.so.4(+0x27ec32)[0x7fa05040ec32]
/usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x7fa04415e405]
/usr/lib64/libglib-2.0.so.0(+0x4a738)[0x7fa04415e738]
/usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7fa04415e7f4]
/usr/lib64/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x66)[0x7fa04fc26936]
/usr/lib64/libQtGui.so.4(+0x27e8ae)[0x7fa05040e8ae]
/usr/lib64/libQtCore.so.4(_ZN16QCoreApplication13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x2f)[0x7fa04fbfc53f]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libpqComponents.so(_ZN15pqVCRController6onTickEv+0x17)[0x7fa055aaa1d7]
/usr/lib64/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2bf)[0x7fa04fc0ef5f]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libpqCore.so(_ZN16pqAnimationScene4tickEi+0x31)[0x7fa05554e291]
/usr/lib64/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2bf)[0x7fa04fc0ef5f]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libQVTK.so.pv3.12(+0x47b47)[0x7fa052ff0b47]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libQVTK.so.pv3.12(+0x29a8c)[0x7fa052fd2a8c]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkCommon.so.pv3.12(_ZN18vtkCallbackCommand7ExecuteEP9vtkObjectmPv+0x19)[0x7fa046fc8b69]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkCommon.so.pv3.12(+0x195342)[0x7fa047073342]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkCommon.so.pv3.12(_ZN15vtkAnimationCue12TickInternalEddd+0x4b)[0x7fa046fbe56b]
/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkPVVTKExtensions.soAbandon

From time to time, it crashs only because I resize the window.
I has been working well for more than 2 hours, and then, while "turning" around my object, it suddently crashed.

Any idea about how to make it more stable ?

More precisely: I ran paraview; click on "open state". then it took some minutes (which normal), but half a second after refreshing the screen (I saw the correct picture), it crashed: the window closed, and the terminal said "Erreur de segmentation"...

maxmeinicke January 17, 2013 13:04

Hi,

I have had exactly the same problem with vtkEventQtSlotConnect.


configuration:

- ubuntu 12.04
- OpenFOAM-2.1.x with ParaView-3.14.1 compiled into ThirdParty
- ParaView-3.98.0 binary extracted to /opt
- paraview-3.14.1 installed from the ubuntu repo
- alias paraview="/opt/ParaView/ParaView-3.98.0-Linux-64bit/bin/paraview" in ~/.bashrc


Behavior:

1. no sourcing of OpenFOAM bashrc:

- 'paraview' is taking the alias from the ~/.bashrc and running paraview-3.98.0 from binary extracted package
- works

2. sourcing of OpenFOAM bashrc:

- 'paraview' error
- I am not sure which paraview now should be started. The one from OF-ThirdParty or the alias one.


Changes:

To get access to the paraview 3.14.1 ubuntu package, I changed my ~/.bashrc to

1. alias runParaview="/opt/ParaView/ParaView-3.98.0-Linux-64bit/bin/paraview"


Behavior:

1. no sourcing of OpenFOAM bashrc:

- 'paraview' executes ubuntu repo paraview-3.14.1
- 'runParaview' executes the alias in ~/.bashrc and runs paraview-3.98.0 from the extracted binary package in /opt

2. sourcing of OpenFOAM bashrc:

- 'paraview' starts the OpenFOAM ThirdParty paraview-3.14.1 (not the repo version)
- 'runParaview' executes alias in ~/.bashrc and crashes


Conclusion:

1. ParaView crashes when it is run as alias from a ~/.bashrc and an OpenFOAM-2.1.x bashrc is sourced and a ParaView is build into ThirdParty

2. I am speaking only for my configuration which is mentioned above


All times are GMT -4. The time now is 21:11.