[Paraview] Problem with compiling and running paraview custom application on RedHat / CentOS 5.4

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Apr 6 08:56:27 EDT 2011


You may want to try to do a debug build and then attach with a
debugger and see what's going on. It's hard to determine what's going
wrong here.

Utkarsh

On Tue, Apr 5, 2011 at 6:37 PM, Shailender Kanwar
<shailender.kanwar at gmail.com> wrote:
> Hi all,
>
> I have been trying to create a custom application using paraview 3.8.1 on
> CentOS 5.4 which I hope will be compatible with Red Hat 5.4 too.
>
> I have built static libraries of Paraview with Qt version 4.6.2 which was
> again statically built.
> Every thing got built properly and my custom app is also getting built.
>
> But when I run my application (named APP), I get the following error :
>
> *** glibc detected *** ./APP: free(): invalid pointer: 0x0000003d1f4efe00
> ***
> ======= Backtrace: =========
> /lib64/libc.so.6[0x3d0d47230f]
> /lib64/libc.so.6(cfree+0x4b)[0x3d0d47276b]
> ./APP[0x1e0f16e]
> ./APP[0x1e0f29f]
> ./APP(_ZN15vtkPVXMLElement16AddCharacterDataEPKci+0x2e)[0x2534694]
> ./APP(_ZN14vtkPVXMLParser20CharacterDataHandlerEPKci+0x4a)[0x2533904]
> ./APP(vtkXMLParserCharacterDataHandler+0x30)[0x4120398]
> ./APP[0x429e86c]
> ./APP[0x429d171]
> ./APP[0x42a1428]
> ./APP[0x42a0b6d]
> ./APP[0x42a0ae5]
> ./APP(vtk_expat_XML_ParseBuffer+0xb5)[0x429ca0c]
> ./APP(vtk_expat_XML_Parse+0xf9)[0x429c94a]
> ./APP(_ZN12vtkXMLParser11ParseBufferEPKcj+0x2c)[0x411e5f8]
> ./APP(_ZN12vtkXMLParser11ParseBufferEPKc+0x52)[0x411e546]
> ./APP(_ZN12vtkXMLParser8ParseXMLEv+0x86)[0x411eff2]
> ./APP(_ZN14vtkPVXMLParser8ParseXMLEv+0x4d)[0x2533883]
> ./APP(_ZN12vtkXMLParser5ParseEv+0x439)[0x411fcbf]
> ./APP(_ZN12vtkXMLParser5ParseEPKc+0x3d)[0x411e381]
> ./APP(_ZN16vtkSMApplication10InitializeEv+0x99)[0x1e9a56d]
> ./APP(_ZN23vtkInitializationHelper10InitializeEiPPcP12vtkPVOptions+0x237)[0x1e8cfd3]
> ./APP(_ZN17pqApplicationCoreC2ERiPPcP9pqOptionsP7QObject+0xc3)[0x1c6f203]
> ./APP(_ZN19pqPVApplicationCoreC1ERiPPcP9pqOptions+0x34)[0x128eeaa]
> ./APP(_ZN19pqCODESSInitializer10InitializeEiPPc+0x50)[0x1233608]
> ./APP(main+0x20c)[0x1233284]
> /lib64/libc.so.6(__libc_start_main+0xf4)[0x3d0d41d994]
> ./APP(tan+0xac1)[0x1232fc9]
>
> And after this is the memory map
>
> The same problem happens when I try to run the paraview binary from the
> built binaries in the build folder.
>
> I tried googling but seems like no one has encountered this problem before.
> I haven't faced any such problem yet while using ubuntu 10.10.
>
> Any suggestion as to the cause and solution will be most helpful.
>
>
> Thanks and regards,
>
> Shailender Kanwar
>
>
>
> _______________________________________________
> 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
>
>


More information about the ParaView mailing list