help needed debugging a crash

Jaroslaw Staniek staniek at kde.org
Mon Apr 16 11:52:39 BST 2012


On 16 April 2012 12:42, Dag <danders at get2net.dk> wrote:
> :Hi, I have a crash in plan on exit which I don't know how to squash.
> https://bugs.kde.org/show_bug.cgi?id=298075
>
> It happends sometimes (today: once in ~30 runs). I hoped it was a koffice issue
> because I had not seen it in calligra untill a few days ago.
>
> The crash is always in a dbus object in qobject.cpp:854 where it tries to
> access a declarative data object:
>
> 853 if (d->declarativeData)
> 854      QAbstractDeclarativeData::destroyed(d->declarativeData, this);
>
> When running gdb, I can see that d->declarativeData != 0, but the destroyed()
> function pointer == 0, hence crash.
>
> I cannot find any use of declaratives in dbus, but I might not have looked in
> the right place.
>
> The only theory I have is that there a bug somewhere that overwrites
> d->declarativeData.
>
> How to catch this?
> Anybody?

Could Valgrind help?

-- 
regards / pozdrawiam, Jaroslaw Staniek
 http://www.linkedin.com/in/jstaniek
 Kexi & Calligra (kexi-project.org, identi.ca/kexi, calligra-suite.org)
 KDE Software Development Platform on MS Windows (windows.kde.org)



More information about the calligra-devel mailing list