[Paraview] ParaViewWeb ./pvpython segmentation fault

kai liu liuwukai at yahoo.com
Wed Jan 29 15:14:47 EST 2014


Utkarsh, 

I rebuilding with CMAKE_BUILD_TYPE set Debug. The following is the backtrace for the segfault



(gdb) run
Starting program: /home/user/Desktop/pvw/bin/pvpython 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0804abf1 in ParaViewPython::Run (processType=0, argc=1, argv=0xbfffe9f4)
    at /home/user/Desktop/pvw/ParaView-v4.1.0/CommandLineExecutables/pvpython.h:86
86    if (pm->GetSymmetricMPIMode() == false &&

(gdb) bt
#0  0x0804abf1 in ParaViewPython::Run (processType=0, argc=1, argv=0xbfffe9f4)
    at /home/user/Desktop/pvw/ParaView-v4.1.0/CommandLineExecutables/pvpython.h:86
#1  0x0804adf9 in main (argc=1, argv=0xbfffe9f4)
    at /home/user/Desktop/pvw/ParaView-v4.1.0/CommandLineExecutables/pvpython.cxx:27

Hopefully this is what you need for the backtrace result. I look forward to hearing from you soon. Thank you!


Kai L.




On Wednesday, January 29, 2014 11:16 AM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com> wrote:
 
Kai,

Once it segfaults, just type "bt" (enter) to pring the backtrace.

Utkarsh



On Wed, Jan 29, 2014 at 11:12 AM, kai liu <liuwukai at yahoo.com> wrote:

Utkarsh,
>
>
>
>How do I attach the backtrace for the segfault? I am pretty new to the Linux as well. Do I just do
>
>$: gdb pvpython
>$: run
>on Ubuntu terminal to backtrace? 
>
>
>If that's not how we backtrace, can you please tell me how to do it? Thank you!
>
>
>Kai L. 
>
>
>
>On Wednesday, January 29, 2014 5:35 AM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com> wrote:
> 
>Kai,
>
>
>Can you rebuilding with CMAKE_BUILD_TYPE set Debug and the attaching the backtrace for the segfault? It's unclear why ParaViewPython::Run() would segfault.
>
>
>
>On Wed, Jan 29, 2014 at 7:45 AM, kai liu <liuwukai at yahoo.com> wrote:
>
>I downloaded ParaView-4.1.0-Linux-32bit-glibc-2.3.6.tar.gz fromhttp://www.paraview.org/paraview/resources/software.php. 
>>
>>
>>I run the following command
>>./bin/pvpython lib/paraview-4.1/site-packages/paraview/web/pv_web_visualizer.py  \
>>            --content ./share/paraview-4.1/www                                    \
>>            --data-dir /path-to-share/                                            \
>>            --port 8080 &
>>
>>Do you know why I always get segmentation fault (core dump) on 32-bit Ubuntu machine? I tested on 64-bit Ubuntu machine, and it works fine. I also tested on 32-bit and 64-bit Windows machines, and they all work fine. I even tried to build an off-screen ParaView Web on my own system, it is still the same segmentation fault.  
>>
>>Even if i just run ./bin/pvpython, I still get segmentation fault. I used gdb debugger, and I got 
>>
>>Program received signal SIGSEGV, Segmentation fault.
>>0x08049c67 in ParaViewPython::Run(int, int, char**) ().
>>
>>Thank you!
>>
>>Kai L.
>>
>>_______________________________________________
>>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
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140129/026b50e9/attachment.html>


More information about the ParaView mailing list