Bug 366171 - Baloo aborted unexpectedly
Summary: Baloo aborted unexpectedly
Status: RESOLVED DUPLICATE of bug 367991
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Engine (show other bugs)
Version: 5.18.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
: 363516 368572 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-27 16:37 UTC by Navid
Modified: 2016-09-11 21:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Navid 2016-07-27 16:37:56 UTC
Application: baloo_file (5.18.0)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-31-generic x86_64
Distribution: Ubuntu 16.04.1 LTS

-- Information about the crash:
Everytime after starting VM for the first time or saving an LibreOffice document for the fist time, Baloo is aborted unexpectedly.

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".
[Current thread is 1 (Thread 0x7f598a1f38c0 (LWP 3370))]

Thread 2 (Thread 0x7f583ef90700 (LWP 5466)):
[KCrash Handler]
#6  0x00007f5988230418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f598823201a in __GI_abort () at abort.c:89
#8  0x00007f5986a35002 in mdb_assert_fail (env=0x1437030, expr_txt=expr_txt@entry=0x7f5986a36a5f "rc == 0", func=func@entry=0x7f5986a37398 <__func__.7098> "mdb_page_dirty", line=line@entry=2065, file=0x7f5986a36a40 "mdb.c") at mdb.c:1481
#9  0x00007f5986a2a6a5 in mdb_page_dirty (txn=0x1396350, mp=<optimized out>) at mdb.c:2065
#10 0x00007f5986a2b863 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f583ef8eee8, mc=0x7f583ef8f420) at mdb.c:2246
#11 0x00007f5986a2bac9 in mdb_page_touch (mc=mc@entry=0x7f583ef8f420) at mdb.c:2364
#12 0x00007f5986a2d704 in mdb_cursor_touch (mc=mc@entry=0x7f583ef8f420) at mdb.c:6267
#13 0x00007f5986a30805 in mdb_cursor_put (mc=0x7f583ef8f420, key=0x7f583ef8f7f0, data=0x7f583ef8f800, flags=<optimized out>) at mdb.c:6401
#14 0x00007f5986a33260 in mdb_put (txn=0x1396350, dbi=7, key=key@entry=0x7f583ef8f7f0, data=data@entry=0x7f583ef8f800, flags=flags@entry=0) at mdb.c:8759
#15 0x00007f59893c3edd in Baloo::IdTreeDB::put (this=this@entry=0x7f583ef8f860, docId=docId@entry=32673035991386114, subDocIds=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/idtreedb.cpp:71
#16 0x00007f59893c1540 in Baloo::DocumentUrlDB::add (this=this@entry=0x7f583ef8fb10, id=id@entry=35500382897571842, parentId=32673035991386114, name=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:128
#17 0x00007f59893c1ca0 in Baloo::DocumentUrlDB::put (this=this@entry=0x7f583ef8fb10, docId=docId@entry=35500228278749186, url=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:99
#18 0x00007f59893d90ea in Baloo::WriteTransaction::addDocument (this=0x7f58380011e0, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/writetransaction.cpp:56
#19 0x00007f59893d2fe9 in Baloo::Transaction::addDocument (this=this@entry=0x7f583ef8fbd0, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:226
#20 0x000000000041cc86 in Baloo::NewFileIndexer::run (this=0x3514160) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/newfileindexer.cpp:72
#21 0x00007f5988cf1343 in QThreadPoolThread::run (this=0x1bd7740) at thread/qthreadpool.cpp:93
#22 0x00007f5988cf484e in QThreadPrivate::start (arg=0x1bd7740) at thread/qthread_unix.cpp:331
#23 0x00007f59879586fa in start_thread (arg=0x7f583ef90700) at pthread_create.c:333
#24 0x00007f5988301b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f598a1f38c0 (LWP 3370)):
#0  0x00007f59882f19cd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f5985509740 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f59854c5e84 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f59854c6340 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f59854c64ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5988f2ba7f in QEventDispatcherGlib::processEvents (this=0x137e520, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#6  0x00007f5988ed2dea in QEventLoop::exec (this=this@entry=0x7ffc2dfecbc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f5988edae8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#8  0x000000000041698c in main (argc=1, argv=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/main.cpp:88

Reported using DrKonqi
Comment 1 Dominik Haumann 2016-09-11 20:55:37 UTC
*** Bug 363516 has been marked as a duplicate of this bug. ***
Comment 2 Dominik Haumann 2016-09-11 20:55:43 UTC
*** Bug 368572 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Cullmann 2016-09-11 21:04:20 UTC
Guess thats a follow up of corruption of the vector because of wrong insert.

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