<div dir="ltr">Richard,<div><br></div><div>I have created a merge request with a proposed bug fix.</div><div><br></div><div><div><a href="https://gitlab.kitware.com/paraview/paraview/merge_requests/417">https://gitlab.kitware.com/paraview/paraview/merge_requests/417</a></div><div><br></div><div>commit 434b9af41bcbd5d4497a44425d5d42b64efda6ac</div><div>Author: Cory Quammen <<a href="mailto:cory.quammen@kitware.com">cory.quammen@kitware.com</a>></div><div>Date: Mon Oct 12 11:06:20 2015 -0400</div><div><br></div><div> Replace Q_ASSERT with a return if NULL</div><div> </div><div> With recent changes to pqFindDataSelectionDisplayFrame, it was</div><div> possible for showFrustum() to be called when the current port was</div><div> NULL. This could lead to a crash when no object was selected in the</div><div> pipeline browser and the "Pick Center" tool was used. Changed this</div><div> code to return from this function if the view or port are NULL.</div></div><div><br></div><div>Cory<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 12, 2015 at 11:38 AM, Richard Grenon <span dir="ltr"><<a href="mailto:richard.grenon@onera.fr" target="_blank">richard.grenon@onera.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cory,<br>
<br>
I performed the test with the sphere: same crash when clicking on "builtin" in Pipeline Browser before picking Center, no crash when "Sphere" object is selected.<br>
<br>
Thank you for taking a look at a fix.<span class="HOEnZb"><font color="#888888"><br>
<br>
Richard</font></span><span class="im HOEnZb"><br>
<br>
Le 12/10/2015 16:15, Cory Quammen a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Richard,<br>
<br>
I can confirm. In fact, it isn't specific to your state file, but rather can be reproduced with a Sphere Source:<br>
<br>
- launch ParaView<br>
- Sources -> Sphere Source. Apply<br>
- Click on "builtin:" in Pipeline Browser<br>
- Click the "Pick Center" button<br>
- Click on the sphere<br>
<br>
Crash:<br>
<br>
ASSERT: "this->View != NULL && this->Port != NULL" in file /home/cory/code/src/ParaView/Qt/Components/pqFindDataSelectionDisplayFrame.cxx, line 323<br>
Aborted (core dumped)<br>
<br>
I'll take a look at a fix.<br>
<br>
Cory<br>
<br>
</blockquote></span><div class="HOEnZb"><div class="h5">
-- <br>
Richard GRENON<br>
ONERA<br>
Departement d'Aerodynamique Appliquee - DAAP/ACI<br>
8 rue des Vertugadins<br>
92190 MEUDON - FRANCE<br>
phone : <a href="tel:%2B33%201%2046%2073%2042%2017" value="+33146734217" target="_blank">+33 1 46 73 42 17</a><br>
fax : <a href="tel:%2B33%201%2046%2073%2041%2046" value="+33146734146" target="_blank">+33 1 46 73 41 46</a><br>
mailto:<a href="mailto:Richard.Grenon@onera.fr" target="_blank">Richard.Grenon@onera.fr</a><br>
<a href="http://www.onera.fr" rel="noreferrer" target="_blank">http://www.onera.fr</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>