[PATCH] Implement shared dpointer

Andreas Pakulat apaku at gmx.de
Fri Dec 14 17:48:26 UTC 2007


Hi,

I would've comitted this directly, but it creates a new crash in
KDevelop::DocumentRangeObject::~DocumentRangeObject()

As far as I can see there are 2 different DocumentRangeObjects that have
and own the same KTextEditor::Range in its internal pointer. I guess the
smart-range-cleanup stuff triggers the crash when the second object is
destroyed.

The crash happens on line 56 and its in d->m_range->isSmartRange().

Any hints how to better debug this or even fix are appreciated.

Andreas

-- 
So you're back... about time...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevplatform_shared_dpointer.diff
Type: text/x-diff
Size: 18439 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20071214/bd066acc/attachment.bin>


More information about the KDevelop-devel mailing list