On Wednesday 11. August 2010 07.28.23 Karthick wrote: > 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.
An exception was thrown and Qt caught it. Unfortunately, because Qt caught it
and printed the error message above, the location of the throw is now lost.
> terminate called after throwing an instance of 'std::bad_alloc'
> what(): std::bad_alloc
> Aborted
The exception above indicates a problem allocating memory. Either you ran out
of memory or something tried to allocate a silly amount of memory.
Try running your application under valgrind, or in gdb and put a breakpoint in
__cxa_throw.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
