Bug 394404 - baloo_file crashes after some time in Baloo::PostingDB::get()
Summary: baloo_file crashes after some time in Baloo::PostingDB::get()
Status: RESOLVED DUPLICATE of bug 367480
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.45.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-05-18 09:28 UTC by mm-schade
Modified: 2018-10-17 07:42 UTC (History)
8 users (show)

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


Attachments
New crash information added by DrKonqi (6.43 KB, text/plain)
2018-07-30 13:02 UTC, Don Curtis
Details
New crash information added by DrKonqi (3.71 KB, text/plain)
2018-08-03 06:39 UTC, Yao Nianqing
Details
New crash information added by DrKonqi (3.81 KB, text/plain)
2018-10-03 16:40 UTC, Reinhard Auner
Details
New crash information added by DrKonqi (4.42 KB, text/plain)
2018-10-04 19:04 UTC, Reinhard Auner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mm-schade 2018-05-18 09:28:14 UTC
Application: baloo_file (5.45.0)

Qt Version: 5.10.0
Frameworks Version: 5.45.0
Operating System: Linux 4.16.8-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
After every start (after logon or manual restart) and some runtime baloo file indexer crashes.

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 0x7f1801316f40 (LWP 5192))]

Thread 3 (Thread 0x7f17f5f9f700 (LWP 29908)):
[KCrash Handler]
#6  0x00007f17fed62ed5 in __memcpy_ssse3 () from /lib64/libc.so.6
#7  0x00007f180031aa13 in memcpy (__len=65025, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7f17f5f9e9e7, arr=...) at /usr/src/debug/baloo5-5.45.0-1.1.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007f180030bef4 in Baloo::PostingDB::get (this=this@entry=0x7f17f5f9ead0, term=...) at /usr/src/debug/baloo5-5.45.0-1.1.x86_64/src/engine/postingdb.cpp:100
#10 0x00007f1800318100 in Baloo::WriteTransaction::commit (this=0x5597c4f0a6d0) at /usr/src/debug/baloo5-5.45.0-1.1.x86_64/src/engine/writetransaction.cpp:259
#11 0x00007f1800311442 in Baloo::Transaction::commit (this=this@entry=0x7f17f5f9ebe0) at /usr/src/debug/baloo5-5.45.0-1.1.x86_64/src/engine/transaction.cpp:262
#12 0x00005597c3710577 in Baloo::ModifiedFileIndexer::run (this=0x5597c4f0aa00) at /usr/src/debug/baloo5-5.45.0-1.1.x86_64/src/file/modifiedfileindexer.cpp:103
#13 0x00007f17ff7c6df2 in QThreadPoolThread::run (this=0x5597c4d74b70) at thread/qthreadpool.cpp:101
#14 0x00007f17ff7c9ba0 in QThreadPrivate::start (arg=0x5597c4d74b70) at thread/qthread_unix.cpp:376
#15 0x00007f17fdd5f59b in start_thread () from /lib64/libpthread.so.0
#16 0x00007f17fed21a1f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f17f6ae7700 (LWP 5193)):
#0  0x00007f17fed12bf4 in read () from /lib64/libc.so.6
#1  0x00007f17fb133ab0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f17fb0eef17 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f17fb0ef3d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f17fb0ef53c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f17ff9f6a2b in QEventDispatcherGlib::processEvents (this=0x7f17f0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f17ff99d95a in QEventLoop::exec (this=this@entry=0x7f17f6ae6d90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f17ff7c4baa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#8  0x00007f1800bcea35 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f17ff7c9ba0 in QThreadPrivate::start (arg=0x7f1800e3ed60) at thread/qthread_unix.cpp:376
#10 0x00007f17fdd5f59b in start_thread () from /lib64/libpthread.so.0
#11 0x00007f17fed21a1f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1801316f40 (LWP 5192)):
#0  0x00007f17fed17179 in poll () from /lib64/libc.so.6
#1  0x00007f17fb0ef429 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f17fb0ef53c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f17ff9f6a0f in QEventDispatcherGlib::processEvents (this=0x5597c4c5c0f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f17ff99d95a in QEventLoop::exec (this=this@entry=0x7ffda3645f10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f17ff9a6494 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332
#6  0x00005597c370621c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.45.0-1.1.x86_64/src/file/main.cpp:104

Possible duplicates by query: bug 392701, bug 391803, bug 390610, bug 390363, bug 389455.

Reported using DrKonqi
Comment 1 Matej Mrenica 2018-06-01 14:56:58 UTC

*** This bug has been marked as a duplicate of bug 389848 ***
Comment 2 Christoph Feck 2018-06-01 18:34:44 UTC
This is not a duplicate.
Comment 3 Nate Graham 2018-06-29 17:13:21 UTC
*** Bug 395996 has been marked as a duplicate of this bug. ***
Comment 4 Don Curtis 2018-07-30 13:02:39 UTC
Created attachment 114222 [details]
New crash information added by DrKonqi

baloo_file (5.45.0) using Qt 5.9.4

- What I was doing when the application crashed:
KMail client was closed -- I was retrieving some PDF files (scanned documents) from a USB stick before logging out.
The Baloo database in ~/.local/share/baloo/ is relatively "fresh" -- only one or two days old …
-----------
 __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:130

-- Backtrace (Reduced):
#6  __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:130
#7  0x00007f25173a5a93 in memcpy (__len=380332128, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7ffebbf59777, arr=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007f2517396f64 in Baloo::PostingDB::get (this=this@entry=0x7ffebbf59860, term=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/postingdb.cpp:100
#10 0x00007f25173a3180 in Baloo::WriteTransaction::commit (this=0x7f2508018840) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:259
Comment 5 Yao Nianqing 2018-08-03 06:39:23 UTC
Created attachment 114282 [details]
New crash information added by DrKonqi

baloo_file (5.45.0) using Qt 5.9.4

- What I was doing when the application crashed:
When I saved a .odt file, which includes some chinese characters , it crashed.
And the file's name includes chinese character ,too.

-- Backtrace (Reduced):
#7  0x00007fe4fa1cea93 in memcpy (__len=18446744073601460320, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7fa4ebcfc8f7, arr=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007fe4fa1bff64 in Baloo::PostingDB::get (this=this@entry=0x7fa4ebcfc9e0, term=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/postingdb.cpp:100
#10 0x00007fe4fa1cc180 in Baloo::WriteTransaction::commit (this=0x7fa4e4004da0) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:259
#11 0x00007fe4fa1c54c2 in Baloo::Transaction::commit (this=this@entry=0x7fa4ebcfcaf0) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:262
Comment 6 Don Curtis 2018-08-03 07:46:43 UTC
(In reply to Yao Nianqing from comment #5)
> And the file's name includes chinese character ,too.
And, in my case, some of the file names have German language "Umlaut" characters: 'ö, ä, ü, Ö, Ä, Ü, ß': in other words: UTF-8 characters …
Comment 7 Reinhard Auner 2018-10-03 16:40:54 UTC
Created attachment 115389 [details]
New crash information added by DrKonqi

baloo_file (5.45.0) using Qt 5.9.4

- What I was doing when the application crashed:
I was surfing the Internet with Google Chrome, amarok ran.

-- Backtrace (Reduced):
#7  0x00007f092c305a93 in memcpy (__len=2067, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7f0921da98f7, arr=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007f092c2f6f64 in Baloo::PostingDB::get (this=this@entry=0x7f0921da99e0, term=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/postingdb.cpp:100
#10 0x00007f092c303180 in Baloo::WriteTransaction::commit (this=0x7ec914030140) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:259
#11 0x00007f092c2fc4c2 in Baloo::Transaction::commit (this=this@entry=0x7f0921da9af0) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:262
Comment 8 Reinhard Auner 2018-10-04 19:04:19 UTC
Created attachment 115417 [details]
New crash information added by DrKonqi

baloo_file (5.45.0) using Qt 5.9.4

- What I was doing when the application crashed:

I was just surfing the internet, with no other user application running.

-- Backtrace (Reduced):
#7  0x00007f6fd9a2da93 in memcpy (__len=2067, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#8  Baloo::PostingCodec::decode (this=this@entry=0x7f6fcf4d18f7, arr=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/codecs/postingcodec.cpp:42
#9  0x00007f6fd9a1ef64 in Baloo::PostingDB::get (this=this@entry=0x7f6fcf4d19e0, term=...) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/postingdb.cpp:100
#10 0x00007f6fd9a2b180 in Baloo::WriteTransaction::commit (this=0x7f6fc8037060) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/writetransaction.cpp:259
#11 0x00007f6fd9a244c2 in Baloo::Transaction::commit (this=this@entry=0x7f6fcf4d1af0) at /usr/src/debug/baloo5-5.45.0-lp150.2.1.x86_64/src/engine/transaction.cpp:262
Comment 9 Nate Graham 2018-10-12 23:00:37 UTC
*** Bug 396218 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2018-10-12 23:00:54 UTC
*** Bug 396323 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2018-10-12 23:01:00 UTC
*** Bug 399481 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2018-10-12 23:01:09 UTC
*** Bug 396973 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2018-10-12 23:01:16 UTC
*** Bug 399692 has been marked as a duplicate of this bug. ***
Comment 14 Nate Graham 2018-10-12 23:03:36 UTC

*** This bug has been marked as a duplicate of bug 357206 ***
Comment 15 Nate Graham 2018-10-12 23:09:38 UTC

*** This bug has been marked as a duplicate of bug 367480 ***
Comment 16 Ben Cooksley 2018-10-16 06:24:53 UTC
Removing subscriber per abuse report we received.
Comment 17 Ben Cooksley 2018-10-17 07:42:43 UTC
Removing subscriber per abuse report we received.