<?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>353483</bug_id>
          
          <creation_ts>2015-10-03 04:16:32 +0000</creation_ts>
          <short_desc>Crash in DocumentDB::put</short_desc>
          <delta_ts>2018-11-26 18:13:45 +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.51.0</version>
          <rep_platform>Fedora RPMs</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="Jean-Paul Lambrechts">jlambrec</reporter>
          <assigned_to name="Pinak Ahuja">pinak.ahuja</assigned_to>
          <cc>aspotashev</cc>
    
    <cc>dverbeek</cc>
    
    <cc>lucia.mrenica</cc>
    
    <cc>mail</cc>
    
    <cc>nate</cc>
    
    <cc>pinak.ahuja</cc>
    
    <cc>ymm-nuk</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>1547659</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Paul Lambrechts">jlambrec</who>
    <bug_when>2015-10-03 04:16:32 +0000</bug_when>
    <thetext>Application: baloo_file (5.13.0)

Qt Version: 5.5.0
Operating System: Linux 4.1.7-200.fc22.x86_64 x86_64
Distribution: &quot;Fedora release 22 (Twenty Two)&quot;

-- Information about the crash:
- What I was doing when the application crashed: I was opening a database file in libreoffice after just booting up

-- 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 0x7fdd73cf9840 (LWP 2074))]

Thread 3 (Thread 0x7fdd6c909700 (LWP 2079)):
#0  0x0000003c8b0f72fd in poll () at /lib64/libc.so.6
#1  0x0000003c8e80a182 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x0000003c8e80bc77 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007fdd6d18c999 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00000039790a254e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x0000003c8b807555 in start_thread () at /lib64/libpthread.so.0
#6  0x0000003c8b102b9d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fdc2757e700 (LWP 2900)):
[KCrash Handler]
#5  0x0000003c8b0349c8 in raise () at /lib64/libc.so.6
#6  0x0000003c8b03665a in abort () at /lib64/libc.so.6
#7  0x000000307b804432 in  () at /lib64/liblmdb.so.0.0.0
#8  0x000000307b804875 in mdb_page_dirty () at /lib64/liblmdb.so.0.0.0
#9  0x000000307b805a2a in mdb_page_alloc.isra () at /lib64/liblmdb.so.0.0.0
#10 0x000000307b805c89 in mdb_page_touch () at /lib64/liblmdb.so.0.0.0
#11 0x000000307b80783f in mdb_cursor_touch () at /lib64/liblmdb.so.0.0.0
#12 0x000000307b80a3fa in mdb_cursor_put () at /lib64/liblmdb.so.0.0.0
#13 0x000000307b80cc49 in mdb_put () at /lib64/liblmdb.so.0.0.0
#14 0x000000307bc0e4dd in Baloo::DocumentDB::put(unsigned long long, QVector&lt;QByteArray&gt; const&amp;) () at /lib64/libKF5BalooEngine.so.5
#15 0x000000307bc2b980 in Baloo::WriteTransaction::addDocument(Baloo::Document const&amp;) () at /lib64/libKF5BalooEngine.so.5
#16 0x000000000041c0bf in Baloo::NewFileIndexer::run() ()
#17 0x000000397909f043 in QThreadPoolThread::run() () at /lib64/libQt5Core.so.5
#18 0x00000039790a254e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#19 0x0000003c8b807555 in start_thread () at /lib64/libpthread.so.0
#20 0x0000003c8b102b9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fdd73cf9840 (LWP 2074)):
#0  0x0000003c8b80f29d in __lll_lock_wait () at /lib64/libpthread.so.0
#1  0x0000003c8b80989d in pthread_mutex_lock () at /lib64/libpthread.so.0
#2  0x000000307b803d42 in mdb_txn_renew0 () at /lib64/liblmdb.so.0.0.0
#3  0x000000307b804e28 in mdb_txn_begin () at /lib64/liblmdb.so.0.0.0
#4  0x000000307bc26b9b in Baloo::Transaction::Transaction(Baloo::Database const&amp;, Baloo::Transaction::TransactionType) () at /lib64/libKF5BalooEngine.so.5
#5  0x000000000042837f in Baloo::MetadataMover::removeFileMetadata(QString const&amp;) ()
#6  0x00000039792b1fe7 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#7  0x00000000004320f5 in Baloo::PendingFileQueue::removeFileIndex(QString const&amp;) ()
#8  0x0000000000425b1e in Baloo::PendingFileQueue::processCache() ()
#9  0x00000039792b1fe7 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#10 0x00000039792bea38 in QTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#11 0x00000039792b2fd3 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#12 0x000000324c5544ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#13 0x000000324c559976 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#14 0x000000397928361b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#15 0x00000039792d8bad in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#16 0x00000039792d90e9 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#17 0x00007fdd73f5ca8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#18 0x00007fdd73f5ce20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#19 0x00007fdd73f5cecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#20 0x00000039792d9d8f in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib64/libQt5Core.so.5
#21 0x0000003979280daa in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib64/libQt5Core.so.5
#22 0x0000003979288e6c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#23 0x0000000000413990 in main ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621062</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Cullmann">christoph</who>
    <bug_when>2016-09-11 17:36:01 +0000</bug_when>
    <thetext>*** Bug 358729 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795017</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-10-17 15:55:01 +0000</bug_when>
    <thetext>*** Bug 399851 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795019</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-10-17 15:56:23 +0000</bug_when>
    <thetext>*** Bug 380080 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795021</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-10-17 15:56:31 +0000</bug_when>
    <thetext>*** Bug 390200 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795030</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-10-17 16:15:27 +0000</bug_when>
    <thetext>*** Bug 399851 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1795031</commentid>
    <comment_count>6</comment_count>
    <who name="Lucia Mrenica">lucia.mrenica</who>
    <bug_when>2018-10-17 16:18:30 +0000</bug_when>
    <thetext>Arch Linux
Plasma 5.14.1
Kf5 5.51
Baloo and lmdb rebuilt with debug and !strip

Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library &quot;/usr/lib/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f8d85169800 (LWP 10339))]

Thread 3 (Thread 0x7f4d7ffff700 (LWP 10371)):
[KCrash Handler]
#6  0x00007f8d88bebdc4 in mdb_midl_xmerge (idl=idl@entry=0x7f4cdcaf5018, merge=merge@entry=0x7f4d86858010) at midl.c:207
#7  0x00007f8d88be34a5 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f4d7fffe0d8, mc=&lt;optimized out&gt;) at mdb.c:2277
#8  0x00007f8d88be391b in mdb_page_touch (mc=mc@entry=0x7f4d7fffe610) at mdb.c:2495
#9  0x00007f8d88be554c in mdb_cursor_touch (mc=mc@entry=0x7f4d7fffe610) at mdb.c:6492
#10 0x00007f8d88be864b in mdb_cursor_put (mc=mc@entry=0x7f4d7fffe610, key=key@entry=0x7f4d7fffe9f0, data=data@entry=0x7f4d7fffea00, flags=flags@entry=0) at mdb.c:6626
#11 0x00007f8d88beb2eb in mdb_put (txn=0x55633b2ff3e0, dbi=4, key=key@entry=0x7f4d7fffe9f0, data=data@entry=0x7f4d7fffea00, flags=flags@entry=0) at mdb.c:8991
#12 0x00007f8d8a880b53 in Baloo::DocumentDB::put (this=this@entry=0x7f4d7fffeab0, docId=&lt;optimized out&gt;, docId@entry=19199732173831682, list=...) at /usr/src/debug/baloo-5.51.0/src/engine/documentdb.cpp:77
#13 0x00007f8d8a8a5398 in Baloo::WriteTransaction::addDocument (this=0x55633b44f470, doc=...) at /usr/src/debug/baloo-5.51.0/src/engine/writetransaction.cpp:62
#14 0x00007f8d8a89d9ba in Baloo::Transaction::addDocument (this=this@entry=0x7f4d7fffebe0, doc=...) at /usr/src/debug/baloo-5.51.0/src/engine/transaction.cpp:233
#15 0x000055633943212d in Baloo::ModifiedFileIndexer::run (this=0x55633b4424a0) at /usr/include/qt/QtCore/qrefcount.h:60
#16 0x00007f8d8a31b971 in ?? () from /usr/lib/libQt5Core.so.5
#17 0x00007f8d8a31799c in ?? () from /usr/lib/libQt5Core.so.5
#18 0x00007f8d8969ba9d in start_thread () from /usr/lib/libpthread.so.0
#19 0x00007f8d89e7cb23 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f8d84e83700 (LWP 10342)):
#0  0x00007f8d89e71c21 in poll () from /usr/lib/libc.so.6
#1  0x00007f8d8833eee0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f8d8833efce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f8d8a529624 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQt5Core.so.5
#4  0x00007f8d8a4d265c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQt5Core.so.5
#5  0x00007f8d8a316599 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f8d8a95fba6 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007f8d8a31799c in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f8d8969ba9d in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f8d89e7cb23 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f8d85169800 (LWP 10339)):
#0  0x00007f8d89e71c21 in poll () from /usr/lib/libc.so.6
#1  0x00007f8d8833eee0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f8d8833efce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f8d8a529624 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQt5Core.so.5
#4  0x00007f8d8a4d265c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQt5Core.so.5
#5  0x00007f8d8a4da966 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00005563394243f4 in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/baloo-5.51.0/src/file/main.cpp:104
[Inferior 1 (process 10339) detached]
`</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1821392</commentid>
    <comment_count>7</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-11-26 18:13:45 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>