<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>282789</bug_id>
          
          <creation_ts>2011-09-26 09:59:01 +0000</creation_ts>
          <short_desc>Nepomuk Stub crashes when incomplete file is being indexed</short_desc>
          <delta_ts>2011-09-26 10:41:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>nepomuk</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>279347</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Toby Fox">tobyfox</reporter>
          <assigned_to name="Sebastian Trueg">sebastian</assigned_to>
          <cc>me</cc>
    
    <cc>trueg</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1167027</commentid>
    <comment_count>0</comment_count>
    <who name="Toby Fox">tobyfox</who>
    <bug_when>2011-09-26 09:59:01 +0000</bug_when>
    <thetext>Application: nepomukservicestub (0.2)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
This may be similar or the same to various other crashes, but I haven&apos;t seen this particular info posted:
- What I was doing when the application crashed:
I was downloading a movie. I am not certain, but I believe Strigi was indexing the partially downloaded file. nepomukservicestub has also crashed on me when I was creating a large tar.gz archive - I get a crash when, presumably, the partially built archive is indexed. It doesn&apos;t happen every time, but it happens frequently in these kinds of scenarios.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb5a64fd780 (LWP 11881))]

Thread 3 (Thread 0x7fb596aa2700 (LWP 11882)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb5a3b6d80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fb5a3b6b8d8 in __libc_free (mem=0x7fb5a3e7e1c0) at malloc.c:3736
#3  0x00007fb5a5fbbf99 in ~QByteArray (this=0x25f22e0, __in_chrg=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#4  ~QFSFileEnginePrivate (this=0x25f22e0, __in_chrg=&lt;value optimized out&gt;) at io/qfsfileengine_p.h:70
#5  QFSFileEnginePrivate::~QFSFileEnginePrivate (this=0x25f22e0, __in_chrg=&lt;value optimized out&gt;) at io/qfsfileengine_p.h:70
#6  0x00007fb5a5f6d101 in cleanup (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#7  ~QScopedPointer (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#8  QAbstractFileEngine::~QAbstractFileEngine (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at io/qabstractfileengine.cpp:357
#9  0x00007fb5a5fbb5ab in QFSFileEngine::~QFSFileEngine (this=0x2603b20, __in_chrg=&lt;value optimized out&gt;) at io/qfsfileengine.cpp:259
#10 0x00007fb5a5fbb639 in QFSFileEngine::~QFSFileEngine (this=0x2603b20, __in_chrg=&lt;value optimized out&gt;) at io/qfsfileengine.cpp:278
#11 0x00007fb5a5f80c9a in cleanup (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#12 ~QScopedPointer (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#13 ~QFileInfoPrivate (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at io/qfileinfo_p.h:65
#14 ~QSharedDataPointer (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:90
#15 QFileInfo::~QFileInfo (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at io/qfileinfo.cpp:303
#16 0x00007fb5972eca11 in Nepomuk::IndexScheduler::doIndexing (this=0x2510fc0) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:345
#17 0x00007fb5972ecccc in Nepomuk::IndexScheduler::qt_metacall (this=0x2510fc0, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x25dec70) at ./indexscheduler.moc:128
#18 0x00007fb5a5ffb49a in QObject::event (this=0x2510fc0, e=&lt;value optimized out&gt;) at kernel/qobject.cpp:1226
#19 0x00007fb5a43429f4 in QApplicationPrivate::notify_helper (this=0x23a7510, receiver=0x2510fc0, e=0x2599ed0) at kernel/qapplication.cpp:4462
#20 0x00007fb5a43473ba in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x2510fc0, e=0x2599ed0) at kernel/qapplication.cpp:4341
#21 0x00007fb5a531d796 in KApplication::notify (this=0x7fffd29853e0, receiver=0x2510fc0, event=0x2599ed0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007fb5a5fe749c in QCoreApplication::notifyInternal (this=0x7fffd29853e0, receiver=0x2510fc0, event=0x2599ed0) at kernel/qcoreapplication.cpp:731
#23 0x00007fb5a5feac25 in sendEvent (receiver=0x0, event_type=0, data=0x2545130) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2545130) at kernel/qcoreapplication.cpp:1372
#25 0x00007fb5a6012253 in sendPostedEvents (s=0x254a680) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=0x254a680) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007fb5a2dfbbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fb5a2dfc3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fb5a2dfc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fb5a60123ef in QEventDispatcherGlib::processEvents (this=0x2549bb0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007fb5a5fe6882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007fb5a5fe6abc in QEventLoop::exec (this=0x7fb596aa1e00, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007fb5a5efd924 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#34 0x00007fb5a5f00175 in QThreadPrivate::start (arg=0x251fb30) at thread/qthread_unix.cpp:320
#35 0x00007fb5a38d7d8c in start_thread (arg=0x7fb596aa2700) at pthread_create.c:304
#36 0x00007fb5a3bd504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#37 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb595a65700 (LWP 11885)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb5a3b6d80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fb5a3b6b8d8 in __libc_free (mem=0x7fb5a3e7e1c0) at malloc.c:3736
#3  0x00007fb5a60128bb in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x254e610, __in_chrg=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:399
#4  0x00007fb5a60128f9 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x254e610, __in_chrg=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:401
#5  0x00007fb5a5eff4d4 in QThreadPrivate::finish (arg=0x7fb5a631af60) at thread/qthread_unix.cpp:356
#6  0x00007fb5a5f0017d in ~__pthread_cleanup_class (arg=0x7fb5a631af60) at /usr/include/pthread.h:545
#7  QThreadPrivate::start (arg=0x7fb5a631af60) at thread/qthread_unix.cpp:279
#8  0x00007fb5a38d7d8c in start_thread (arg=0x7fb595a65700) at pthread_create.c:304
#9  0x00007fb5a3bd504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb5a64fd780 (LWP 11881)):
[KCrash Handler]
#6  _int_malloc (av=0x7fb5a3e7e1c0, bytes=40) at malloc.c:4304
#7  0x00007fb5a3b6b31e in __libc_malloc (bytes=40) at malloc.c:3660
#8  0x00007fb5a5f01fab in QByteArray::QByteArray (this=0x7fffd2983c60, str=&lt;value optimized out&gt;) at tools/qbytearray.cpp:1278
#9  0x00007fb5a5ef6a57 in qgetenv (varName=&lt;value optimized out&gt;) at global/qglobal.cpp:2545
#10 0x00007fb5a5902c57 in KCatalogPrivate::setupGettextEnv (this=0x258fc50) at ../../kdecore/localization/kcatalog.cpp:179
#11 0x00007fb5a5903755 in KCatalog::translateStrict (this=0x258b1e0, msgctxt=0x25eafa8 &quot;@info:status&quot;, msgid=0x2625a88 &quot;Strigi is currently indexing files in folder %1 (%2)&quot;) at ../../kdecore/localization/kcatalog.cpp:262
#12 0x00007fb5a591cd2c in KLocalePrivate::translateRawFrom (this=&lt;value optimized out&gt;, catname=0x607478 &quot;&quot;, msgctxt=0x25eafa8 &quot;@info:status&quot;, msgid=0x2625a88 &quot;Strigi is currently indexing files in folder %1 (%2)&quot;, msgid_plural=0x0, n=0, language=0x7fffd29841a0, translation=0x7fffd29841b0) at ../../kdecore/localization/klocale_kde.cpp:957
#13 0x00007fb5a590f9f0 in KLocale::translateRawFrom (this=&lt;value optimized out&gt;, catname=&lt;value optimized out&gt;, ctxt=&lt;value optimized out&gt;, msg=&lt;value optimized out&gt;, lang=&lt;value optimized out&gt;, trans=&lt;value optimized out&gt;) at ../../kdecore/localization/klocale.cpp:171
#14 0x00007fb5a5927521 in KLocalizedStringPrivate::toString (this=0x2625d40, locale=0x24ea270, catalogName=&lt;value optimized out&gt;) at ../../kdecore/localization/klocalizedstring.cpp:248
#15 0x00007fb5a5927d64 in KLocalizedString::toString (this=0x7fffd29842f0) at ../../kdecore/localization/klocalizedstring.cpp:194
#16 0x00007fb5972e8cdb in i18nc&lt;QString, QString&gt; (this=0x2509970, simple=false) at /usr/include/klocalizedstring.h:826
#17 Nepomuk::StrigiService::userStatusString (this=0x2509970, simple=false) at ../../../../nepomuk/services/strigi/strigiservice.cpp:170
#18 0x00007fb5972e8d2b in Nepomuk::StrigiService::userStatusString (this=&lt;value optimized out&gt;) at ../../../../nepomuk/services/strigi/strigiservice.cpp:142
#19 0x00007fb5972f37e1 in StrigiAdaptor::userStatusString (this=&lt;value optimized out&gt;) at strigiadaptor.cpp:99
#20 0x00007fb5972f38db in StrigiAdaptor::qt_metacall (this=0x2561080, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffd29845e0) at strigiadaptor.moc:143
#21 0x00007fb5a5c359fa in QDBusConnectionPrivate::deliverCall (this=0x2457fe0, object=0x2561080, msg=..., metaTypes=..., slotIdx=18) at qdbusintegrator.cpp:942
#22 0x00007fb5a5c36bb5 in QDBusConnectionPrivate::activateCall (this=0x2457fe0, object=0x2561080, flags=337, msg=...) at qdbusintegrator.cpp:852
#23 0x00007fb5a5c3733a in QDBusConnectionPrivate::activateObject (this=0x2457fe0, node=..., msg=..., pathStartPos=&lt;value optimized out&gt;) at qdbusintegrator.cpp:1410
#24 0x00007fb5a5c37578 in QDBusActivateObjectEvent::placeMetaCall (this=0x2623440) at qdbusintegrator.cpp:1524
#25 0x00007fb5a5ffb49a in QObject::event (this=0x2509970, e=&lt;value optimized out&gt;) at kernel/qobject.cpp:1226
#26 0x00007fb5a43429f4 in QApplicationPrivate::notify_helper (this=0x23a7510, receiver=0x2509970, e=0x2623440) at kernel/qapplication.cpp:4462
#27 0x00007fb5a43473ba in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x2509970, e=0x2623440) at kernel/qapplication.cpp:4341
#28 0x00007fb5a531d796 in KApplication::notify (this=0x7fffd29853e0, receiver=0x2509970, event=0x2623440) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007fb5a5fe749c in QCoreApplication::notifyInternal (this=0x7fffd29853e0, receiver=0x2509970, event=0x2623440) at kernel/qcoreapplication.cpp:731
#30 0x00007fb5a5feac25 in sendEvent (receiver=0x0, event_type=0, data=0x23628a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23628a0) at kernel/qcoreapplication.cpp:1372
#32 0x00007fb5a6012253 in sendPostedEvents (s=0x23a9d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x23a9d60) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007fb5a2dfbbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fb5a2dfc3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fb5a2dfc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fb5a60123ef in QEventDispatcherGlib::processEvents (this=0x23624a0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007fb5a43ec4de in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fb5a5fe6882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fb5a5fe6abc in QEventLoop::exec (this=0x7fffd29851f0, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007fb5a5feaecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#42 0x0000000000403e0e in main (argc=2, argv=&lt;value optimized out&gt;) at ../../../nepomuk/servicestub/main.cpp:167

This bug may be a duplicate of or related to bug 278371, bug 280818.

Possible duplicates by query: bug 280818, bug 278371, bug 276849, bug 275770, bug 273477.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1167043</commentid>
    <comment_count>1</comment_count>
    <who name="Sebastian Trueg">trueg</who>
    <bug_when>2011-09-26 10:41:07 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 279347 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>