Bug 355793 - Baloo crash startup - Baloo::Transaction::fetchPhaseOneIds
Summary: Baloo crash startup - Baloo::Transaction::fetchPhaseOneIds
Status: RESOLVED WORKSFORME
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: 2015-11-23 16:07 UTC by Jasem Mutlaq
Modified: 2018-12-01 03:50 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 Jasem Mutlaq 2015-11-23 16:07:42 UTC
Application: baloo_file (5.15.0)

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

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

+ Upgraded to Plasma 5.4.3 via Kubuntu backports.
+ On next startup, Baloo always crashes and Dolphin crashes as well.

The crash can be reproduced every time.

-- 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 0x7f85add4d800 (LWP 2809))]

Thread 3 (Thread 0x7f8461c99700 (LWP 2817)):
[KCrash Handler]
#6  0x00007f85aa5fb00e in mdb_cursor_get () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#7  0x00007f85acf550ab in Baloo::DocumentIdDB::fetchItems (this=this@entry=0x7f8461c98b30, size=size@entry=40) at ../../../src/engine/documentiddb.cpp:120
#8  0x00007f85acf638ee in Baloo::Transaction::fetchPhaseOneIds (this=this@entry=0x7f8461c98b70, size=size@entry=40) at ../../../src/engine/transaction.cpp:169
#9  0x0000000000420479 in Baloo::FileContentIndexerProvider::fetch (this=<optimized out>, size=size@entry=40) at ../../../src/file/filecontentindexerprovider.cpp:35
#10 0x000000000041fcb3 in Baloo::FileContentIndexer::run (this=0x1d72670) at ../../../src/file/filecontentindexer.cpp:62
#11 0x00007f85ac8a2e73 in QThreadPoolThread::run (this=0x1e57300) at thread/qthreadpool.cpp:93
#12 0x00007f85ac8a62be in QThreadPrivate::start (arg=0x1e57300) at thread/qthread_unix.cpp:337
#13 0x00007f85ab5186aa in start_thread (arg=0x7f8461c99700) at pthread_create.c:333
#14 0x00007f85abeb6eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f8461498700 (LWP 2818)):
#0  0x00007f85abead743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f85aca19f7f in QProcessManager::run (this=0x1c5c1c0) at io/qprocess_unix.cpp:264
#2  0x00007f85ac8a62be in QThreadPrivate::start (arg=0x1c5c1c0) at thread/qthread_unix.cpp:337
#3  0x00007f85ab5186aa in start_thread (arg=0x7f8461498700) at pthread_create.c:333
#4  0x00007f85abeb6eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f85add4d800 (LWP 2809)):
#0  0x00007fffd95d8c4f in clock_gettime ()
#1  0x00007f85abec538d in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7fffd9586840) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f85ac9573a6 in qt_clock_gettime (ts=0x7fffd9586840, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:170
#5  0x00007f85acadad29 in QTimerInfoList::updateCurrentTime (this=this@entry=0x1c5c0d0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f85acadb295 in QTimerInfoList::timerWait (this=0x1c5c0d0, tm=...) at kernel/qtimerinfo_unix.cpp:379
#7  0x00007f85acadc67e in timerSourcePrepareHelper (timeout=0x7fffd9586914, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7fffd9586914) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f85a909977d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f85a909a11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f85a909a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f85acadd29b in QEventDispatcherGlib::processEvents (this=0x1c5bf90, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f85aca8375a in QEventLoop::exec (this=this@entry=0x7fffd9586ad0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f85aca8b2cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#15 0x0000000000415aec in main (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88

Reported using DrKonqi
Comment 1 laniel_francis 2016-01-15 14:36:33 UTC
Hello.


I think that I have the same bug :

Application: baloo_file (5.15.0)

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

-- Information about the crash:
Just boot my pc

The crash can be reproduced every time.

-- 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 0x7f9c9222e800 (LWP 1900))]

Thread 2 (Thread 0x7f9b473ca700 (LWP 2263)):
[KCrash Handler]
#6  mdb_cursor_get (mc=0x28, key=key@entry=0x7f9b473c9ae0, data=data@entry=0x0, op=op@entry=MDB_NEXT) at mdb.c:5901
#7  0x00007f9c914210ab in Baloo::DocumentIdDB::fetchItems (this=this@entry=0x7f9b473c9b30, size=size@entry=40) at ../../../src/engine/documentiddb.cpp:120
#8  0x00007f9c9142f8ee in Baloo::Transaction::fetchPhaseOneIds (this=this@entry=0x7f9b473c9b70, size=size@entry=40) at ../../../src/engine/transaction.cpp:169
#9  0x0000000000420479 in Baloo::FileContentIndexerProvider::fetch (this=<optimized out>, size=size@entry=40) at ../../../src/file/filecontentindexerprovider.cpp:35
#10 0x000000000041fcb3 in Baloo::FileContentIndexer::run (this=0x23e5d80) at ../../../src/file/filecontentindexer.cpp:62
#11 0x00007f9c90d6ee73 in QThreadPoolThread::run (this=0x24e2110) at thread/qthreadpool.cpp:93
#12 0x00007f9c90d722be in QThreadPrivate::start (arg=0x24e2110) at thread/qthread_unix.cpp:337
#13 0x00007f9c8f9e46aa in start_thread (arg=0x7f9b473ca700) at pthread_create.c:333
#14 0x00007f9c90382eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9c9222e800 (LWP 1900)):
#0  0x00007f9c9037349d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9c8d5a84e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c8d564cd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c8d565190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9c8d5652fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9c90fa927f in QEventDispatcherGlib::processEvents (this=0x23ccfb0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#6  0x00007f9c90f4f75a in QEventLoop::exec (this=this@entry=0x7ffda2ba78b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f9c90f572cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#8  0x0000000000415aec in main (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88

Possible duplicates by query: bug 355793.


The problem with this bug is that it affects krunner and also dolphin which will crash when used.


Bye.
Comment 2 Andrew Crouthamel 2018-11-01 13:52:10 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-16 11:36:27 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-12-01 03:50:33 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!