<div dir="ltr">Joe,<div><br></div><div>I suspect there is indeed some data corruption going on. Do you have a debug build? Or can you share the data with me? Let's see where the exception is being thrown that will illuminate the problem.</div><div><br></div><div>Utkarsh<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 6:17 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL (US) <span dir="ltr"><<a href="mailto:joseph.g.hennessey2.ctr@mail.mil" target="_blank">joseph.g.hennessey2.ctr@mail.mil</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Utkarsh,<br>
<br>
It does not crash when it is commented out.<br>
<br>
It is trying to read an ExodusII file<br>
<br>
# create a new 'ExodusIIReader<br>
test_data = ExodusIIReader(FileName=path)<br>
<br>
# show data in view<br>
test_Display = Show(test_data, renderView1)<br>
<br>
but does not crash until ResetCamera is called.<br>
<br>
So, I guess the problem is with the ExodusIIReader,<br>
and just doesn't manifest until the ResetCamera,<br>
triggers an update to the pipeline. I know the data<br>
is okay as I can read it with another version of ParaView<br>
5.3.0 on the same system.<br>
<span class=""><br>
Thanks,<br>
<br>
Joe<br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~<br>
Joseph G. Hennessey Ph.D., SAIC<br>
Team SAIC<br>
Army Research Lab<br>
DOD Supercomputing Resource Center<br>
</span>Aberdeen Proving Ground, MD 21005<br>
Voice:  <a href="tel:410-278-3619" value="+14102783619">410-278-3619</a><br>
Fax:    <a href="tel:410-278-8799" value="+14102788799">410-278-8799</a><br>
Email:  <a href="mailto:joseph.g.hennessey2.ctr@mail.mil">joseph.g.hennessey2.ctr@mail.<wbr>mil</a><br>
<span class=""><br>
<br>
-----Original Message-----<br>
From: Utkarsh Ayachit [mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@<wbr>kitware.com</a>]<br>
Sent: Thursday, May 11, 2017 3:44 PM<br>
To: Hennessey, Joseph G CTR USARMY RDECOM ARL (US)<br>
<<a href="mailto:joseph.g.hennessey2.ctr@mail.mil">joseph.g.hennessey2.ctr@mail.<wbr>mil</a>><br>
</span>Cc: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
Subject: [Non-DoD Source] Re: [Paraview] ResetCamera throwing bad_alloc<br>
<br>
All active links contained in this email were disabled. Please verify the<br>
identity of the sender, and confirm the authenticity of all links contained<br>
within the message prior to copying and pasting the address to a Web browser.<br>
<br>
<br>
______________________________<wbr>__<br>
<span class=""><br>
<br>
  Joe,<br>
<br>
    Do you see the error if you comment out all the "#Show stuff in<br>
    renderView1" part?<br>
<br>
    Utkarsh<br>
<br>
</span><span class="">On Thu, May 11, 2017 at 3:13 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL<br>
(US) <<a href="mailto:joseph.g.hennessey2.ctr@mail.mil">joseph.g.hennessey2.ctr@mail.<wbr>mil</a> <<br>
</span><div><div class="h5">Caution-mailto:<a href="mailto:joseph.g.hennessey2.ctr@mail.mil">joseph.g.<wbr>hennessey2.ctr@mail.mil</a> > > wrote:<br>
<br>
<br>
        Hello,<br>
<br>
        I am getting an error on running a python script with pvpython and ParaView<br>
        5.3.0 on linux.<br>
<br>
        # get active view<br>
        renderView1 = GetActiveViewOrCreate('<wbr>RenderView')<br>
<br>
        # uncomment following to set a specific view size<br>
        renderView1.ViewSize = [1200, 600]<br>
<br>
        # Properties modified on renderView1<br>
        renderView1.Background = [1.0, 1.0, 1.0]<br>
<br>
        #Show stuff in renderView1<br>
        .<br>
        .<br>
        .<br>
<br>
        # reset view to fit data<br>
        renderView1.ResetCamera()<br>
<br>
        ResetCamera() is throwing an error<br>
<br>
        terminate called after throwing an instance of 'std::bad_alloc'<br>
          what():  std::bad_alloc<br>
<br>
        Has anyone seen this particular error before with just calling ResetCamera()<br>
        on a renderView?<br>
<br>
        Thanks,<br>
<br>
        Joe<br>
<br>
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~<br>
        Joseph G. Hennessey Ph.D., SAIC<br>
        Team SAIC<br>
        Army Research Lab<br>
        DOD Supercomputing Resource Center<br>
<br>
<br>
        ______________________________<wbr>_________________<br>
</div></div>        Powered by <a href="http://Caution-www.kitware.com" rel="noreferrer" target="_blank">Caution-www.kitware.com</a> < Caution-<a href="http://www.kitware.com" rel="noreferrer" target="_blank">http://www.kitware.com</a> ><br>
<span class=""><br>
        Visit other Kitware open-source projects at<br>
</span>Caution-<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.<wbr>com/opensource/opensource.html</a> <<br>
Caution-<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.<wbr>com/opensource/opensource.html</a> ><br>
<span class=""><br>
        Please keep messages on-topic and check the ParaView Wiki at:<br>
</span>Caution-<a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/<wbr>Wiki/ParaView</a> <<br>
Caution-<a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/<wbr>Wiki/ParaView</a> ><br>
<br>
        Search the list archives at: Caution-<a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/<wbr>search/?q=ParaView</a> <<br>
Caution-<a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/<wbr>search/?q=ParaView</a> ><br>
<span class=""><br>
        Follow this link to subscribe/unsubscribe:<br>
</span>        Caution-<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.<wbr>com/mailman/listinfo/paraview</a> <<br>
Caution-<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.<wbr>com/mailman/listinfo/paraview</a> ><br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div></div></div>