<div dir="ltr"><div><div>Carlos,<br><br>For information, here is the merge request that address the wedge issue: <br>  <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/4059">https://gitlab.kitware.com/vtk/vtk/merge_requests/4059</a><br></div>This is a simple patch for now, better solution will come.<br><br></div><div>Joachim<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2018-03-26 15:04 GMT-04:00 Carlos E Manglano-Villamarin <span dir="ltr"><<a href="mailto:carlosemanglanov@gmail.com" target="_blank">carlosemanglanov@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Joachim,<div><br></div><div>I'll give it a go!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>C.</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-03-26 20:36 GMT+02:00 Joachim Pouderoux <span dir="ltr"><<a href="mailto:joachim.pouderoux@kitware.com" target="_blank">joachim.pouderoux@kitware.com</a><wbr>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Carlos,<br><br></div>OpenFOAM can produce cells with non planar faces which is not handled by VTK/ParaView. Moreover it appears that current reader implementation can<br>also produce incorrect cells when reading wedge cells.<br>Thanks to a recent rewriting of the polydron clipping algorithm, the clipping/slicing of polyhedron should no more lead to crashes. However,the problems<br>of non planar faces might produce some holes in the result.<br>We are currently working on a patch to better handle this case in the reader.<br></div></div></div></div>If you want to try the new polyhedron  clipping algorithm, you will have to use ParaView >= 5.5 RC1.<br><br></div>Best regards,<br></div>Joachim<br><div><div><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_5013412950064114834m_-6161651456042481101gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div></div></div></div></div></div></div><div><div class="m_5013412950064114834h5">
<br><div class="gmail_quote">2018-03-26 14:29 GMT-04:00 Carlos E Manglano-Villamarin <span dir="ltr"><<a href="mailto:carlosemanglanov@gmail.com" target="_blank">carlosemanglanov@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It's me again, I'm sorry,<div><br></div><div>Problem NOT solved!!! ... Hardware looks ok, software and system handling memory looks good too.</div><div><br></div><div>ParaView shuts down if I try to generate a clip with the "VTK Polyhedron" option selected, before and after clipping ... </div><div><br></div><div>possible bug??</div><span class="m_5013412950064114834m_-6161651456042481101HOEnZb"><font color="#888888"><div><br></div><div>C.</div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><span>2018-03-26 16:51 GMT+02:00 Shawn Waldon <span dir="ltr"><<a href="mailto:shawn.waldon@kitware.com" target="_blank">shawn.waldon@kitware.com</a>></span>:<br></span><div><div class="m_5013412950064114834m_-6161651456042481101h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Carlos,<br><br></div>That error message means that an exception was thrown from a Qt event handler.  The message about reimplementing QApplication::notify() is just to tell you how to catch the exception if you wanted to.  The real problem is the exception.<br><br></div>A std::bad_alloc exception happens when the program tries to allocate memory and fails.  So you need to figure out why you are running out of memory (that is the most likely cause of the error).<br><br></div>HTH,<br></div>Shawn<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_5013412950064114834m_-6161651456042481101m_4992643019519652968h5">On Mon, Mar 26, 2018 at 10:47 AM, Carlos E Manglano-Villamarin <span dir="ltr"><<a href="mailto:carlosemanglanov@gmail.com" target="_blank">carlosemanglanov@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_5013412950064114834m_-6161651456042481101m_4992643019519652968h5"><div dir="ltr"><div><div><div><div><div>Hi everyone!<br><br></div>When I postprocess some simulations, less than 900,000 cells, from openfoam, either opening paraview directly or using the parafoam tool, the program crashes giving me the following error message:<br><br>I/O    : uncollated<br>terminate called after throwing an instance of 'std::bad_alloc'<br>  what():  std::bad_alloc<br>Qt has caught an exception thrown from an event handler. Throwing<br>exceptions from an event handler is not supported in Qt. You must<br>reimplement QApplication::notify() and catch all exceptions there.<br><br></div>My OS is Ubuntu 16.04, freshly installed. I was getting the same error with Ubuntu 17.10 which I had installed until last night.<br><br></div>I am looking for info about "reimplementing QApplication" with no luck.<br><br></div>Any suggestions, please?<span class="m_5013412950064114834m_-6161651456042481101m_4992643019519652968m_1891548020288032918HOEnZb"><font color="#888888"><br></font></span></div><span class="m_5013412950064114834m_-6161651456042481101m_4992643019519652968m_1891548020288032918HOEnZb"><font color="#888888">Carlos<br></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div><br></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/paraview</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>