<?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>312497</bug_id>
          
          <creation_ts>2013-01-02 18:06:46 +0000</creation_ts>
          <short_desc>File Indexing is in an infinite file loop</short_desc>
          <delta_ts>2013-01-07 09:31:40 +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>4.9.95 RC1</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>312113</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="Jessie A. Morris">jessie</reporter>
          <assigned_to name="Nepomuk Bugs Coordination">nepomuk-bugs</assigned_to>
          <cc>me</cc>
    
    <cc>nepomuk-bugs</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>1328053</commentid>
    <comment_count>0</comment_count>
    <who name="Jessie A. Morris">jessie</who>
    <bug_when>2013-01-02 18:06:46 +0000</bug_when>
    <thetext>Application: nepomukservicestub (0.1.0)
KDE Platform Version: 4.9.95
Qt Version: 4.8.3
Operating System: Linux 3.5.0-21-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
The Nepomuk File Indexer was running and was indexing files. In my directory structure, there are several symbolic links to parent directories (Wine directories who have symlinks to /, /home/, etc. It appeared to be about 4 levels deep.

My directory structure looks like so:

/home/jessie:
lrwxrwxrwx  1 jessie jessie    38 Dec 21 12:03 PlayOnLinux&apos;s virtual drives -&gt; /home/jessie/.PlayOnLinux//wineprefix//

/home/jessie/PlayOnLinux&apos;s virtual drives:

drwxrwxr-x 4 jessie jessie 4096 Dec 26 13:45 Safari/

/home/jessie/.../Safari:

drwxrwxr-x 2 jessie jessie    4096 Dec 21 12:09 dosdevices/

/home/jessie/.../Safari/dosdevices:
lrwxrwxrwx 1 jessie jessie 10 Dec 21 12:09 c: -&gt; ../drive_c/                                            
lrwxrwxrwx 1 jessie jessie  1 Dec 21 12:09 z: -&gt; // 


Since z: is a symlink to &quot;/&quot;, it gets stuck in an infinate recursive loop, reindexing all files again and again and again ad infinity.

- Unusual behavior I noticed:
Before Nepomuk crashed, I observed in the file indexer taskbar icon, that it was indexing something like:

/home/jessie/PlayOnLinux&apos;s virtual drives/Safari/dosdevices/z:/home/jessie/PlayOnLinux&apos;s virtual drives/Safari/dosdevices/z:/home/jessie/PlayOnLinux&apos;s virtual drives/Safari/dosdevices/z:/home/jessie/Music

The crash can be reproduced some of the time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Aborted
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[KCrash Handler]
#5  0x00007f9552ce4425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x00007f9552ce7b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f9552d2239e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007f9552db882c in __fortify_fail () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x00007f9552db7700 in __chk_fail () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x00007f9552db87be in __fdelt_warn () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x00007f95551ee854 in QProcessPrivate::waitForStarted (this=0x2bf1ff0, msecs=30000) at io/qprocess_unix.cpp:1038
#12 0x00007f95551a8f53 in QProcess::waitForFinished (this=0x3848160, msecs=30000) at io/qprocess.cpp:1752
#13 0x00007f95444bdc86 in Nepomuk2::FileIndexingJob::slotProcessTimerTimeout (this=0x26509d0) at ../../../services/fileindexer/fileindexingjob.cpp:89
#14 0x00007f9555228f5f in QMetaObject::activate (sender=0x37a84f0, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x0) at kernel/qobject.cpp:3547
#15 0x00007f955522826c in QObject::event (this=0x37a84f0, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1157
#16 0x00007f955353be9c in QApplicationPrivate::notify_helper (this=this@entry=0x1316df0, receiver=receiver@entry=0x37a84f0, e=e@entry=0x7fff150efc80) at kernel/qapplication.cpp:4562
#17 0x00007f955354030a in QApplication::notify (this=0x7fff150f0120, receiver=0x37a84f0, e=0x7fff150efc80) at kernel/qapplication.cpp:4423
#18 0x00007f9554543626 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00007f955521356e in QCoreApplication::notifyInternal (this=0x7fff150f0120, receiver=0x37a84f0, event=0x7fff150efc80) at kernel/qcoreapplication.cpp:915
#20 0x00007f9555244462 in sendEvent (event=0x7fff150efc80, receiver=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QTimerInfoList::activateTimers (this=0x131bd60) at kernel/qeventdispatcher_unix.cpp:611
#22 0x00007f9555241584 in timerSourceDispatch (source=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:186
#23 timerSourceDispatch (source=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:180
#24 0x00007f95552415a1 in idleTimerSourceDispatch (source=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:233
#25 0x00007f95521beab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f95521bede8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f95521beea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f9555241bf6 in QEventDispatcherGlib::processEvents (this=0x12f4780, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007f95535e0c1e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f95552122bf in QEventLoop::processEvents (this=this@entry=0x7fff150eff00, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f9555212548 in QEventLoop::exec (this=0x7fff150eff00, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f9555217708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#33 0x0000000000403dd0 in main (argc=&lt;optimized out&gt;, argv=0x7fff150f0368) at ../../servicestub/main.cpp:177

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1329410</commentid>
    <comment_count>1</comment_count>
    <who name="Vishesh Handa">me</who>
    <bug_when>2013-01-07 09:31:40 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>