Valgrind hit in kio_data [PATCH]

Ingo Klöcker kloecker at kde.org
Thu Feb 24 23:43:55 GMT 2005


On Friday 25 February 2005 00:33, André Wöbbeking wrote:
> On Friday 25 February 2005 00:24, Till Adam wrote:
> > That one is typical of one of our biggest problems in KMail, the
> > fact that message pointers can become invalid at any time.
>
> what about shared or guarded pointer?

This would prevent crashes but lead to hard to track bugs, i.e. changes 
to the (dead) KMMsgInfo object would be lost because this object was 
already replaced by a KMMessage object. It's much easier to find the 
remaining problems when a crash occurs.

As Till already wrote we will clean up this mess for KDE 4.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050225/749a444d/attachment.sig>


More information about the kde-core-devel mailing list