Summary: | Baloo Crash - Baloo::IdTreeDB::get | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | Tom <mail> |
Component: | Engine | Assignee: | Pinak Ahuja <pinak.ahuja> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | admin, alx.kuzza, anorumous100101001, aspotashev, b.queck, benkopolis, bonsbox, bortechino, brabus84, bugtracker, christoph, cirdan52, cjgermany, claudio.canevarolo, contact, cordobaa92, david.holec, eierajat.roy, enno.nagel, fr1veikk, FrankMaerkle, georges, gerben.jansen, glcocco, householdwords, hpcaruop, iskenderurs, jaktrzeb, janus_ak, johngeoffreywalker, kurt.degrave, lucianomario58, magpiper, michael.sost, msh77fa, p.hamal, Patrick.Carabin, pdrajski, pinak.ahuja, renda.krell, stefan.bruens, stefan.kaerst, stevewhorwood, sunnypiglets, syrogi, ti-bless, tomas.chvatal, vilem.ivanov, Vojtech.Zeisek, wk.testmaster |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.13.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
backtrace with all debugsymbols |
Description
Tom
2015-09-21 13:23:22 UTC
I have a similar problem, appearing randomly while working in KDE, with a more detailed 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 0x7f2d5faa1780 (LWP 2134))] Thread 3 (Thread 0x7f2d5028a700 (LWP 2137)): #0 0x00007f2d5c29026d in poll () from /lib64/libc.so.6 #1 0x00007f2d586ee432 in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007f2d586f0007 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007f2d530277f9 in QXcbEventReader::run (this=0x24af690) at qxcbconnection.cpp:1106 #4 0x00007f2d5cc79eaf in QThreadPrivate::start (arg=0x24af690) at thread/qthread_unix.cpp:337 #5 0x00007f2d5bb474a4 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f2d5c298bfd in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f2d4f059700 (LWP 2369)): #0 0x00007ffc20b0b937 in ?? () #1 0x00007ffc20b0bcd9 in clock_gettime () #2 0x00007f2d5c2a57f6 in clock_gettime () from /lib64/libc.so.6 #3 0x00007f2d5cd26736 in qt_clock_gettime (ts=0x7f2d4f058a80, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105 #4 do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161 #5 qt_gettime () at tools/qelapsedtimer_unix.cpp:170 #6 0x00007f2d5ce9bdc9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f2c00002ed0) at kernel/qtimerinfo_unix.cpp:84 #7 0x00007f2d5ce9c2d5 in QTimerInfoList::timerWait (this=0x7f2c00002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:379 #8 0x00007f2d5ce9d66e in timerSourcePrepareHelper (timeout=0x7f2d4f058b34, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127 #9 timerSourcePrepare (source=<optimized out>, timeout=0x7f2d4f058b34) at kernel/qeventdispatcher_glib.cpp:160 #10 0x00007f2d5b3e04bd in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #11 0x00007f2d5b3e0dc3 in ?? () from /usr/lib64/libglib-2.0.so.0 #12 0x00007f2d5b3e0f9c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #13 0x00007f2d5ce9e20b in QEventDispatcherGlib::processEvents (this=0x7f2c000008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 #14 0x00007f2d5ce475ea in QEventLoop::exec (this=0x7f2d4f058d70, flags=...) at kernel/qeventloop.cpp:204 #15 0x000000000041fb6b in Baloo::FileContentIndexer::run() () #16 0x00007f2d5cc76b53 in QThreadPoolThread::run (this=0x24e6000) at thread/qthreadpool.cpp:93 #17 0x00007f2d5cc79eaf in QThreadPrivate::start (arg=0x24e6000) at thread/qthread_unix.cpp:337 #18 0x00007f2d5bb474a4 in start_thread () from /lib64/libpthread.so.0 #19 0x00007f2d5c298bfd in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f2d5faa1780 (LWP 2134)): [KCrash Handler] #6 0x00007f2d5c2d81a8 in __memcpy_avx_unaligned () from /lib64/libc.so.6 #7 0x00007f2d5d513ac5 in memcpy (__len=140720856047936, __src=0x7f2d5cc7d9c0 <QByteArray::QByteArray(char const*, int)+80>, __dest=<optimized out>) at /usr/include/bits/string3.h:53 #8 Baloo::IdTreeDB::get (this=this@entry=0x7ffc20a32140, docId=docId@entry=0) at /usr/src/debug/baloo-5.14.0/src/engine/idtreedb.cpp:93 #9 0x00007f2d5d510718 in Baloo::DocumentUrlDB::getId (this=this@entry=0x7ffc20a321b0, docId=0, fileName=...) at /usr/src/debug/baloo-5.14.0/src/engine/documenturldb.cpp:185 #10 0x00007f2d5d523091 in Baloo::Transaction::documentId (this=<optimized out>, path=...) at /usr/src/debug/baloo-5.14.0/src/engine/transaction.cpp:122 #11 0x00000000004278b0 in Baloo::MetadataMover::removeMetadata(Baloo::Transaction*, QString const&) () #12 0x000000000042796d in Baloo::MetadataMover::removeFileMetadata(QString const&) () #13 0x00007f2d5ce78bd7 in call (a=0x7ffc20a32360, r=0x2536110, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124 #14 QMetaObject::activate (sender=0x2525dd0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3702 #15 0x0000000000430a35 in Baloo::PendingFileQueue::removeFileIndex(QString const&) () #16 0x0000000000425c36 in Baloo::PendingFileQueue::processCache() () #17 0x00007f2d5ce78bd7 in call (a=0x7ffc20a32480, r=0x2525dd0, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124 #18 QMetaObject::activate (sender=sender@entry=0x2525de8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3702 #19 0x00007f2d5ce79547 in QMetaObject::activate (sender=sender@entry=0x2525de8, m=m@entry=0x7f2d5d27a900 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582 #20 0x00007f2d5ceedc40 in QTimer::timeout (this=this@entry=0x2525de8) at .moc/moc_qtimer.cpp:192 #21 0x00007f2d5ce85008 in QTimer::timerEvent (this=0x2525de8, e=<optimized out>) at kernel/qtimer.cpp:247 #22 0x00007f2d5ce79aeb in QObject::event (this=0x2525de8, e=<optimized out>) at kernel/qobject.cpp:1267 #23 0x00007f2d5e85d86c in QApplicationPrivate::notify_helper (this=this@entry=0x247cd00, receiver=receiver@entry=0x2525de8, e=e@entry=0x7ffc20a327f0) at kernel/qapplication.cpp:3720 #24 0x00007f2d5e862b80 in QApplication::notify (this=0x7ffc20a32ab0, receiver=0x2525de8, e=0x7ffc20a327f0) at kernel/qapplication.cpp:3503 #25 0x00007f2d5ce49bf3 in QCoreApplication::notifyInternal (this=0x7ffc20a32ab0, receiver=0x2525de8, event=event@entry=0x7ffc20a327f0) at kernel/qcoreapplication.cpp:935 #26 0x00007f2d5ce9d09d in sendEvent (event=0x7ffc20a327f0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:228 #27 QTimerInfoList::activateTimers (this=0x24ce4e0) at kernel/qtimerinfo_unix.cpp:635 #28 0x00007f2d5ce9d5b1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177 #29 0x00007f2d5b3e0cc7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #30 0x00007f2d5b3e0ef8 in ?? () from /usr/lib64/libglib-2.0.so.0 #31 0x00007f2d5b3e0f9c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #32 0x00007f2d5ce9e1ef in QEventDispatcherGlib::processEvents (this=0x24ce5f0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #33 0x00007f2d5ce475ea in QEventLoop::exec (this=this@entry=0x7ffc20a32a10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #34 0x00007f2d5ce4ed6d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188 #35 0x0000000000416e3f in main () This should be fixed with 5.15, but since it is not easily reproducible I'm leaving this bug open. If someone still gets this crash with 5.15 please let us know. *** Bug 353223 has been marked as a duplicate of this bug. *** In addition: yesterday I looked into my ~/.xsession-errors-:0 file perhaps this is relevant, too ? ... KCrash: Attempting to start /usr/bin/baloo_file from kdeinit Warning: connect() failed: : Datei oder Verzeichnis nicht gefunden KCrash: Attempting to start /usr/bin/baloo_file directly KCrash: Application 'baloo_file' crashing... .... And I also had 40 or so messages about files and directories which were migrated from a Windows harddisk and _had_ non-UTF8 characters in it. These problems with the filename have been solved by renaming or deleting these files and directories. I also found baloo errors (in ~/.xsession-error ) for directories with 400 or even 000 access mode. Please check this, too. However, such filename problems should never cause baloo to threw errors in the error log. Created attachment 95067 [details]
New crash information added by DrKonqi
baloo_file (5.14.0) using Qt 5.5.0
- What I was doing when the application crashed:
Launched zypper ref.
Launched mvn package (Maven build) in my home directory
-- Backtrace (Reduced):
#7 0x00007f0513e87ac5 in memcpy (__len=140730883423920, __src=0x7f05135de5f0 <QByteArray::QByteArray(char const*, int)+80>, __dest=<optimized out>) at /usr/include/bits/string3.h:53
#8 Baloo::IdTreeDB::get (this=this@entry=0x7ffe7650beb0, docId=docId@entry=0) at /usr/src/debug/baloo-5.14.0/src/engine/idtreedb.cpp:93
#9 0x00007f0513e84718 in Baloo::DocumentUrlDB::getId (this=this@entry=0x7ffe7650bf20, docId=0, fileName=...) at /usr/src/debug/baloo-5.14.0/src/engine/documenturldb.cpp:185
#10 0x00007f0513e97091 in Baloo::Transaction::documentId (this=<optimized out>, path=...) at /usr/src/debug/baloo-5.14.0/src/engine/transaction.cpp:122
#11 0x00000000004278b0 in Baloo::MetadataMover::removeMetadata(Baloo::Transaction*, QString const&) ()
Created attachment 95305 [details]
backtrace with all debugsymbols
Attaching backtrace with all symbols expanded, altho most relevant stuff was already in the first one :)
Still present with 5.15: https://bugzilla.suse.com/show_bug.cgi?id=952835 Still present with 5.16: Backtrace del mio errore: 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 0x7fcff4eb4780 (LWP 1908))] Thread 2 (Thread 0x7fcea9eea700 (LWP 2686)): #0 0x00007fcff2a06c1d in poll () at /lib64/libc.so.6 #1 0x00007fcfef446e64 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007fcfef446f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007fcff362fa5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007fcff35d6a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x0000000000422845 in Baloo::FileContentIndexer::run() (this=0xae1510) at /usr/src/debug/baloo-5.16.0/src/file/filecontentindexer.cpp:71 #6 0x00007fcff33fb5b2 in () at /usr/lib64/libQt5Core.so.5 #7 0x00007fcff33fe55f in () at /usr/lib64/libQt5Core.so.5 #8 0x00007fcff1a420a4 in start_thread () at /lib64/libpthread.so.0 #9 0x00007fcff2a0f04d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7fcff4eb4780 (LWP 1908)): [KCrash Handler] #6 0x00007fcff073225c in mdb_get () at /usr/lib64/liblmdb-0.9.14.so #7 0x00007fcff3cc792d in Baloo::IdTreeDB::get(unsigned long long) () at /usr/lib64/libKF5BalooEngine.so.5 #8 0x00007fcff3cc4ca0 in Baloo::DocumentUrlDB::getId(unsigned long long, QByteArray const&) const () at /usr/lib64/libKF5BalooEngine.so.5 #9 0x00007fcff3cd63e9 in Baloo::Transaction::documentId(QByteArray const&) const () at /usr/lib64/libKF5BalooEngine.so.5 #10 0x000000000042a923 in Baloo::MetadataMover::removeMetadata(Baloo::Transaction*, QString const&) (this=this@entry=0xae10f0, tr=tr@entry=0x7ffcdd719790, url=...) at /usr/src/debug/baloo-5.16.0/src/file/metadatamover.cpp:74 #11 0x000000000042a9dd in Baloo::MetadataMover::removeFileMetadata(QString const&) (this=0xae10f0, file=...) at /usr/src/debug/baloo-5.16.0/src/file/metadatamover.cpp:66 #12 0x00007fcff360840f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5 #13 0x0000000000434405 in Baloo::PendingFileQueue::removeFileIndex(QString const&) (this=this@entry=0xadca80, _t1=...) at /usr/src/debug/baloo-5.16.0/build/src/file/moc_pendingfilequeue.cpp:217 #14 0x0000000000428bc6 in Baloo::PendingFileQueue::processCache() (this=0xadca80) at /usr/src/debug/baloo-5.16.0/src/file/pendingfilequeue.cpp:89 #15 0x00007fcff360840f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5 #16 0x00007fcff3615bf2 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib64/libQt5Core.so.5 #17 0x00007fcff360958c in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5 #18 0x00007fcff35d8e9d in QCoreApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #19 0x00007fcff35d8ba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #20 0x00007fcff362f44d in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5 #21 0x00007fcff362f7a9 in () at /usr/lib64/libQt5Core.so.5 #22 0x00007fcfef446c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #23 0x00007fcfef446ed8 in () at /usr/lib64/libglib-2.0.so.0 #24 0x00007fcfef446f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #25 0x00007fcff362fa3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #26 0x00007fcff35d6a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #27 0x00007fcff35de5d6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5 #28 0x0000000000417d92 in main(int, char**) (argc=1, argv=<optimized out>) at /usr/src/debug/baloo-5.16.0/src/file/main.cpp:88 *** Bug 355210 has been marked as a duplicate of this bug. *** PS about the previous log: i had the crash on OpenSuse Leap after the boot/login. (In reply to René Krell from comment #5) > Created attachment 95067 [details] > New crash information added by DrKonqi > > baloo_file (5.14.0) using Qt 5.5.0 > > - What I was doing when the application crashed: > Launched zypper ref. > Launched mvn package (Maven build) in my home directory > > -- Backtrace (Reduced): > #7 0x00007f0513e87ac5 in memcpy (__len=140730883423920, > __src=0x7f05135de5f0 <QByteArray::QByteArray(char const*, int)+80>, > __dest=<optimized out>) at /usr/include/bits/string3.h:53 > #8 Baloo::IdTreeDB::get (this=this@entry=0x7ffe7650beb0, > docId=docId@entry=0) at > /usr/src/debug/baloo-5.14.0/src/engine/idtreedb.cpp:93 > #9 0x00007f0513e84718 in Baloo::DocumentUrlDB::getId > (this=this@entry=0x7ffe7650bf20, docId=0, fileName=...) at > /usr/src/debug/baloo-5.14.0/src/engine/documenturldb.cpp:185 > #10 0x00007f0513e97091 in Baloo::Transaction::documentId (this=<optimized > out>, path=...) at /usr/src/debug/baloo-5.14.0/src/engine/transaction.cpp:122 > #11 0x00000000004278b0 in > Baloo::MetadataMover::removeMetadata(Baloo::Transaction*, QString const&) () This is obviously an infinite loop caused by a docId=0. A memcpy over 128 TByte is not a good idea ... Possibly same bug as https://bugs.kde.org/show_bug.cgi?id=364574 *** Bug 368379 has been marked as a duplicate of this bug. *** *** Bug 355927 has been marked as a duplicate of this bug. *** *** Bug 355881 has been marked as a duplicate of this bug. *** *** Bug 356913 has been marked as a duplicate of this bug. *** *** Bug 357919 has been marked as a duplicate of this bug. *** *** Bug 357941 has been marked as a duplicate of this bug. *** *** Bug 358258 has been marked as a duplicate of this bug. *** *** Bug 358585 has been marked as a duplicate of this bug. *** *** Bug 363417 has been marked as a duplicate of this bug. *** *** Bug 363757 has been marked as a duplicate of this bug. *** *** Bug 364579 has been marked as a duplicate of this bug. *** *** Bug 366547 has been marked as a duplicate of this bug. *** *** Bug 366755 has been marked as a duplicate of this bug. *** *** Bug 361422 has been marked as a duplicate of this bug. *** *** Bug 361463 has been marked as a duplicate of this bug. *** *** Bug 361707 has been marked as a duplicate of this bug. *** *** Bug 362205 has been marked as a duplicate of this bug. *** *** Bug 362660 has been marked as a duplicate of this bug. *** *** Bug 363012 has been marked as a duplicate of this bug. *** *** Bug 360187 has been marked as a duplicate of this bug. *** *** Bug 360283 has been marked as a duplicate of this bug. *** *** Bug 360513 has been marked as a duplicate of this bug. *** *** Bug 360623 has been marked as a duplicate of this bug. *** *** Bug 360801 has been marked as a duplicate of this bug. *** *** Bug 360857 has been marked as a duplicate of this bug. *** *** Bug 359276 has been marked as a duplicate of this bug. *** *** Bug 359292 has been marked as a duplicate of this bug. *** *** Bug 359325 has been marked as a duplicate of this bug. *** *** Bug 359789 has been marked as a duplicate of this bug. *** *** Bug 359847 has been marked as a duplicate of this bug. *** *** Bug 359999 has been marked as a duplicate of this bug. *** *** Bug 358962 has been marked as a duplicate of this bug. *** *** Bug 359231 has been marked as a duplicate of this bug. *** *** Bug 359239 has been marked as a duplicate of this bug. *** *** Bug 359730 has been marked as a duplicate of this bug. *** *** Bug 368994 has been marked as a duplicate of this bug. *** *** Bug 370905 has been marked as a duplicate of this bug. *** *** Bug 371944 has been marked as a duplicate of this bug. *** *** Bug 372328 has been marked as a duplicate of this bug. *** *** Bug 374721 has been marked as a duplicate of this bug. *** *** Bug 376797 has been marked as a duplicate of this bug. *** *** Bug 378054 has been marked as a duplicate of this bug. *** *** Bug 379685 has been marked as a duplicate of this bug. *** *** Bug 379928 has been marked as a duplicate of this bug. *** *** Bug 379985 has been marked as a duplicate of this bug. *** *** Bug 382235 has been marked as a duplicate of this bug. *** All duplicates from KF5 version 5.26.0 or older. Assuming it is fixed in recent releases. *** Bug 385866 has been marked as a duplicate of this bug. *** *** Bug 397976 has been marked as a duplicate of this bug. *** *** Bug 395190 has been marked as a duplicate of this bug. *** *** Bug 391055 has been marked as a duplicate of this bug. *** *** Bug 388200 has been marked as a duplicate of this bug. *** *** Bug 371878 has been marked as a duplicate of this bug. *** *** Bug 383625 has been marked as a duplicate of this bug. *** *** Bug 387035 has been marked as a duplicate of this bug. *** *** Bug 373626 has been marked as a duplicate of this bug. *** |