https://bugs.kde.org/show_bug.cgi?id=399492

            Bug ID: 399492
           Summary: Balloo crashes when writing and quitting vim
           Product: frameworks-baloo
           Version: 5.45.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: Baloo File Daemon
          Assignee: baloo-bugs-n...@kde.org
          Reporter: jfhn.ma...@go4more.de
  Target Milestone: ---

Application: baloo_file (5.45.0)

Qt Version: 5.9.4
Frameworks Version: 5.45.0
Operating System: Linux 4.12.14-lp150.12.16-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
- What I was doing when the application crashed:

I wrote and quited gvim by using "ZZ". It happens immediately and probably in
any kde session. I usually use gvim within the first half of an hour of a
session.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f04146da100 (LWP 2104))]

Thread 3 (Thread 0x7f040929a700 (LWP 2845)):
#0  0x00007f04120ee08b in poll () from /lib64/libc.so.6
#1  0x00007f040e7d7109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f040e7d721c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f0412d67c0b in QEventDispatcherGlib::processEvents
(this=0x7ec3fc000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0412d1009a in QEventLoop::exec (this=this@entry=0x7f0409299b80,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x000055637a4c0dbd in Baloo::FileContentIndexer::run (this=0x55637b1f3930)
at
/usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/filecontentindexer.cpp:73
#6  0x00007f0412b41372 in QThreadPoolThread::run (this=0x55637b294b10) at
thread/qthreadpool.cpp:99
#7  0x00007f0412b440ce in QThreadPrivate::start (arg=0x55637b294b10) at
thread/qthread_unix.cpp:368
#8  0x00007f041114f559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f04120f882f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0409ddd700 (LWP 2107)):
#0  0x00007f04120ee08b in poll () from /lib64/libc.so.6
#1  0x00007f040e7d7109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f040e7d721c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f0412d67c0b in QEventDispatcherGlib::processEvents
(this=0x7f0404000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0412d1009a in QEventLoop::exec (this=this@entry=0x7f0409ddcca0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f0412b3f4da in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#6  0x00007f0413f84985 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f0412b440ce in QThreadPrivate::start (arg=0x7f04141f4d60) at
thread/qthread_unix.cpp:368
#8  0x00007f041114f559 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f04120f882f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f04146da100 (LWP 2104)):
[KCrash Handler]
#6  0x00007f04120360e0 in raise () from /lib64/libc.so.6
#7  0x00007f04120376c1 in abort () from /lib64/libc.so.6
#8  0x00007f040fdfa922 in mdb_assert_fail (env=0x55637b1f0ef0,
expr_txt=expr_txt@entry=0x7f040fdfc3af "rc == 0",
func=func@entry=0x7f040fdfcce8 <__func__.6935> "mdb_page_dirty",
line=line@entry=2071, file=0x7f040fdfc390 "mdb.c") at mdb.c:1487
#9  0x00007f040fdefe05 in mdb_page_dirty (txn=0x55637b1f2310, mp=<optimized
out>) at mdb.c:2071
#10 0x00007f040fdf0fea in mdb_page_alloc (num=num@entry=1,
mp=mp@entry=0x7ffccf034828, mc=<optimized out>) at mdb.c:2252
#11 0x00007f040fdf1259 in mdb_page_touch (mc=mc@entry=0x7ffccf034cb0) at
mdb.c:2370
#12 0x00007f040fdf2d54 in mdb_cursor_touch (mc=mc@entry=0x7ffccf034cb0) at
mdb.c:6273
#13 0x00007f040fdf6f7a in mdb_cursor_del (mc=0x7ffccf034cb0, flags=32) at
mdb.c:6832
#14 0x00007f040fdf853c in mdb_del0 (txn=0x55637b1f2310, dbi=9,
key=0x7ffccf035090, data=<optimized out>, flags=32, flags@entry=0) at
mdb.c:8311
#15 0x00007f040fdf88a1 in mdb_del (txn=<optimized out>, dbi=<optimized out>,
key=key@entry=0x7ffccf035090, data=<optimized out>, data@entry=0x0) at
mdb.c:8271
#16 0x00007f04136c655e in Baloo::DocumentTimeDB::del
(this=this@entry=0x7ffccf0351a0, docId=<optimized out>,
docId@entry=56309624000743433) at
/usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/documenttimedb.cpp:100
#17 0x00007f04136d9d23 in Baloo::WriteTransaction::removeDocument
(this=<optimized out>, id=id@entry=56309624000743433) at
/usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:140
#18 0x00007f04136d4489 in Baloo::Transaction::removeDocument
(this=this@entry=0x7ffccf0352f0, id=id@entry=56309624000743433) at
/usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:235
#19 0x000055637a4c9366 in Baloo::MetadataMover::removeMetadata
(this=this@entry=0x55637b1e4280, tr=tr@entry=0x7ffccf0352f0, url=...) at
/usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/metadatamover.cpp:82
#20 0x000055637a4c9400 in Baloo::MetadataMover::removeFileMetadata
(this=0x55637b1e4280, file=...) at
/usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/metadatamover.cpp:66
#21 0x00007f0412d3f14c in QtPrivate::QSlotObjectBase::call (a=0x7ffccf035510,
r=0x7ffccf035ab0, this=0x55637b1f88c0) at
../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#22 QMetaObject::activate (sender=sender@entry=0x55637b1e5750,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7,
argv=argv@entry=0x7ffccf035510) at kernel/qobject.cpp:3749
#23 0x00007f0412d3f757 in QMetaObject::activate
(sender=sender@entry=0x55637b1e5750, m=m@entry=0x55637a6e5ba0
<KInotify::staticMetaObject>, local_signal_index=local_signal_index@entry=7,
argv=argv@entry=0x7ffccf035510) at kernel/qobject.cpp:3628
#24 0x000055637a4ccaf4 in KInotify::moved (_t2=..., _t1=...,
this=0x55637b1e5750) at
/usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:343
#25 KInotify::slotEvent (this=0x55637b1e5750, socket=<optimized out>) at
/usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/kinotify.cpp:421
#26 0x00007f0412d3f14c in QtPrivate::QSlotObjectBase::call (a=0x7ffccf035670,
r=0x55637b1e5750, this=0x55637b211250) at
../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#27 QMetaObject::activate (sender=sender@entry=0x55637b23ff60,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffccf035670) at kernel/qobject.cpp:3749
#28 0x00007f0412d3f757 in QMetaObject::activate
(sender=sender@entry=0x55637b23ff60, m=m@entry=0x7f04131c9d40
<QSocketNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffccf035670)
at kernel/qobject.cpp:3628
#29 0x00007f0412d4aeb8 in QSocketNotifier::activated
(this=this@entry=0x55637b23ff60, _t1=<optimized out>, _t2=...) at
.moc/moc_qsocketnotifier.cpp:136
#30 0x00007f0412d4b222 in QSocketNotifier::event (this=0x55637b23ff60,
e=0x7ffccf035750) at kernel/qsocketnotifier.cpp:266
#31 0x00007f0412d11a71 in doNotify (event=0x7ffccf035750,
receiver=0x55637b23ff60) at kernel/qcoreapplication.cpp:1091
#32 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>,
this=<optimized out>) at kernel/qcoreapplication.cpp:1077
#33 QCoreApplication::notifyInternal2 (receiver=0x55637b23ff60,
event=event@entry=0x7ffccf035750) at kernel/qcoreapplication.cpp:1016
#34 0x00007f0412d687ed in QCoreApplication::sendEvent (event=0x7ffccf035750,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#35 socketNotifierSourceDispatch (source=0x55637b1e3500) at
kernel/qeventdispatcher_glib.cpp:106
#36 0x00007f040e7d6f57 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#37 0x00007f040e7d7190 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f040e7d721c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#39 0x00007f0412d67bef in QEventDispatcherGlib::processEvents
(this=0x55637b1e07f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#40 0x00007f0412d1009a in QEventLoop::exec (this=this@entry=0x7ffccf035960,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#41 0x00007f0412d189e4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1289
#42 0x000055637a4b321c in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/file/main.cpp:104

Possible duplicates by query: bug 399407, bug 399391, bug 397582, bug 396801,
bug 396778.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to