Bug 401288 - Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Summary: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.52.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-11-21 19:21 UTC by David Kredba
Modified: 2018-11-26 17:50 UTC (History)
1 user (show)

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


Attachments
Backtrace form 20181020 (9.58 KB, text/plain)
2018-11-21 19:23 UTC, David Kredba
Details
Backtrace form 20181112 (5.40 KB, text/plain)
2018-11-21 19:23 UTC, David Kredba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2018-11-21 19:21:38 UTC
Application: baloo_file (5.52.0)
 (Compiled from sources)
Qt Version: 5.11.2
Frameworks Version: 5.52.0
Operating System: Linux 4.19.0-gentoo x86_64
Distribution: "Gentoo Base System release 2.6"

-- Information about the crash:
- What I was doing when the application crashed:
It crashes when KDE starts and it seems it crashes when I unlock the session, locked out for hours. At last I can see the KCrash report when the session is unlocked.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f5720fd9700 (LWP 4906)):
[KCrash Handler]
#6  0x00007f5726457594 in mdb_midl_xmerge (idl=idl@entry=0x7f5720711018, merge=merge@entry=0x7f185cb93010) at midl.c:207
#7  0x00007f572644ec2f in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f5720fd80d8, mc=<optimized out>) at mdb.c:2277
#8  0x00007f572644f0c9 in mdb_page_touch (mc=mc@entry=0x7f5720fd8610) at mdb.c:2427
#9  0x00007f5726450ccf in mdb_cursor_touch (mc=mc@entry=0x7f5720fd8610) at mdb.c:6492
#10 0x00007f5726453eae in mdb_cursor_put (mc=0x7f5720fd8610, key=0x7f5720fd89e0, data=0x7f5720fd89f0, flags=<optimized out>) at mdb.c:6626
#11 0x00007f5726456a7b in mdb_put (txn=0x55a78eb12fe0, dbi=13, key=key@entry=0x7f5720fd89e0, data=data@entry=0x7f5720fd89f0, flags=flags@entry=0) at mdb.c:8991
#12 0x00007f5728911248 in Baloo::MTimeDB::put (this=this@entry=0x7f5720fd8b20, mtime=<optimized out>, docId=<optimized out>, docId@entry=197233307778350337) at /tmp/portage/kde-frameworks/baloo-5.52.0/work/baloo-5.52.0/src/engine/mtimedb.cpp:73
#13 0x00007f5728920ad2 in Baloo::WriteTransaction::replaceDocument (this=0x7f1714003400, doc=..., operations=...) at /tmp/portage/kde-frameworks/baloo-5.52.0/work/baloo-5.52.0/src/engine/writetransaction.cpp:220
#14 0x00007f572891ad19 in Baloo::Transaction::replaceDocument (this=this@entry=0x7f5720fd8c60, doc=..., operations=...) at /tmp/portage/kde-frameworks/baloo-5.52.0/work/baloo-5.52.0/src/engine/transaction.cpp:261
#15 0x000055a78ccf25c5 in Baloo::UnindexedFileIndexer::run (this=0x55a78f232540) at /tmp/portage/kde-frameworks/baloo-5.52.0/work/baloo-5.52.0/src/file/unindexedfileindexer.cpp:66
#16 0x00007f5728401561 in QThreadPoolThread::run (this=0x55a78f258630) at thread/qthreadpool.cpp:101
#17 0x00007f57284098df in QThreadPrivate::start (arg=0x55a78f258630) at thread/qthread_unix.cpp:367
#18 0x00007f57268ad9aa in start_thread (arg=0x7f5720fd9700) at pthread_create.c:463
#19 0x00007f5727be2fbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5721bd1700 (LWP 4370)):
#0  0x00007f5727bd8ff3 in __GI___poll (fds=0x7f571c003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f572583ff19 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f571c003ce0, timeout=<optimized out>, context=0x7f571c000bf0) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:4203
#2  g_main_context_iterate (context=context@entry=0x7f571c000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3897
#3  0x00007f572584002c in g_main_context_iteration (context=0x7f571c000bf0, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3963
#4  0x00007f57285ed90b in QEventDispatcherGlib::processEvents (this=0x7f571c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f572859a45a in QEventLoop::exec (this=this@entry=0x7f5721bd0db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f57283fffba in QThread::exec (this=this@entry=0x7f57289bbd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#7  0x00007f5728943065 in QDBusConnectionManager::run (this=0x7f57289bbd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f57284098df in QThreadPrivate::start (arg=0x7f57289bbd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007f57268ad9aa in start_thread (arg=0x7f5721bd1700) at pthread_create.c:463
#10 0x00007f5727be2fbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f57223d67c0 (LWP 4358)):
#0  0x00007f5727bd8ff3 in __GI___poll (fds=0x55a78eb1b0e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f572583ff19 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55a78eb1b0e0, timeout=<optimized out>, context=0x55a78eb04a80) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:4203
#2  g_main_context_iterate (context=context@entry=0x55a78eb04a80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3897
#3  0x00007f572584002c in g_main_context_iteration (context=0x55a78eb04a80, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3963
#4  0x00007f57285ed90b in QEventDispatcherGlib::processEvents (this=0x55a78eb040f0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f572859a45a in QEventLoop::exec (this=this@entry=0x7fff3413a620, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f57285a2d40 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#7  0x000055a78cce789c in main (argc=<optimized out>, argv=<optimized out>) at /tmp/portage/kde-frameworks/baloo-5.52.0/work/baloo-5.52.0/src/file/main.cpp:104
[Inferior 1 (process 4358) detached]

Possible duplicates by query: bug 395902, bug 390200, bug 380080.

Reported using DrKonqi
Comment 1 David Kredba 2018-11-21 19:23:06 UTC
Created attachment 116453 [details]
Backtrace form 20181020
Comment 2 David Kredba 2018-11-21 19:23:48 UTC
Created attachment 116454 [details]
Backtrace form 20181112
Comment 3 Nate Graham 2018-11-26 17:50:40 UTC

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