Bug 397644 - baloo_file crashes in Baloo::DocumentTimeDB::get()
Summary: baloo_file crashes in Baloo::DocumentTimeDB::get()
Status: RESOLVED FIXED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.54.0
Platform: Ubuntu Linux
: HI crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
: 374394 396166 397291 397551 401024 401250 401478 401592 403991 404337 405050 407436 408224 408810 410813 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-19 22:13 UTC by nyanpasu64
Modified: 2020-12-15 20:17 UTC (History)
22 users (show)

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


Attachments
New crash information added by DrKonqi (5.43 KB, text/plain)
2018-12-15 12:11 UTC, Matěj Laitl
Details
New crash information added by DrKonqi (7.59 KB, text/plain)
2018-12-24 03:30 UTC, bogdan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nyanpasu64 2018-08-19 22:13:57 UTC
Application: baloo_file (5.44.0)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-29-generic x86_64
Distribution: Ubuntu 18.04.1 LTS

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

- Opening PyCharm Professional 2018.2.1 IDE, which opened a project located in Dropbox.
- I have Dropbox Linux installed.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe220aea200 (LWP 24421))]

Thread 3 (Thread 0x7fe215750700 (LWP 28562)):
[KCrash Handler]
#6  0x00007fe21f89896d in Baloo::DocumentTimeDB::get(unsigned long long) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#7  0x00007fe21f8a6579 in Baloo::Transaction::documentTimeInfo(unsigned long long) const () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#8  0x000055b0b08bb786 in Baloo::ModifiedFileIndexer::run (this=0x55b0b223b1a0) at ./src/file/modifiedfileindexer.cpp:69
#9  0x00007fe21ef522a2 in QThreadPoolThread::run (this=0x55b0b2254f20) at thread/qthreadpool.cpp:99
#10 0x00007fe21ef5516d in QThreadPrivate::start (arg=0x55b0b2254f20) at thread/qthread_unix.cpp:368
#11 0x00007fe21d4d36db in start_thread (arg=0x7fe215750700) at pthread_create.c:463
#12 0x00007fe21e4ad88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe216152700 (LWP 24426)):
#0  0x00007fe21e4a0bf9 in __GI___poll (fds=0x7fe210003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe21ac04439 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fe210003ce0, timeout=<optimized out>, context=0x7fe210000bf0) at ../../../../glib/gmain.c:4204
#2  g_main_context_iterate (context=context@entry=0x7fe210000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3898
#3  0x00007fe21ac0454c in g_main_context_iteration (context=0x7fe210000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3964
#4  0x00007fe21f18c90b in QEventDispatcherGlib::processEvents (this=0x7fe210000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fe21f1319ea in QEventLoop::exec (this=this@entry=0x7fe216151d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fe21ef5022a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007fe2203a0d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fe21ef5516d in QThreadPrivate::start (arg=0x7fe220613d60) at thread/qthread_unix.cpp:368
#9  0x00007fe21d4d36db in start_thread (arg=0x7fe216152700) at pthread_create.c:463
#10 0x00007fe21e4ad88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe220aea200 (LWP 24421)):
#0  0x00007fe21e4a0bf9 in __GI___poll (fds=0x55b0b2017c90, nfds=1, timeout=25261) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe21ac04439 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55b0b2017c90, timeout=<optimized out>, context=0x55b0b1fa8850) at ../../../../glib/gmain.c:4204
#2  g_main_context_iterate (context=context@entry=0x55b0b1fa8850, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3898
#3  0x00007fe21ac0454c in g_main_context_iteration (context=0x55b0b1fa8850, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3964
#4  0x00007fe21f18c8ef in QEventDispatcherGlib::processEvents (this=0x55b0b1fa7ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007fe21f1319ea in QEventLoop::exec (this=this@entry=0x7fff3e8d6660, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fe21f13aa84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#7  0x000055b0b08b180c in main (argc=<optimized out>, argv=<optimized out>) at ./src/file/main.cpp:104

Reported using DrKonqi
Comment 1 Nate Graham 2018-11-26 17:05:08 UTC
*** Bug 374394 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2018-11-26 17:05:39 UTC
*** Bug 401250 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2018-11-26 21:56:32 UTC
*** Bug 396166 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2018-11-26 21:56:35 UTC
*** Bug 401024 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2018-11-26 21:56:36 UTC
*** Bug 397551 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2018-11-26 21:56:38 UTC
*** Bug 397291 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2018-11-27 20:53:37 UTC
*** Bug 401478 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2018-12-07 23:11:38 UTC
*** Bug 401592 has been marked as a duplicate of this bug. ***
Comment 9 Matěj Laitl 2018-12-15 12:11:30 UTC
Created attachment 116935 [details]
New crash information added by DrKonqi

baloo_file (5.52.0) using Qt 5.11.1

- What I was doing when the application crashed:

Crashes immediately on session startup.

-- Backtrace (Reduced):
#6  0x00007f4aa5046ecd in Baloo::DocumentTimeDB::get (this=this@entry=0x7f4a98897960, docId=<optimized out>, docId@entry=6798499437873171) at /var/tmp/portage/kde-frameworks/baloo-5.52.0/work/baloo-5.52.0/src/engine/documenttimedb.cpp:89
#7  0x00007f4aa5054d39 in Baloo::Transaction::documentTimeInfo (this=<optimized out>, id=id@entry=6798499437873171) at /var/tmp/portage/kde-frameworks/baloo-5.52.0/work/baloo-5.52.0/src/engine/transaction.cpp:142
#8  0x0000559b987d82f5 in Baloo::UnIndexedFileIterator::shouldIndex (this=0x7f4a98897c10, filePath=..., mimetype=...) at /var/tmp/portage/kde-frameworks/baloo-5.52.0/work/baloo-5.52.0/src/file/unindexedfileiterator.cpp:104
#9  0x0000559b987d8613 in Baloo::UnIndexedFileIterator::next (this=this@entry=0x7f4a98897c10) at /var/tmp/portage/kde-frameworks/baloo-5.52.0/work/baloo-5.52.0/src/file/unindexedfileiterator.cpp:82
#10 0x0000559b987cf7ad in Baloo::UnindexedFileIndexer::run (this=0x559b9a8da4d0) at /var/tmp/portage/kde-frameworks/baloo-5.52.0/work/baloo-5.52.0/src/file/unindexedfileindexer.cpp:49
Comment 10 bogdan 2018-12-24 03:30:45 UTC
Created attachment 117082 [details]
New crash information added by DrKonqi

baloo_file (5.53.0) using Qt 5.12.0

Same thing as reported, Baloo demon crashes at desktop session load

-- Backtrace (Reduced):
#6  0x00007f24f4862bed in Baloo::DocumentTimeDB::get (this=this@entry=0x7f24e9e448d0, docId=<optimized out>, docId@entry=3458765351339165703) at /usr/src/debug/baloo5-5.53.0-lp150.186.1.x86_64/src/engine/documenttimedb.cpp:89
#7  0x00007f24f48709e9 in Baloo::Transaction::documentTimeInfo (this=<optimized out>, id=id@entry=3458765351339165703) at /usr/src/debug/baloo5-5.53.0-lp150.186.1.x86_64/src/engine/transaction.cpp:142
#8  0x0000557f23aa1d55 in Baloo::UnIndexedFileIterator::shouldIndex (this=0x7f24e9e44b80, filePath=..., mimetype=...) at /usr/src/debug/baloo5-5.53.0-lp150.186.1.x86_64/src/file/unindexedfileiterator.cpp:104
#9  0x0000557f23aa2063 in Baloo::UnIndexedFileIterator::next (this=this@entry=0x7f24e9e44b80) at /usr/src/debug/baloo5-5.53.0-lp150.186.1.x86_64/src/file/unindexedfileiterator.cpp:82
#10 0x0000557f23a9926d in Baloo::UnindexedFileIndexer::run (this=0x557f25067a70) at /usr/src/debug/baloo5-5.53.0-lp150.186.1.x86_64/src/file/unindexedfileindexer.cpp:49
Comment 11 Nate Graham 2019-02-07 17:15:12 UTC
*** Bug 403991 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2019-02-14 21:54:01 UTC
*** Bug 404337 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2019-03-08 00:06:39 UTC
*** Bug 405050 has been marked as a duplicate of this bug. ***
Comment 14 Nate Graham 2019-05-13 04:09:26 UTC
*** Bug 407436 has been marked as a duplicate of this bug. ***
Comment 15 Nate Graham 2019-06-05 14:51:41 UTC
*** Bug 408224 has been marked as a duplicate of this bug. ***
Comment 16 Nate Graham 2019-06-17 19:41:27 UTC
*** Bug 408810 has been marked as a duplicate of this bug. ***
Comment 17 Nate Graham 2019-08-13 16:24:38 UTC
*** Bug 410813 has been marked as a duplicate of this bug. ***
Comment 18 Rafael Linux User 2019-11-04 00:24:37 UTC
Same case. After upgrading from OpenSUSE 15.0 to 15.1 (so Plasma upgraded too) this error appears in every boot.
Comment 19 Nate Graham 2020-10-26 16:22:02 UTC
No duplicate bug reports seen in over a year and all duplicates are from old versions (Frameworks 5.55 or older). After all the bugfixing work done during that time, I think we can call this fixed now!
Comment 20 Nataniel 2020-12-15 20:17:39 UTC
Alas, I'm having the same problem. Might be different though because I'm on manjaro and I tried to switch to kde-testing, which totally broke my system so I reverted to stable and cleared every kde-related config file I found, including baloo...