Bug 358729 - Baloo crashes on log in
Summary: Baloo crashes on log in
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.15.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-29 10:17 UTC by Teunis
Modified: 2018-11-26 18:13 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.21 KB, text/plain)
2018-01-04 09:21 UTC, Bernhard Seebass
Details
New crash information added by DrKonqi (8.07 KB, text/plain)
2018-04-18 11:14 UTC, Bernhard Seebass
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Teunis 2016-01-29 10:17:13 UTC
Application: baloo_file (5.15.0)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-27-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed: 
I booted up and logged in, a few seconds later I got the Baloo crash report. 
This is repeatable.

This install is a few days old but with a re used /home.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
[Current thread is 1 (Thread 0x7fa2eb45f800 (LWP 1393))]

Thread 2 (Thread 0x7fa19f393700 (LWP 1497)):
[KCrash Handler]
#6  0x00007fa2e94e2267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007fa2e94e3eca in __GI_abort () at abort.c:89
#8  0x00007fa2e7cf71b2 in mdb_assert_fail (env=0x990950, expr_txt=expr_txt@entry=0x7fa2e7d031cf "rc == 0", func=func@entry=0x7fa2e7d03ac5 <__FUNCTION__.6980> "mdb_page_dirty", line=line@entry=1945, file=0x7fa2e7d031b0 "mdb.c") at mdb.c:1369
#9  0x00007fa2e7cf75f5 in mdb_page_dirty (txn=0x994070, mp=<optimized out>) at mdb.c:1945
#10 0x00007fa2e7cf87cb in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7fa19f392158, mc=0x7fa19f392690) at mdb.c:2126
#11 0x00007fa2e7cf8a29 in mdb_page_touch (mc=mc@entry=0x7fa19f392690) at mdb.c:2244
#12 0x00007fa2e7cfa664 in mdb_cursor_touch (mc=mc@entry=0x7fa19f392690) at mdb.c:6086
#13 0x00007fa2e7cfd27a in mdb_cursor_put (mc=0x7fa19f392690, key=0x7fa19f392a80, data=0x7fa19f392a90, flags=<optimized out>) at mdb.c:6221
#14 0x00007fa2e7cffb29 in mdb_put (txn=<optimized out>, dbi=<optimized out>, key=key@entry=0x7fa19f392a80, data=data@entry=0x7fa19f392a90, flags=flags@entry=0) at mdb.c:8395
#15 0x00007fa2ea64e51d in Baloo::DocumentDB::put (this=this@entry=0x7fa19f392b60, docId=docId@entry=15798985658730505, list=...) at ../../../src/engine/documentdb.cpp:77
#16 0x00007fa2ea666f80 in Baloo::WriteTransaction::addDocument (this=0x7fa198003190, doc=...) at ../../../src/engine/writetransaction.cpp:61
#17 0x00007fa2ea660b79 in Baloo::Transaction::addDocument (this=this@entry=0x7fa19f392c90, doc=...) at ../../../src/engine/transaction.cpp:235
#18 0x000000000041bcff in Baloo::NewFileIndexer::run (this=0x8bc720) at ../../../src/file/newfileindexer.cpp:72
#19 0x00007fa2e9f9fe73 in QThreadPoolThread::run (this=0x9ef5e0) at thread/qthreadpool.cpp:93
#20 0x00007fa2e9fa32be in QThreadPrivate::start (arg=0x9ef5e0) at thread/qthread_unix.cpp:337
#21 0x00007fa2e8c156aa in start_thread (arg=0x7fa19f393700) at pthread_create.c:333
#22 0x00007fa2e95b3eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fa2eb45f800 (LWP 1393)):
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007fa2e8c17cfd in __GI___pthread_mutex_lock (mutex=0x7fa2eb5da040) at ../nptl/pthread_mutex_lock.c:80
#2  0x00007fa2e7cf69c2 in mdb_txn_renew0 (txn=txn@entry=0x994070) at mdb.c:2566
#3  0x00007fa2e7cf7c10 in mdb_txn_begin (env=0x990950, parent=parent@entry=0x0, flags=flags@entry=0, ret=ret@entry=0x7ffc623afb08) at mdb.c:2740
#4  0x00007fa2ea6604bb in Baloo::Transaction::Transaction (this=0x7ffc623afb00, db=..., type=Baloo::Transaction::ReadWrite) at ../../../src/engine/transaction.cpp:54
#5  0x000000000042853f in Baloo::MetadataMover::removeFileMetadata (this=0x990ad0, file=...) at ../../../src/file/metadatamover.cpp:65
#6  0x00007fa2ea1b3617 in QtPrivate::QSlotObjectBase::call (a=0x7ffc623afc50, r=0x990ad0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#7  QMetaObject::activate (sender=sender@entry=0x97e4e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc623afc50) at kernel/qobject.cpp:3702
#8  0x00007fa2ea1b3f87 in QMetaObject::activate (sender=sender@entry=0x97e4e0, m=m@entry=0x6448a0 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc623afc50) at kernel/qobject.cpp:3582
#9  0x0000000000431d65 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0x97e4e0, _t1=...) at moc_pendingfilequeue.cpp:216
#10 0x0000000000426776 in Baloo::PendingFileQueue::processCache (this=0x97e4e0) at ../../../src/file/pendingfilequeue.cpp:89
#11 0x00007fa2ea1b3617 in QtPrivate::QSlotObjectBase::call (a=0x7ffc623afdd0, r=0x97e4e0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=sender@entry=0x97e4f8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3702
#13 0x00007fa2ea1b3f87 in QMetaObject::activate (sender=sender@entry=0x97e4f8, m=m@entry=0x7fa2ea3b67c0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582
#14 0x00007fa2ea22cb10 in QTimer::timeout (this=this@entry=0x97e4f8) at .moc/moc_qtimer.cpp:192
#15 0x00007fa2ea1c0178 in QTimer::timerEvent (this=0x97e4f8, e=<optimized out>) at kernel/qtimer.cpp:247
#16 0x00007fa2ea1b4603 in QObject::event (this=0x97e4f8, e=<optimized out>) at kernel/qobject.cpp:1267
#17 0x00007fa2ea182efc in QCoreApplication::notify (event=0x7ffc623aff50, receiver=0x97e4f8, this=0x7ffc623b0250) at kernel/qcoreapplication.cpp:997
#18 QCoreApplication::notifyInternal (this=0x7ffc623b0250, receiver=0x97e4f8, event=event@entry=0x7ffc623aff50) at kernel/qcoreapplication.cpp:935
#19 0x00007fa2ea1d909d in QCoreApplication::sendEvent (event=0x7ffc623aff50, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#20 QTimerInfoList::activateTimers (this=0x8a8e90) at kernel/qtimerinfo_unix.cpp:635
#21 0x00007fa2ea1d95d9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#23 0x00007fa2e6795ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fa2e6796250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fa2e67962fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fa2ea1da27f in QEventDispatcherGlib::processEvents (this=0x8aa730, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0x00007fa2ea18075a in QEventLoop::exec (this=this@entry=0x7ffc623b0190, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007fa2ea1882cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#29 0x0000000000415aec in main (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88

Possible duplicates by query: bug 355924.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2016-09-11 17:36:01 UTC

*** This bug has been marked as a duplicate of bug 353483 ***
Comment 2 Bernhard Seebass 2018-01-04 09:21:05 UTC
Created attachment 109660 [details]
New crash information added by DrKonqi

baloo_file (5.40.0) using Qt 5.10.0

- What I was doing when the application crashed:

Balloo crashes immediately after logging in.

-- Backtrace (Reduced):
#8  0x00007f487b00a922 in mdb_assert_fail (env=0x56039358f670, expr_txt=expr_txt@entry=0x7f487b00c3af "rc == 0", func=func@entry=0x7f487b00cce8 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f487b00c390 "mdb.c") at mdb.c:1487
#9  0x00007f487afffe05 in mdb_page_dirty (txn=0x5603935c8b70, mp=<optimized out>) at mdb.c:2071
#10 0x00007f487b000fea in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f086fffe088, mc=<optimized out>) at mdb.c:2252
#11 0x00007f487b001259 in mdb_page_touch (mc=mc@entry=0x7f086fffe5c0) at mdb.c:2370
#12 0x00007f487b002d2f in mdb_cursor_touch (mc=mc@entry=0x7f086fffe5c0) at mdb.c:6273
Comment 3 Bernhard Seebass 2018-04-18 11:14:43 UTC
Created attachment 112094 [details]
New crash information added by DrKonqi

baloo_file (5.44.0) using Qt 5.10.0

Fehler tritt auch nach neuestem Update unverändert auf.

-- Backtrace (Reduced):
#8  0x00007f47dc2fe922 in mdb_assert_fail (env=0x55ef777293f0, expr_txt=expr_txt@entry=0x7f47dc3003af "rc == 0", func=func@entry=0x7f47dc300ce8 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f47dc300390 "mdb.c") at mdb.c:1487
#9  0x00007f47dc2f3e05 in mdb_page_dirty (txn=0x55ef7772a8b0, mp=<optimized out>) at mdb.c:2071
#10 0x00007f47dc2f4fea in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f47d5912fc8, mc=<optimized out>) at mdb.c:2252
#11 0x00007f47dc2f5259 in mdb_page_touch (mc=mc@entry=0x7f47d5913500) at mdb.c:2370
#12 0x00007f47dc2f6d54 in mdb_cursor_touch (mc=mc@entry=0x7f47d5913500) at mdb.c:6273
Comment 4 Nate Graham 2018-11-26 18:13:32 UTC

*** This bug has been marked as a duplicate of bug 389848 ***