Utkarsh, It does not crash when it is commented out.
It is trying to read an ExodusII file # create a new 'ExodusIIReader test_data = ExodusIIReader(FileName=path) # show data in view test_Display = Show(test_data, renderView1) but does not crash until ResetCamera is called. So, I guess the problem is with the ExodusIIReader, and just doesn't manifest until the ResetCamera, triggers an update to the pipeline. I know the data is okay as I can read it with another version of ParaView 5.3.0 on the same system. Thanks, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph G. Hennessey Ph.D., SAIC Team SAIC Army Research Lab DOD Supercomputing Resource Center Aberdeen Proving Ground, MD 21005 Voice: 410-278-3619 Fax: 410-278-8799 Email: [email protected] -----Original Message----- From: Utkarsh Ayachit [mailto:[email protected]] Sent: Thursday, May 11, 2017 3:44 PM To: Hennessey, Joseph G CTR USARMY RDECOM ARL (US) <[email protected]> Cc: [email protected] Subject: [Non-DoD Source] Re: [Paraview] ResetCamera throwing bad_alloc All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser. ________________________________ Joe, Do you see the error if you comment out all the "#Show stuff in renderView1" part? Utkarsh On Thu, May 11, 2017 at 3:13 PM, Hennessey, Joseph G CTR USARMY RDECOM ARL (US) <[email protected] < Caution-mailto:[email protected] > > wrote: Hello, I am getting an error on running a python script with pvpython and ParaView 5.3.0 on linux. # get active view renderView1 = GetActiveViewOrCreate('RenderView') # uncomment following to set a specific view size renderView1.ViewSize = [1200, 600] # Properties modified on renderView1 renderView1.Background = [1.0, 1.0, 1.0] #Show stuff in renderView1 . . . # reset view to fit data renderView1.ResetCamera() ResetCamera() is throwing an error terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Has anyone seen this particular error before with just calling ResetCamera() on a renderView? Thanks, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph G. Hennessey Ph.D., SAIC Team SAIC Army Research Lab DOD Supercomputing Resource Center _______________________________________________ Powered by Caution-www.kitware.com < Caution-http://www.kitware.com > Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > Please keep messages on-topic and check the ParaView Wiki at: Caution-http://paraview.org/Wiki/ParaView < Caution-http://paraview.org/Wiki/ParaView > Search the list archives at: Caution-http://markmail.org/search/?q=ParaView < Caution-http://markmail.org/search/?q=ParaView > Follow this link to subscribe/unsubscribe: Caution-http://public.kitware.com/mailman/listinfo/paraview < Caution-http://public.kitware.com/mailman/listinfo/paraview >
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
