Bug 355551 - Baloo crash - Baloo::PostingCodec::decode
Summary: Baloo crash - Baloo::PostingCodec::decode
Status: RESOLVED DUPLICATE of bug 367480
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Engine (show other bugs)
Version: 5.16.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-18 17:35 UTC by niuylscu
Modified: 2016-09-11 13:27 UTC (History)
4 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 niuylscu 2015-11-18 17:35:29 UTC
Application: baloo_file_extractor (5.16.0)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.2.5-300.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
The Bool File Extractor failed soon after entering the KDE desk

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7e012718c0 (LWP 2492))]

Thread 2 (Thread 0x7f7dea9cc700 (LWP 2494)):
#0  0x00007f7dfd645fdd in poll () at /lib64/libc.so.6
#1  0x00007f7df7cfc272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f7df7cfdee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f7ded398da9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f7dfe24e3ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f7dfc55460a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f7dfd651a7d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f7e012718c0 (LWP 2492)):
[KCrash Handler]
#5  0x00007f7dfd5edbf0 in __memcpy_sse2_unaligned () at /lib64/libc.so.6
#6  0x00007f7e003b59d2 in Baloo::PostingCodec::decode(QByteArray const&) () at /lib64/libKF5BalooEngine.so.5
#7  0x00007f7e0039ea54 in Baloo::PostingDB::get(QByteArray const&) () at /lib64/libKF5BalooEngine.so.5
#8  0x00007f7e003b25fd in Baloo::WriteTransaction::commit() () at /lib64/libKF5BalooEngine.so.5
#9  0x00007f7e003a8cf2 in Baloo::Transaction::commit() () at /lib64/libKF5BalooEngine.so.5
#10 0x0000564c8c710c5c in Baloo::App::processNextFile() ()
#11 0x00007f7dfe46a8d8 in QSingleShotTimer::timerEvent(QTimerEvent*) () at /lib64/libQt5Core.so.5
#12 0x00007f7dfe45f163 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#13 0x00007f7dff11541c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#14 0x00007f7dff11a8e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#15 0x00007f7dfe42f77b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#16 0x00007f7dfe484d0d in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#17 0x00007f7dfe485211 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#18 0x00007f7dfbdbbe3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#19 0x00007f7dfbdbc1d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#20 0x00007f7dfbdbc27c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#21 0x00007f7dfe485f0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#22 0x00007f7dfe42cf0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#23 0x00007f7dfe434fec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#24 0x0000564c8c70f555 in main ()

Reported using DrKonqi
Comment 1 Dariusz Ostolski 2016-03-04 20:06:49 UTC
NAME=openSUSE
VERSION="Tumbleweed"
VERSION_ID="20160301"
PRETTY_NAME="openSUSE Tumbleweed (20160301) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:20160301"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
ID_LIKE="suse"


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 0x7f02742288c0 (LWP 5362))]

Thread 2 (Thread 0x7f0128245700 (LWP 11361)):
[KCrash Handler]
#6  0x00007f0271d27460 in __memcpy_sse2_unaligned () at /lib64/libc.so.6
#7  0x00007f0273034a0a in Baloo::PostingCodec::decode(QByteArray const&) (__len=536945712, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string3.h:53
#8  0x00007f0273034a0a in Baloo::PostingCodec::decode(QByteArray const&) (this=this@entry=0x7f01282449ff, arr=...) at /usr/src/debug/baloo-5.19.0/src/codecs/postingcodec.cpp:42
#9  0x00007f02730210e4 in Baloo::PostingDB::get(QByteArray const&) (this=this@entry=0x7f0128244ae0, term=...) at /usr/src/debug/baloo-5.19.0/src/engine/postingdb.cpp:100
#10 0x00007f027303157b in Baloo::WriteTransaction::commit() (this=<optimized out>) at /usr/src/debug/baloo-5.19.0/src/engine/writetransaction.cpp:286
#11 0x00007f0273029592 in Baloo::Transaction::commit() (this=0x7f0128244be0) at /usr/src/debug/baloo-5.19.0/src/engine/transaction.cpp:262
#12 0x0000000000410319 in  ()
#13 0x00007f0272761533 in QThreadPoolThread::run() (this=0x1d26f40) at thread/qthreadpool.cpp:93
#14 0x00007f027276494f in QThreadPrivate::start(void*) (arg=0x1d26f40) at thread/qthread_unix.cpp:331
#15 0x00007f0270db54a4 in start_thread () at /lib64/libpthread.so.0
#16 0x00007f0271d7eded in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f02742288c0 (LWP 5362)):
#0  0x00007f0270dbde5c in __lll_robust_lock_wait () at /lib64/libpthread.so.0
#1  0x00007f0270db7767 in __pthread_mutex_lock_full () at /lib64/libpthread.so.0
#2  0x00007f026fa8b412 in  () at /usr/lib64/liblmdb.so
#3  0x00007f026fa8c6a4 in mdb_txn_begin () at /usr/lib64/liblmdb.so
#4  0x00007f027302909b in Baloo::Transaction::Transaction(Baloo::Database const&, Baloo::Transaction::TransactionType) (this=0x7ffd0a181f60, db=..., type=Baloo::Transaction::ReadWrite) at /usr/src/debug/baloo-5.19.0/src/engine/transaction.cpp:53
#5  0x000000000041c8ef in  ()
#6  0x00007f0272962de7 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffd0a1820a0, r=0x1b4bf80, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#7  0x00007f0272962de7 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x1b30e30, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3698
#8  0x0000000000425e65 in  ()
#9  0x000000000041ab16 in  ()
#10 0x00007f0272962de7 in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffd0a1821c0, r=0x1b30e30, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#11 0x00007f0272962de7 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x1b30e48, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3698
#12 0x00007f0272963757 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x1b30e48, m=m@entry=0x7f0272d798c0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#13 0x00007f02729de530 in QTimer::timeout(QTimer::QPrivateSignal) (this=this@entry=0x1b30e48) at .moc/moc_qtimer.cpp:197
#14 0x00007f027296f0b8 in QTimer::timerEvent(QTimerEvent*) (this=0x1b30e48, e=<optimized out>) at kernel/qtimer.cpp:247
#15 0x00007f0272963cfb in QObject::event(QEvent*) (this=0x1b30e48, e=<optimized out>) at kernel/qobject.cpp:1261
#16 0x00007f0272935cac in QCoreApplication::notifyInternal(QObject*, QEvent*) (event=0x7ffd0a182390, receiver=0x1b30e48, this=0x7ffd0a182650) at kernel/qcoreapplication.cpp:1038
#17 0x00007f0272935cac in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffd0a182650, receiver=0x1b30e48, event=event@entry=0x7ffd0a182390) at kernel/qcoreapplication.cpp:965
#18 0x00007f02729883bd in QTimerInfoList::activateTimers() (event=0x7ffd0a182390, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:224
#19 0x00007f02729883bd in QTimerInfoList::activateTimers() (this=0x1af5050) at kernel/qtimerinfo_unix.cpp:637
#20 0x00007f0272988909 in idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#21 0x00007f0272988909 in idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#22 0x00007f026e70b0c7 in g_main_context_dispatch (context=0x1af5280) at gmain.c:3154
#23 0x00007f026e70b0c7 in g_main_context_dispatch (context=context@entry=0x1af5280) at gmain.c:3769
#24 0x00007f026e70b2f8 in g_main_context_iterate (context=context@entry=0x1af5280, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#25 0x00007f026e70b39c in g_main_context_iteration (context=0x1af5280, may_block=may_block@entry=1) at gmain.c:3901
#26 0x00007f027298950f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1af51d0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0x00007f027293361a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd0a1825b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007f027293b2dd in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#29 0x000000000040a8a6 in  ()
#30 0x00007f0271cb5610 in __libc_start_main () at /lib64/libc.so.6
#31 0x000000000040aa49 in _start ()
Comment 2 Dariusz Ostolski 2016-03-06 09:58:21 UTC
Another case. I had thunderbird trying to download show new folder for a long time (maybe connection problem, maybe file locked) and in the meantime I've tried to download  http://gcc.fyxm.net/releases/gcc-4.8.5/gcc-4.8.5.tar.bz2 from firefox usign flashgot extension which was configured to use kget. Just after I clicked save in kget I have baloo indexing crash.

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 0x7febcbea88c0 (LWP 1582))]

Thread 2 (Thread 0x7fea7fe84700 (LWP 13624)):
[KCrash Handler]
#6  0x00007febc99a8460 in __memcpy_sse2_unaligned () at /lib64/libc.so.6
#7  0x00007febcacb5a0a in Baloo::PostingCodec::decode(QByteArray const&) (__len=70496, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string3.h:53
#8  0x00007febcacb5a0a in Baloo::PostingCodec::decode(QByteArray const&) (this=this@entry=0x7fea7fe839ff, arr=...) at /usr/src/debug/baloo-5.19.0/src/codecs/postingcodec.cpp:42
#9  0x00007febcaca20e4 in Baloo::PostingDB::get(QByteArray const&) (this=this@entry=0x7fea7fe83ae0, term=...) at /usr/src/debug/baloo-5.19.0/src/engine/postingdb.cpp:100
#10 0x00007febcacb257b in Baloo::WriteTransaction::commit() (this=<optimized out>) at /usr/src/debug/baloo-5.19.0/src/engine/writetransaction.cpp:286
#11 0x00007febcacaa592 in Baloo::Transaction::commit() (this=0x7fea7fe83be0) at /usr/src/debug/baloo-5.19.0/src/engine/transaction.cpp:262
#12 0x0000000000410319 in  ()
#13 0x00007febca3e2533 in QThreadPoolThread::run() (this=0x1ca1cb0) at thread/qthreadpool.cpp:93
#14 0x00007febca3e594f in QThreadPrivate::start(void*) (arg=0x1ca1cb0) at thread/qthread_unix.cpp:331
#15 0x00007febc8a364a4 in start_thread () at /lib64/libpthread.so.0
#16 0x00007febc99ffded in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7febcbea88c0 (LWP 1582)):
#0  0x00007febc99f749d in poll () at /lib64/libc.so.6
#1  0x00007febc638c294 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x1a4d150, timeout=<optimized out>, context=0x1a07280) at gmain.c:4135
#2  0x00007febc638c294 in g_main_context_iterate (context=context@entry=0x1a07280, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007febc638c39c in g_main_context_iteration (context=0x1a07280, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007febca60a50f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1a071d0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007febca5b461a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd493fcf10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007febca5bc2dd in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#7  0x000000000040a8a6 in  ()
#8  0x00007febc9936610 in __libc_start_main () at /lib64/libc.so.6
#9  0x000000000040aa49 in _start ()
Comment 3 Christoph Cullmann 2016-09-11 13:27:59 UTC

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