<div dir="ltr">Kai,<div><br></div><div>Once it segfaults, just type "bt" (enter) to pring the backtrace.</div><div><br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 29, 2014 at 11:12 AM, kai liu <span dir="ltr"><<a href="mailto:liuwukai@yahoo.com" target="_blank">liuwukai@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><div>
<span style="font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px;background-color:transparent">Utkarsh,</span><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span style="font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px;background-color:transparent"><br></span></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif">
<span style="font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">How do I attach the backtrace for the </span>segfault? I am pretty new to the Linux as well. Do I just do<br>
</div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="font-weight:bold">$: gdb pvpython</span></div>
<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="font-weight:bold">$: run</span></div>
<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif">on Ubuntu terminal to backtrace? </div>
<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif"><br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif">
If that's not how we backtrace, can you please tell me how to do it? Thank you!</div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif">
<br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:'Helvetica Neue','Segoe UI',Helvetica,Arial,'Lucida Grande',sans-serif">Kai L. </div><div><div class="h5">
<div style="display:block"> <br> <br> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt"> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt">
 <div dir="ltr"> <font face="Arial"> On Wednesday, January 29, 2014 5:35 AM, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<br> </font> </div>  <div>
<div><div><div dir="ltr">Kai,<div><br clear="none"></div><div>Can you rebuilding with CMAKE_BUILD_TYPE set Debug and the attaching the backtrace for the segfault? It's unclear why <span style="font-family:monospace;font-size:13px">ParaViewPython::Run() would segfault.</span></div>

</div><div><br clear="none"><br clear="none"><div>On Wed, Jan 29, 2014 at 7:45 AM, kai liu <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:liuwukai@yahoo.com" target="_blank">liuwukai@yahoo.com</a>></span> wrote:<br clear="none">

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div style="font-size:12pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<div>
<span style="font-family:monospace;font-size:13px">I downloaded ParaView-4.1.0-Linux-32bit-glibc-2.3.6.tar.gz from</span><a rel="nofollow" shape="rect" href="http://www.paraview.org/paraview/resources/software.php." style="color:rgb(25,106,212);font-size:13px;font-family:monospace" target="_blank">http://www.paraview.org/paraview/resources/software.php. </a><br clear="none" style="font-family:monospace;font-size:13px">

<br clear="none" style="font-family:monospace;font-size:13px"><br clear="none" style="font-family:monospace;font-size:13px"><span style="font-family:monospace;font-size:13px">I run the following command</span><br clear="none" style="font-family:monospace;font-size:13px">

<span style="font-family:monospace;font-size:13px">./bin/pvpython
 lib/paraview-4.1/site-packages/paraview/web/pv_web_visualizer.py  \</span><br clear="none" style="font-family:monospace;font-size:13px"><span style="font-family:monospace;font-size:13px">            --content ./share/paraview-4.1/www                                    \</span><br clear="none" style="font-family:monospace;font-size:13px">

<span style="font-family:monospace;font-size:13px">            --data-dir /path-to-share/                                            \</span><br clear="none" style="font-family:monospace;font-size:13px"><span style="font-family:monospace;font-size:13px">            --port 8080 &</span><br clear="none" style="font-family:monospace;font-size:13px">

<br clear="none" style="font-family:monospace;font-size:13px"><span style="font-family:monospace;font-size:13px">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 </span><span style="font-family:monospace;font-size:13px">on my own system, it is still the same segmentation fault.  </span></div>

<div><br clear="none" style="font-family:monospace;font-size:13px"><span style="font-family:monospace;font-size:13px">Even if i just run ./bin/pvpython, I still get segmentation fault. I used gdb debugger, and I got </span><br clear="none" style="font-family:monospace;font-size:13px">

<br clear="none" style="font-family:monospace;font-size:13px"><span style="font-family:monospace;font-size:13px">Program received signal SIGSEGV, Segmentation fault.</span><br clear="none" style="font-family:monospace;font-size:13px">
<span style="font-family:monospace;font-size:13px">0x08049c67 in ParaViewPython::Run(int, int, char**) ().</span><br clear="none" style="font-family:monospace;font-size:13px">
<br clear="none" style="font-family:monospace;font-size:13px"><span style="font-family:monospace;font-size:13px">Thank you!</span><br clear="none" style="font-family:monospace;font-size:13px"><br clear="none" style="font-family:monospace;font-size:13px">
<span style="font-family:monospace;font-size:13px">Kai L.</span><br clear="none" style="font-family:monospace;font-size:13px">
</div></div></div></div><br clear="none">_______________________________________________<br clear="none">
Powered by <a rel="nofollow" shape="rect" href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br clear="none">
<br clear="none">
Visit other Kitware open-source projects at <a rel="nofollow" shape="rect" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none">
<br clear="none">
Please keep messages on-topic and check the ParaView Wiki at: <a rel="nofollow" shape="rect" href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br clear="none">
<br clear="none">
Follow this link to subscribe/unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div>  </div> </div>  </div> </div></div></div></div></blockquote></div><br></div>