[Paraview] exception handler
clinton at elemtech.com
clinton at elemtech.com
Fri May 30 11:03:05 EDT 2008
Do you get that error because you're trying to load the server plugin on the
client side when ParaView is in client/server mode?
http://www.caf.dk/cafonly/gnu/gdb/gdb_31.html
Says you can set a breakpoint at __raise_exception to have gdb break before
letting the catch in QEventLoop::exec handle it.
Clint
On Friday 30 May 2008 4:54:45 am Mattijs Janssens wrote:
> It might relate to the fact that Paraview recognizes the client side plugin
> but not the server side one. If I go into Manage Plugins and try to load
> the server side one by hand it says that it "is not a valid Qt plugin".
>
> This is all built with Qt 4.3.3, cmake 2.4 patch 6.
>
> On other machines with slightly different OS versions it all works fine.
>
> On Thursday 29 May 2008 17:43, Berk Geveci wrote:
> > I have seen this before when I included a piece of code that actually
> > throw exceptions. It is tough to debug unfortunately since you don't
> > get the stack trace that points to the right place. If you have any
> > idea about the whereabouts of this issue, you could add an exception
> > handler to pinpoint the problem better.
> >
> > -berk
> >
> > On Thu, May 29, 2008 at 8:39 AM, Mattijs Janssens
> >
> > <m.janssens at opencfd.co.uk> wrote:
> > > 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