[Paraview] ParaView 3.8.0-rc2: segfault in libXdmf.so

Kenji Takizawa Kenji.Takizawa at tafsm.org
Tue May 18 07:08:06 EDT 2010


Dear Jens and whom it may concern,

Since I faced the same problem, I had debugged it.
I made a patch and I sent it to XDMF group, but no action has been taken.

The patch is really simple. So you can also modify yourself and compile it.

P.S. I actually sent you a similar email from XDMF mailing list....

Thank you,
Kenji Takizawa



On Tue, May 18, 2010 at 4:56 AM, Jens <jens-devel at gmx.de> wrote:
> Hi,
>
> using the following xdmf-file (see attachment) ParaView 3.8.0-rc2
> segfaults in libXdmf.so (see backtrace).
> (tested with binary-package paraview-3.6.2-Linux64-x86.tar.gz from webpage)
>
> I can visualize the data without any problems using ParaView 3.6.2.
>
> Hope this helps...
>
> Greetings
> Jens
>
> *** glibc detected *** /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/paraview-real: free(): invalid pointer: 0x00007fff22a23750 ***
> ======= Backtrace: =========
> /lib64/libc.so.6[0x39682722ef]
> /lib64/libc.so.6(cfree+0x4b)[0x396827273b]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libXdmf.so(_ZN12XdmfDataItem25UpdateInformationFunctionEv+0x31)[0x2ad22f4447a1]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkXdmf.so(_ZN16vtkXdmfHeavyData13ReadAttributeEP13XdmfAttributeiPi+0xa1)[0x2ad22cc84571]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkXdmf.so(_ZN16vtkXdmfHeavyData14ReadAttributesEP10vtkDataSetP8XdmfGridPi+0xc2)[0x2ad22cc86d62]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkXdmf.so(_ZN16vtkXdmfHeavyData16RequestImageDataEP8XdmfGridb+0x2ad)[0x2ad22cc8764d]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkXdmf.so(_ZN16vtkXdmfHeavyData15ReadUniformDataEP8XdmfGrid+0x1b4)[0x2ad22cc88514]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkXdmf.so(_ZN16vtkXdmfHeavyData8ReadDataEv+0x27c)[0x2ad22cc8902c]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkXdmf.so(_ZN13vtkXdmfReader11RequestDataEP14vtkInformationPP20vtkInformationVectorS3_+0x220)[0x2ad22cc8abb0]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkFiltering.so.pv3.8(_ZN12vtkExecutive13CallAlgorithmEP14vtkInformationiPP20vtkInformationVectorS3_+0x54)[0x2ad22eb89cb4]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkFiltering.so.pv3.8(_ZN23vtkDemandDrivenPipeline11ExecuteDataEP14vtkInformationPP20vtkInformationVectorS3_+0x4c)[0x2ad22eb7d02c]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkFiltering.so.pv3.8(_ZN24vtkCompositeDataPipeline11ExecuteDataEP14vtkInformationPP20vtkInformationVectorS3_+0xc7)[0x2ad22eb5cf17]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkFiltering.so.pv3.8(_ZN23vtkDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x293)[0x2ad22eb80013]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkFiltering.so.pv3.8(_ZN32vtkStreamingDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x19c)[0x2ad22ec9702c]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkFiltering.so.pv3.8(_ZN24vtkCompositeDataPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x79)[0x2ad22eb5d539]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkFiltering.so.pv3.8(_ZN23vtkDemandDrivenPipeline10UpdateDataEi+0x9e)[0x2ad22eb7ec1e]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkFiltering.so.pv3.8(_ZN32vtkStreamingDemandDrivenPipeline6UpdateEi+0x7b)[0x2ad22ec9681b]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkFilteringCS.so(_Z19vtkAlgorithmCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_+0x1a2b)[0x2ad22c7c2cab]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkIOCS.so(_Z20vtkDataReaderCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_+0xee6)[0x2ad22c614606]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkXdmfCS.so(_Z20vtkXdmfReaderCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_+0x58a)[0x2ad22bd2821a]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkClientServer.so(_ZN26vtkClientServerInterpreter20ProcessCommandInvokeERK21vtkClientServerStreami+0x16c)[0x2ad22cb53d9c]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkClientServer.so(_ZN26vtkClientServerInterpreter17ProcessOneMessageERK21vtkClientServerStreami+0x392)[0x2ad22cb547c2]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkClientServer.so(_ZN26vtkClientServerInterpreter13ProcessStreamERK21vtkClientServerStream+0x1d)[0x2ad22cb54c7d]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkPVServerCommon.so(_ZN17vtkSelfConnection20ProcessStreamLocallyER21vtkClientServerStream+0x20)[0x2ad22a1f2540]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkPVServerCommon.so(_ZN26vtkProcessModuleConnection10SendStreamEjR21vtkClientServerStream+0x61)[0x2ad22a1993d1]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkPVServerCommon.so(_ZN33vtkProcessModuleConnectionManager10SendStreamEijR21vtkClientServerStreami+0x39)[0x2ad22a19ae99]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkPVServerCommon.so(_ZN16vtkProcessModule10SendStreamEijR21vtkClientServerStreami+0x63)[0x2ad22a1a16d3]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkPVServerManager.so(_ZN15vtkSMOutputPort22UpdatePipelineInternalEdb+0x1f2)[0x2ad226091df2]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libvtkPVServerManager.so(_ZN16vtkSMSourceProxy14UpdatePipelineEd+0x4d)[0x2ad22610bdcd]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libpqCore.so(_ZNK15pqDisplayPolicy20getPreferredViewTypeEP12pqOutputPortb+0x1a1)[0x2ad2247e59d1]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libpqCore.so(_ZNK15pqDisplayPolicy16getPreferredViewEP12pqOutputPortP6pqView+0x43)[0x2ad2247e5663]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libpqCore.so(_ZNK15pqDisplayPolicy29createPreferredRepresentationEP12pqOutputPortP6pqViewb+0x38)[0x2ad2247e5388]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libpqComponents.so(_ZN23pqObjectInspectorWidget4showEP16pqPipelineSource+0x6c)[0x2ad2242f5f9c]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libpqComponents.so(_ZN23pqObjectInspectorWidget6acceptEv+0x3f4)[0x2ad2242f66d4]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libpqComponents.so(_ZN23pqObjectInspectorWidget11qt_metacallEN11QMetaObject4CallEiPPv+0x126)[0x2ad2243d9a46]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x219)[0x2ad228ef1ad9]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x32)[0x2ad2286375e2]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4[0x2ad2283552fb]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4[0x2ad228356865]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0x7b)[0x2ad228356abb]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xba1)[0x2ad22800ad01]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4(_ZN15QAbstractButton5eventEP6QEvent+0x3f)[0x2ad228355d7f]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4(_ZN11QPushButton5eventEP6QEvent+0x3d)[0x2ad2283f078d]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xae)[0x2ad227fb013e]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x3d7)[0x2ad227fb3c47]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x83)[0x2ad228ede663]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x136)[0x2ad227fb2fd6]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4[0x2ad228032724]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x672)[0x2ad228030e92]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4[0x2ad22805a232]
> /lib64/libglib-2.0.so.0(g_main_context_dispatch+0x1b4)[0x396ce2cdb4]
> /lib64/libglib-2.0.so.0[0x396ce2fc0d]
> /lib64/libglib-2.0.so.0(g_main_context_iteration+0x6e)[0x396ce3011e]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x65)[0x2ad228f09295]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtGui.so.4[0x2ad22805a05f]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x35)[0x2ad228edd905]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xac)[0x2ad228eddc5c]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xbb)[0x2ad228edf9bb]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/paraview-real(main+0x155)[0x406545]
> /lib64/libc.so.6(__libc_start_main+0xf4)[0x396821d994]
> /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/paraview-real(_ZN11QMainWindow5eventEP6QEvent+0x4a)[0x40635a]
> ======= Memory map: ========
> 00400000-005c9000 r-xp 00000000 00:21 6619410                            /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/paraview-real
> 006c9000-006ca000 rw-p 001c9000 00:21 6619410                            /opt/nfsimport/paraview/paraview-3.8.0-rc2/lib/paraview-3.8/paraview-real
> 10606000-115ce000 rw-p 10606000 00:00 0                                  [heap]
> 3967e00000-3967e1c000 r-xp 00000000 fd:00 96796877                       /lib64/ld-2.5.so
> 396801b000-396801c000 r--p 0001b000 fd:00 96796877                       /lib64/ld-2.5.so
> 396801c000-396801d000 rw-p 0001c000 fd:00 96796877                       /lib64/ld-2.5.so
> 3968200000-396834d000 r-xp 00000000 fd:00 96796892                       /lib64/libc-2.5.so
> 396834d000-396854d000 ---p 0014d000 fd:00 96796892                       /lib64/libc-2.5.so
> 396854d000-3968551000 r--p 0014d000 fd:00 96796892                       /lib64/libc-2.5.so
> 3968551000-3968552000 rw-p 00151000 fd:00 96796892                       /lib64/libc-2.5.so
> 3968552000-3968557000 rw-p 3968552000 00:00 0
> 3968600000-3968682000 r-xp 00000000 fd:00 96796943                       /lib64/libm-2.5.so
> 3968682000-3968881000 ---p 00082000 fd:00 96796943                       /lib64/libm-2.5.so
> 3968881000-3968882000 r--p 00081000 fd:00 96796943                       /lib64/libm-2.5.so
> 3968882000-3968883000 rw-p 00082000 fd:00 96796943                       /lib64/libm-2.5.so
> 3968a00000-3968a02000 r-xp 00000000 fd:00 96796895                       /lib64/libdl-2.5.so
> 3968a02000-3968c02000 ---p 00002000 fd:00 96796895                       /lib64/libdl-2.5.so
> 3968c02000-3968c03000 r--p 00002000 fd:00 96796895                       /lib64/libdl-2.5.so
> 3968c03000-3968c04000 rw-p 00003000 fd:00 96796895                       /lib64/libdl-2.5.so
> 3968e00000-3968e16000 r-xp 00000000 fd:00 96796934                       /lib64/libpthread-2.5.so
> 3968e16000-3969015000 ---p 00016000 fd:00 96796934                       /lib64/libpthread-2.5.so
> 3969015000-3969016000 r--p 00015000 fd:00 96796934                       /lib64/libpthread-2.5.so
> 3969016000-3969017000 rw-p 00016000 fd:00 96796934                       /lib64/libpthread-2.5.so
> 3969017000-396901b000 rw-p 3969017000 00:00 0
> 3969600000-3969602000 r-xp 00000000 fd:00 169573828                      /usr/lib64/libXau.so.6.0.0
> 3969602000-3969801000 ---p 00002000 fd:00 169573828                      /usr/lib64/libXau.so.6.0.0
> 3969801000-3969802000 rw-p 00001000 fd:00 169573828                      /usr/lib64/libXau.so.6.0.0
> 3969a00000-3969a05000 r-xp 00000000 fd:00 169573829                      /usr/lib64/libXdmcp.so.6.0.0
> 3969a05000-3969c04000 ---p 00005000 fd:00 169573829                      /usr/lib64/libXdmcp.so.6.0.0
> 3969c04000-3969c05000 rw-p 00004000 fd:00 169573829                      /usr/lib64/libXdmcp.so.6.0.0
> 3969e00000-3969f05000 r-xp 00000000 fd:00 169573830                      /usr/lib64/libX11.so.6.2.0
> 3969f05000-396a105000 ---p 00105000 fd:00 169573830                      /usr/lib64/libX11.so.6.2.0
> 396a105000-396a10c000 rw-p 00105000 fd:00 169573830                      /usr/lib64/libX11.so.6.2.0
> 396a200000-396a210000 r-xp 00000000 fd:00 169573831                      /usr/lib64/libXext.so.6.4.0
> 396a210000-396a410000 ---p 00010000 fd:00 169573831                      /usr/lib64/libXext.so.6.4.0
> 396a410000-396a411000 rw-p 00010000 fd:00 169573831                      /usr/lib64/libXext.so.6.4.0
> 396a600000-396a620000 r-xp 00000000 fd:00 96796961                       /lib64/libexpat.so.0.5.0
> 396a620000-396a81f000 ---p 00020000 fd:00 96796961                       /lib64/libexpat.so.0.5.0
> 396a81f000-396a822000 rw-p 0001f000 fd:00 96796961                       /lib64/libexpat.so.0.5.0
> 396b200000-396b229000 r-xp 00000000 fd:00 169573858                      /usr/lib64/libfontconfig.so.1.1.0
> 396b229000-396b429000 ---p 00029000 fd:00 169573858                      /usr/lib64/libfontconfig.so.1.1.0
> 396b429000-396b433000 rw-p 00029000 fd:00 169573858                      /usr/lib64/libfontconfig.so.1.1.0
> 396b433000-396b434000 rw-p 396b433000 00:00 0
> 396b600000-396b609000 r-xp 00000000 fd:00 169573832                      /usr/lib64/libXrender.so.1.3.0
> 396b609000-396b808000 ---p 00009000 fd:00 169573832                      /usr/lib64/libXrender.so.1.3.0
> 396b808000-396b809000 rw-p 00008000 fd:00 169573832                      /usr/lib64/libXrender.so.1.3.0
> 396ba00000-396ba7e000 r-xp 00000000 fd:00 169553906                      /usr/lib64/libGLU.so.1.3.060501
> 396ba7e000-396bc7e000 ---p 0007e000 fd:00 169553906                      /usr/lib64/libGLU.so.1.3.060501
> 396bc7e000-396bc80000 rw-p 0007e000 fd:00 169553906                      /usr/lib64/libGLU.so.1.3.060501
> 396be00000-396be09000 r-xp 00000000 fd:00 169573855                      /usr/lib64/libXcursor.so.1.0.2
> 396be09000-396c009000 ---p 00009000 fd:00 169573855                      /usr/lib64/libXcursor.so.1.0.2
> 396c009000-396c00a000 rw-p 00009000 fd:00 169573855                      /usr/lib64/libXcursor.so.1.0.2
> 396c200000-396c202000 r-xp 00000000 fd:00 169573856                      /usr/lib64/libXinerama.so.1.0.0
> 396c202000-396c401000 ---p 00002000 fd:00 169573856                      /usr/lib64/libXinerama.so.1.0.0
> 396c401000-396c402000 rw-p 00001000 fd:00 169573856                      /usr/lib64/libXinerama.so.1.0.0
> 396c600000-396c603000 r-xp 00000000 fd:00 169573833                      /usr/lib64/libXrandr.so.2.0.0
> 396c603000-396c802000 ---p 00003000 fd:00 169573833                      /usr/lib64/libXrandr.so.2.0.0
> 396c802000-396c803000 rw-p 00002000 fd:00 169573833                      /usr/lib64/libXrandr.so.2.0.0
> 396ca00000-396ca05000 r-xp 00000000 fd:00 169573854                      /usr/lib64/libXfixes.so.3.1.0
> 396ca05000-396cc04000 ---p 00005000 fd:00 169573854                      /usr/lib64/libXfixes.so.3.1.0
> 396cc04000-396cc05000 rw-p 00004000 fd:00 169573854                      /usr/lib64/libXfixes.so.3.1.0
> 396ce00000-396ce9d000 r-xp 00000000 fd:00 96796982                       /lib64/libglib-2.0.so.0.1200.3
> 396ce9d000-396d09c000 ---p 0009d000 fd:00 96796982                       /lib64/libglib-2.0.so.0.1200.3
> 396d09c000-396d09e000 rw-p 0009c000 fd:00 96796982                       /lib64/libglib-2.0.so.0.1200.3
> 396d600000-396d63e000 r-xp 00000000 fd:00 96796989                       /lib64/libgobject-2.0.so.0.1200.3
> 396d63e000-396d83e000 ---p 0003e000 fd:00 96796989                       /lib64/libgobject-2.0.so.0.1200.3
> 396d83e000-396d840000 rw-p 0003e000 fd:00 96796989                       /lib64/libgobject-2.0.so.0.1200.3
> 396da00000-396da17000 r-xp 00000000 fd:00 169544775                      /usr/lib64/libICE.so.6.3.0
> 396da17000-396dc16000 ---p 00017000 fd:00 169544775                      /usr/lib64/libICE.so.6.3.0
> 396dc16000-396dc18000 rw-p 00016000 fd:00 169544775                      /usr/lib64/libICE.so.6.3.0
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>



-- 
Kenji Takizawa
http://www.tafsm.org/ktaki
http://www.tafsm.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hyperslab_bugfix.patch.tar.gz
Type: application/x-gzip
Size: 379 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100518/635e9d0c/attachment-0001.bin>


More information about the ParaView mailing list