[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdebase/runtime/nepomuk/strigibackend
From:       Michael Jansen <kde () michael-jansen ! biz>
Date:       2009-08-21 18:32:32
Message-ID: 200908212032.32526.kde () michael-jansen ! biz
[Download RAW message or body]

Hi Sebastian

I get output like 

[/kde/trunk/base/bin/nepomukservicestub] nepomukstrigiservice(28727) 
Strigi::Soprano::IndexWriter::addTriplet: Attempt to add :swiuv 
http://www.w3.org/1999/02/22-rdf-syntax-ns#type 
http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact to 
IndexWriter with currentResult = NULL 
ASSERT: "d->currentResult" in file 
/home/mjansen/stage/kde/trunk/src/KDE/kdebase/runtime/nepomuk/strigibackend/sopranoindexwriter.cpp, 
line 505

[/kde/trunk/base/bin/nepomukservicestub] nepomukstrigiservice(28722) 
Strigi::Soprano::IndexWriter::addTriplet: Attempt to add :pfgre 
http://www.w3.org/1999/02/22-rdf-syntax-ns#type 
http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact to 
IndexWriter with currentResult = NULL 
ASSERT: "d->currentResult" in file 
/home/mjansen/stage/kde/trunk/src/KDE/kdebase/runtime/nepomuk/strigibackend/sopranoindexwriter.cpp, 
line 505

here. Any idea what i can do to find out what file/??? ... is the problem so 
someone can reproduce and fix it? It crashes really often.

Mike



On Friday 21 August 2009 18:36:55 Michael Jansen wrote:
> SVN commit 1014141 by mjansen:
> 
> Add some debug output and code to be able to find out why that stuff
> crashes so often for me.
> 
>  M  +11 -0     sopranoindexwriter.cpp
> 
> 
> --- trunk/KDE/kdebase/runtime/nepomuk/strigibackend/sopranoindexwriter.cpp
>  #1014140:1014141 @@ -41,6 +41,7 @@
>  #include <QtCore/QUuid>
> 
>  #include <KUrl>
> +#include <KDebug>
> 
>  #include <sys/stat.h>
>  #include <stdlib.h>
> @@ -496,6 +497,16 @@
>      // Thus, we can just remember that and use it here.
>      //
> 
> +    // mjansen: 08/2009 - I get many crashes here and can't print s, p and
>  o +    // from the debugger with the core files. So print out this
>  information +    // and then die.
> +    if (!d->currentResult) {
> +        kWarning() << "Attempt to add" << s.c_str() << p.c_str() <<
>  o.c_str() << "to IndexWriter with currentResult = NULL"; +       
>  Q_ASSERT(d->currentResult);
> +        // In production just return.
> +        return;
> +    }
> +
>      FileMetaData* md = static_cast<FileMetaData*>(
>  d->currentResult->writerData() );
> 
>      QUrl subject = d->mapNode( md, s );
> 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic