<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><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="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><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="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><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="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="font-weight: bold;">$: gdb pvpython</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="font-weight: bold;">$: run</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">on Ubuntu terminal to backtrace? </div><div style="color: rgb(0, 0, 0); font-size: 13px;
 font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">If that's not how we backtrace, can you please tell me how to do it? Thank you!</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Kai L. </div><div class="yahoo_quoted" 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 size="2" face="Arial"> On Wednesday, January 29, 2014 5:35 AM, Utkarsh Ayachit <utkarsh.ayachit@kitware.com> wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv0259383357"><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 class="yiv0259383357gmail_extra"><br clear="none"><br clear="none"><div class="yiv0259383357gmail_quote">On Wed, Jan 29, 2014 at 7:45 AM, kai liu <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:liuwukai@yahoo.com" target="_blank" href="mailto:liuwukai@yahoo.com">liuwukai@yahoo.com</a>></span> wrote:<br clear="none">
<blockquote class="yiv0259383357gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv0259383357yqt0595687105" id="yiv0259383357yqt19614"><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" target="_blank" href="http://www.paraview.org/paraview/resources/software.php." style="color: rgb(25, 106, 212); font-size: 13px; font-family: monospace;">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" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br clear="none">
<br clear="none">
Visit other Kitware open-source projects at <a rel="nofollow" shape="rect" target="_blank" href="http://www.kitware.com/opensource/opensource.html">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" target="_blank" href="http://paraview.org/Wiki/ParaView">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" target="_blank" href="http://www.paraview.org/mailman/listinfo/paraview">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></body></html>