Bug 366805 - baloo crashed unexpectedly - Baloo::PositionDB::put
Summary: baloo crashed unexpectedly - Baloo::PositionDB::put
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
: 367752 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-15 19:39 UTC by stewart
Modified: 2016-09-11 21:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stewart 2016-08-15 19:39:20 UTC
Application: baloo_file (5.18.0)

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

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

I was changing the settings in a virtualbox vm using the Oracle VM VirtualBox Manager (V5.1). Specifically i changed the monitor count from 1 to 2...

Suspect VirtualBox activity is unrelated but crash was instanteneous after this action & made me suspicious they were related so I include the info in case there is some possible reason why one would cause the other. May well just be a coincidence.

-- 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 0x7f6f759e18c0 (LWP 4614))]

Thread 2 (Thread 0x7f6e2a845700 (LWP 5313)):
#0  0x00007f6f73ab8e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f6f70c5839c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6f70c584ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6f74702a9b in QEventDispatcherGlib::processEvents (this=0x7f6e240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f6f746a9dea in QEventLoop::exec (this=this@entry=0x7f6e2a844bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x0000000000420cd8 in Baloo::FileContentIndexer::run (this=0x17aab80) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/filecontentindexer.cpp:71
#6  0x00007f6f744c8343 in QThreadPoolThread::run (this=0x189a590) at thread/qthreadpool.cpp:93
#7  0x00007f6f744cb84e in QThreadPrivate::start (arg=0x189a590) at thread/qthread_unix.cpp:331
#8  0x00007f6f731156fa in start_thread (arg=0x7f6e2a845700) at pthread_create.c:333
#9  0x00007f6f73ac4b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f6f759e18c0 (LWP 4614)):
[KCrash Handler]
#6  0x00007f6f739f3418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f6f739f501a in __GI_abort () at abort.c:89
#8  0x00007f6f721e5002 in mdb_assert_fail (env=0x17aadd0, expr_txt=expr_txt@entry=0x7f6f721e6a5f "rc == 0", func=func@entry=0x7f6f721e7398 <__func__.7098> "mdb_page_dirty", line=line@entry=2065, file=0x7f6f721e6a40 "mdb.c") at mdb.c:1481
#9  0x00007f6f721da6a5 in mdb_page_dirty (txn=0x1763c60, mp=<optimized out>) at mdb.c:2065
#10 0x00007f6f721db863 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7ffc1cfd0908, mc=0x7ffc1cfd0e40) at mdb.c:2246
#11 0x00007f6f721dbac9 in mdb_page_touch (mc=mc@entry=0x7ffc1cfd0e40) at mdb.c:2364
#12 0x00007f6f721dd704 in mdb_cursor_touch (mc=mc@entry=0x7ffc1cfd0e40) at mdb.c:6267
#13 0x00007f6f721e0805 in mdb_cursor_put (mc=0x7ffc1cfd0e40, key=0x7ffc1cfd1220, data=0x7ffc1cfd1230, flags=<optimized out>) at mdb.c:6401
#14 0x00007f6f721e3260 in mdb_put (txn=0x1763c60, dbi=3, key=key@entry=0x7ffc1cfd1220, data=data@entry=0x7ffc1cfd1230, flags=flags@entry=0) at mdb.c:8759
#15 0x00007f6f74ba3eba in Baloo::PositionDB::put (this=this@entry=0x7ffc1cfd1310, term=..., list=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/positiondb.cpp:79
#16 0x00007f6f74bb6b5a in Baloo::WriteTransaction::commit (this=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/writetransaction.cpp:314
#17 0x00007f6f74bae032 in Baloo::Transaction::commit (this=this@entry=0x7ffc1cfd13a0) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:262
#18 0x000000000042a02b in Baloo::MetadataMover::moveFileMetadata (this=0x1781f80, from=..., to=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/metadatamover.cpp:58
#19 0x00007f6f746dae4f in QtPrivate::QSlotObjectBase::call (a=0x7ffc1cfd1500, r=0x7ffc1cfd1bc0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#20 QMetaObject::activate (sender=sender@entry=0x17373f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffc1cfd1500) at kernel/qobject.cpp:3698
#21 0x00007f6f746db7d7 in QMetaObject::activate (sender=sender@entry=0x17373f0, m=m@entry=0x644cc0 <KInotify::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffc1cfd1500) at kernel/qobject.cpp:3578
#22 0x000000000042aaba in KInotify::moved (this=this@entry=0x17373f0, _t1=..., _t2=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/obj-x86_64-linux-gnu/src/file/moc_kinotify.cpp:330
#23 0x000000000042cbff in KInotify::slotEvent (this=<optimized out>, socket=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/kinotify.cpp:421
#24 0x00007f6f746dae4f in QtPrivate::QSlotObjectBase::call (a=0x7ffc1cfd1790, r=0x17373f0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#25 QMetaObject::activate (sender=sender@entry=0x1741370, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc1cfd1790) at kernel/qobject.cpp:3698
#26 0x00007f6f746db7d7 in QMetaObject::activate (sender=sender@entry=0x1741370, m=m@entry=0x7f6f748f5780 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc1cfd1790) at kernel/qobject.cpp:3578
#27 0x00007f6f7475a51e in QSocketNotifier::activated (this=this@entry=0x1741370, _t1=13) at .moc/moc_qsocketnotifier.cpp:134
#28 0x00007f6f746e747b in QSocketNotifier::event (this=0x1741370, e=<optimized out>) at kernel/qsocketnotifier.cpp:260
#29 0x00007f6f746ac60c in QCoreApplication::notify (event=0x7ffc1cfd1850, receiver=0x1741370, this=0x7ffc1cfd1b20) at kernel/qcoreapplication.cpp:1038
#30 QCoreApplication::notifyInternal (this=0x7ffc1cfd1b20, receiver=0x1741370, event=event@entry=0x7ffc1cfd1850) at kernel/qcoreapplication.cpp:965
#31 0x00007f6f74702f45 in QCoreApplication::sendEvent (event=0x7ffc1cfd1850, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#32 socketNotifierSourceDispatch (source=0x16fa760) at kernel/qeventdispatcher_glib.cpp:101
#33 0x00007f6f70c581a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f6f70c58400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f6f70c584ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f6f74702a7f in QEventDispatcherGlib::processEvents (this=0x16fd080, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#37 0x00007f6f746a9dea in QEventLoop::exec (this=this@entry=0x7ffc1cfd1a60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#38 0x00007f6f746b1e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#39 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 Christoph Cullmann 2016-09-11 19:39:50 UTC
*** Bug 367752 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Cullmann 2016-09-11 21:25:26 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 ***