<?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>413289</bug_id>
          
          <creation_ts>2019-10-21 18:33:59 +0000</creation_ts>
          <short_desc>Baloo crashes at startup</short_desc>
          <delta_ts>2019-10-27 23:08:35 +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.55.0</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>389848</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="Kusi">kusi</reporter>
          <assigned_to name="Stefan Brüns">stefan.bruens</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>1886992</commentid>
    <comment_count>0</comment_count>
    <who name="Kusi">kusi</who>
    <bug_when>2019-10-21 18:33:59 +0000</bug_when>
    <thetext>Application: baloo_file (5.55.0)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.20-default x86_64
Distribution: &quot;openSUSE Leap 15.1&quot;

-- Information about the crash:
No user interaction, straight crash after startup. Everytime.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7eff8a73c700 (LWP 2647)):
[KCrash Handler]
#6  0x00007eff937b7160 in raise () from /lib64/libc.so.6
#7  0x00007eff937b8741 in abort () from /lib64/libc.so.6
#8  0x00007eff9124fa82 in mdb_assert_fail (env=0x55727065a750, expr_txt=expr_txt@entry=0x7eff9125150f &quot;rc == 0&quot;, func=func@entry=0x7eff91251e78 &lt;__func__.6935&gt; &quot;mdb_page_dirty&quot;, line=line@entry=2071, file=0x7eff912514f0 &quot;mdb.c&quot;) at mdb.c:1487
#9  0x00007eff91244d85 in mdb_page_dirty (txn=0x55727065bbb0, mp=&lt;optimized out&gt;) at mdb.c:2071
#10 0x00007eff91245f6a in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7eff8a73b008, mc=&lt;optimized out&gt;) at mdb.c:2252
#11 0x00007eff912461d9 in mdb_page_touch (mc=mc@entry=0x7eff8a73b540) at mdb.c:2370
#12 0x00007eff91247cd4 in mdb_cursor_touch (mc=mc@entry=0x7eff8a73b540) at mdb.c:6304
#13 0x00007eff9124ae6e in mdb_cursor_put (mc=0x7eff8a73b540, key=0x7eff8a73b910, data=0x7eff8a73b920, flags=&lt;optimized out&gt;) at mdb.c:6438
#14 0x00007eff9124dafb in mdb_put (txn=0x55727065bbb0, dbi=3, key=key@entry=0x7eff8a73b910, data=data@entry=0x7eff8a73b920, flags=flags@entry=0) at mdb.c:8796
#15 0x00007eff94e54bbc in Baloo::PositionDB::put (this=this@entry=0x7eff8a73ba10, term=..., list=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/positiondb.cpp:79
#16 0x00007eff94e628d9 in Baloo::WriteTransaction::commit (this=0x557270892040) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/writetransaction.cpp:312
#17 0x00007eff94e5bbd2 in Baloo::Transaction::commit (this=this@entry=0x7eff8a73bb20) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/transaction.cpp:269
#18 0x000055726fae3fc7 in Baloo::UnindexedFileIndexer::run (this=0x5572709349a0) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/unindexedfileindexer.cpp:76
#19 0x00007eff942b1e22 in QThreadPoolThread::run (this=0x557270893f10) at thread/qthreadpool.cpp:99
#20 0x00007eff942b4ced in QThreadPrivate::start (arg=0x557270893f10) at thread/qthread_unix.cpp:368
#21 0x00007eff916ae569 in start_thread () from /lib64/libpthread.so.0
#22 0x00007eff938799ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7eff8b24f700 (LWP 2469)):
#0  0x00007eff9386f19b in poll () from /lib64/libc.so.6
#1  0x00007eff8fc2a1a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007eff8fc2a2bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007eff944ec96b in QEventDispatcherGlib::processEvents (this=0x7eff84000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007eff9449190a in QEventLoop::exec (this=this@entry=0x7eff8b24ec80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007eff942afdaa in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:515
#6  0x00007eff950829e5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007eff942b4ced in QThreadPrivate::start (arg=0x7eff952f5d60) at thread/qthread_unix.cpp:368
#8  0x00007eff916ae569 in start_thread () from /lib64/libpthread.so.0
#9  0x00007eff938799ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7eff95e50900 (LWP 2458)):
#0  0x00007eff916b0cda in __pthread_mutex_lock_full () from /lib64/libpthread.so.0
#1  0x00007eff9124432f in mdb_txn_renew0 (txn=txn@entry=0x55727065bbb0) at mdb.c:2698
#2  0x00007eff912455d4 in mdb_txn_begin (env=0x55727065a750, parent=parent@entry=0x0, flags=flags@entry=0, ret=ret@entry=0x7ffd7e84c838) at mdb.c:2856
#3  0x00007eff94e5b48b in Baloo::Transaction::Transaction (this=0x7ffd7e84c830, db=..., type=Baloo::Transaction::ReadWrite) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/transaction.cpp:53
#4  0x000055726faf2305 in Baloo::MetadataMover::moveFileMetadata (this=0x55727064a5b0, from=..., to=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/metadatamover.cpp:75
#5  0x000055726faed77f in Baloo::FileWatch::slotFileMoved (this=0x7ffd7e84d0d0, urlFrom=..., urlTo=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/filewatch.cpp:110
#6  0x00007eff944c264f in QtPrivate::QSlotObjectBase::call (a=0x7ffd7e84cb00, r=0x7ffd7e84d0d0, this=0x557270654470) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#7  QMetaObject::activate (sender=sender@entry=0x55727065c570, signalOffset=&lt;optimized out&gt;, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffd7e84cb00) at kernel/qobject.cpp:3750
#8  0x00007eff944c2c07 in QMetaObject::activate (sender=sender@entry=0x55727065c570, m=m@entry=0x55726fd12ac0 &lt;KInotify::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffd7e84cb00) at kernel/qobject.cpp:3629
#9  0x000055726faf8f94 in KInotify::moved (_t2=..., _t1=..., this=0x55727065c570) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:343
#10 KInotify::slotEvent (this=0x55727065c570, socket=&lt;optimized out&gt;) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/kinotify.cpp:421
#11 0x00007eff944c264f in QtPrivate::QSlotObjectBase::call (a=0x7ffd7e84cc70, r=0x55727065c570, this=0x5572706e9220) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#12 QMetaObject::activate (sender=sender@entry=0x55727067d130, signalOffset=&lt;optimized out&gt;, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd7e84cc70) at kernel/qobject.cpp:3750
#13 0x00007eff944c2c07 in QMetaObject::activate (sender=sender@entry=0x55727067d130, m=m@entry=0x7eff9494ed40 &lt;QSocketNotifier::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd7e84cc70) at kernel/qobject.cpp:3629
#14 0x00007eff944cea98 in QSocketNotifier::activated (this=this@entry=0x55727067d130, _t1=&lt;optimized out&gt;, _t2=...) at .moc/moc_qsocketnotifier.cpp:136
#15 0x00007eff944cee62 in QSocketNotifier::event (this=0x55727067d130, e=0x7ffd7e84cd50) at kernel/qsocketnotifier.cpp:266
#16 0x00007eff944938c1 in doNotify (event=0x7ffd7e84cd50, receiver=0x55727067d130) at kernel/qcoreapplication.cpp:1099
#17 QCoreApplication::notify (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at kernel/qcoreapplication.cpp:1085
#18 QCoreApplication::notifyInternal2 (receiver=0x55727067d130, event=event@entry=0x7ffd7e84cd50) at kernel/qcoreapplication.cpp:1024
#19 0x00007eff944ed5ad in QCoreApplication::sendEvent (event=0x7ffd7e84cd50, receiver=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#20 socketNotifierSourceDispatch (source=0x557270649350) at kernel/qeventdispatcher_glib.cpp:106
#21 0x00007eff8fc29e87 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007eff8fc2a230 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007eff8fc2a2bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007eff944ec94f in QEventDispatcherGlib::processEvents (this=0x557270646680, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007eff9449190a in QEventLoop::exec (this=this@entry=0x7ffd7e84cf70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#26 0x00007eff9449a9b4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#27 0x000055726fad913c in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/main.cpp:104
[Inferior 1 (process 2458) detached]

The reporter indicates this bug may be a duplicate of or related to bug 412847.

Possible duplicates by query: bug 412847, bug 412780, bug 412567, bug 411806, bug 411706.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888132</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-10-27 23:08:35 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>