<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">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><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>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="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Carlos<br></font></span></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/<wbr>opensource/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/<wbr>ParaView</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/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>