[prev in list] [next in list] [prev in thread] [next in thread] 

List:       meego-dev
Subject:    [MeeGo-dev] Problem in Meego Handset Music source package
From:       thiago () kde ! org (Thiago Macieira)
Date:       2010-08-11 7:01:38
Message-ID: 201008110901.49482.thiago () kde ! org
[Download RAW message or body]

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.meego.com/pipermail/meego-dev/attachments/20100811/fe85dc95/attachment.pgp>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic