[Paraview] exception handler
Moreland, Kenneth
kmorel at sandia.gov
Thu May 29 09:42:34 EDT 2008
I get that a lot in ParaView when my code is doing an incorrect memory access (seg fault, bus error, etc.). Try running ParaView in a debugger and see if it breaks on the real problem.
-Ken
> -----Original Message-----
> From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
> On Behalf Of Mattijs Janssens
> Sent: Thursday, May 29, 2008 6:40 AM
> To: paraview at paraview.org
> Subject: [Paraview] exception handler
>
> Hello all,
>
> from my reader module I get the message below. Excellent message and am
> probably doing something wrong but how do I find out which routine in my
> reader is the culprit? gdb on the core just tells me that it is inside
> QEventLoop::exec.
>
> "Qt has caught an exception thrown from an event handler. Throwing
> exceptions from an event handler is not supported in Qt. You must
> reimplement QApplication::notify() and catch all exceptions there.
>
> terminate called after throwing an instance of 'std::length_error'
> what(): basic_string::_S_create
> "
>
> Regards,
>
> Mattijs
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list