Review Request: Fix a VLC crash by delaying object deletion to avoid invalid access by QtDBus...

Thiago Macieira thiago at kde.org
Sat Feb 5 17:57:40 GMT 2011


On Saturday, 5 de February de 2011 17:39:35 Dawit Alemayehu wrote:
> was that in both cases the backtrace shows QtDBus attempting to invoke or
> access some method or slot in the object that was just destroyed. At this

That's supposed to be impossible. QtDBus connects to the object's 
destroyed(QObject*) signal, and removes the object from the object tree when 
it's destroyed.

It's also thread-safe, as all manipulations of the object tree are done under 
a write lock.

The only thing I can think of is that something caused the signal to 
disconnect.

-- 
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://mail.kde.org/pipermail/kde-core-devel/attachments/20110205/1ed24ad2/attachment.sig>


More information about the kde-core-devel mailing list