<?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>403620</bug_id>
          
          <creation_ts>2019-01-26 10:43:16 +0000</creation_ts>
          <short_desc>Baloo file indexing crashes shortly after booting system and logging on.</short_desc>
          <delta_ts>2019-02-06 04:00:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-baloo</product>
          <component>Baloo File Daemon</component>
          <version>5.54.0</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>372880</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Graham P Davis">hacker</reporter>
          <assigned_to>baloo-bugs-null</assigned_to>
          <cc>nate</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>1834285</commentid>
    <comment_count>0</comment_count>
    <who name="Graham P Davis">hacker</who>
    <bug_when>2019-01-26 10:43:16 +0000</bug_when>
    <thetext>Application: baloo_file (5.54.0)

Qt Version: 5.12.0
Frameworks Version: 5.54.0
Operating System: Linux 4.20.2-1-default x86_64
Distribution: &quot;openSUSE Tumbleweed&quot;

-- Information about the crash:
I&apos;d booted my computer and logged on. Actions afterwards vary with every boot. Just logging on alone is enough to crash Baloo.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f5cb36a6940 (LWP 8224))]

Thread 3 (Thread 0x7f5cb0f95700 (LWP 9963)):
#0  0x00007f5cb67ba2c9 in poll () from /lib64/libc.so.6
#1  0x00007f5cb47e4fb6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5cb47e50dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5cb727d88b in QEventDispatcherGlib::processEvents (this=0x7f1ca4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f5cb722802b in QEventLoop::exec (this=this@entry=0x7f5cb0f94b70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x0000563ef8dba36b in Baloo::FileContentIndexer::run (this=0x563efa0f43c0) at /usr/include/qt5/QtCore/qflags.h:120
#6  0x00007f5cb70775d1 in QThreadPoolThread::run (this=0x563efa2504c0) at thread/qthreadpool.cpp:99
#7  0x00007f5cb7073702 in QThreadPrivate::start (arg=0x563efa2504c0) at thread/qthread_unix.cpp:361
#8  0x00007f5cb5577554 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5cb67c4ccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5cb1b38700 (LWP 8233)):
#0  0x00007f5cb47e4438 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f5cb47e4eeb in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5cb47e50dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5cb727d88b in QEventDispatcherGlib::processEvents (this=0x7f5cac000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f5cb722802b in QEventLoop::exec (this=this@entry=0x7f5cb1b37c30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f5cb70723b6 in QThread::exec (this=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f5cb75e0565 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f5cb7073702 in QThreadPrivate::start (arg=0x7f5cb765ad80) at thread/qthread_unix.cpp:361
#8  0x00007f5cb5577554 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5cb67c4ccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5cb36a6940 (LWP 8224)):
[KCrash Handler]
#6  0x00007f5cb76aa60a in Baloo::IdFilenameDB::get (this=this@entry=0x7fffa3baf040, docId=&lt;optimized out&gt;, docId@entry=516798395227048192) at /usr/src/debug/baloo5-5.54.0-1.1.x86_64/src/engine/idfilenamedb.cpp:96
#7  0x00007f5cb76c23db in Baloo::DocumentUrlDB::replace&lt;Baloo::WriteTransaction::replaceDocument(const Baloo::Document&amp;, Baloo::DocumentOperations)::&lt;lambda(quint64)&gt; &gt; (shouldDeleteFolder=..., url=..., docId=&lt;optimized out&gt;, this=0x7fffa3baf030) at /usr/src/debug/baloo5-5.54.0-1.1.x86_64/src/engine/documenturldb.h:88
#8  Baloo::WriteTransaction::replaceDocument (this=0x563efa1fcac0, doc=..., operations=...) at /usr/src/debug/baloo5-5.54.0-1.1.x86_64/src/engine/writetransaction.cpp:242
#9  0x00007f5cb76b96f9 in Baloo::Transaction::replaceDocument (this=this@entry=0x7fffa3baf2f0, doc=..., operations=..., operations@entry=...) at /usr/src/debug/baloo5-5.54.0-1.1.x86_64/src/engine/transaction.cpp:261
#10 0x0000563ef8dc44f9 in Baloo::MetadataMover::updateMetadata (this=this@entry=0x563efa0f1640, tr=tr@entry=0x7fffa3baf2f0, from=..., to=...) at /usr/include/qt5/QtCore/qrefcount.h:60
#11 0x0000563ef8dc6c85 in Baloo::MetadataMover::moveFileMetadata (this=0x563efa0f1640, from=..., to=...) at /usr/src/debug/baloo5-5.54.0-1.1.x86_64/src/file/metadatamover.cpp:90
#12 0x0000563ef8dc0862 in Baloo::FileWatch::slotFileMoved (this=0x7fffa3bafb30, urlFrom=..., urlTo=...) at /usr/src/debug/baloo5-5.54.0-1.1.x86_64/src/file/filewatch.cpp:110
#13 0x00007f5cb7253200 in QtPrivate::QSlotObjectBase::call (a=0x7fffa3baf570, r=0x7fffa3bafb30, this=0x563efa100670) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#14 QMetaObject::activate (sender=0x563efa0f3580, signalOffset=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at kernel/qobject.cpp:3759
#15 0x0000563ef8dccd7a in KInotify::moved (_t2=..., _t1=..., this=0x563efa0f3580) at /usr/src/debug/baloo5-5.54.0-1.1.x86_64/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:347
#16 KInotify::slotEvent (this=0x563efa0f3580, socket=&lt;optimized out&gt;) at /usr/src/debug/baloo5-5.54.0-1.1.x86_64/src/file/kinotify.cpp:421
#17 0x00007f5cb7253200 in QtPrivate::QSlotObjectBase::call (a=0x7fffa3baf6d0, r=0x563efa0f3580, this=0x563efa1af690) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#18 QMetaObject::activate (sender=0x563efa1801a0, signalOffset=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at kernel/qobject.cpp:3759
#19 0x00007f5cb725e919 in QSocketNotifier::activated (this=this@entry=0x563efa1801a0, _t1=&lt;optimized out&gt;, _t2=...) at .moc/moc_qsocketnotifier.cpp:140
#20 0x00007f5cb725ec61 in QSocketNotifier::event (this=0x563efa1801a0, e=0x7fffa3baf7a0) at kernel/qsocketnotifier.cpp:266
#21 0x00007f5cb7229336 in doNotify (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#22 QCoreApplication::notify (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at kernel/qcoreapplication.cpp:1137
#23 QCoreApplication::notifyInternal2 (receiver=0x563efa1801a0, event=0x7fffa3baf7a0) at kernel/qcoreapplication.cpp:1061
#24 0x00007f5cb727e4a5 in socketNotifierSourceDispatch (source=0x563efa0eb6c0) at kernel/qeventdispatcher_glib.cpp:106
#25 0x00007f5cb47e4c85 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f5cb47e5048 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f5cb47e50dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f5cb727d873 in QEventDispatcherGlib::processEvents (this=0x563efa0e89d0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007f5cb722802b in QEventLoop::exec (this=this@entry=0x7fffa3baf9d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#30 0x00007f5cb7230192 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#31 0x0000563ef8da8987 in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/baloo5-5.54.0-1.1.x86_64/src/file/main.cpp:104
[Inferior 1 (process 8224) detached]

Possible duplicates by query: bug 375190, bug 372880, bug 365906.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1836043</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-02-06 04:00:58 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>