help needed debugging a crash

Dag danders at get2net.dk
Mon Apr 16 12:10:38 BST 2012


Mandag den 16. april 2012 12:52:39 Jaroslaw Staniek skrev:
> 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?
I have one crash when running in valgrind but afaics there is nothing obvious. 
I get some "invalid read size", "Use of uninitialised value" and "Conditional 
jump or move depends on uninitialised value" but it does not seem to originate 
in plan specific code.
-- 
Mvh.
Dag Andersen



More information about the calligra-devel mailing list