Bug 376797 - Baloo crashes on file copying
Summary: Baloo crashes on file copying
Status: RESOLVED DUPLICATE of bug 352984
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.26.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-02-22 12:47 UTC by Petr Hamal
Modified: 2017-03-24 22:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hamal 2017-02-22 12:47:03 UTC
Application: baloo_file (5.26.0)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.46-11-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:
In Dolphin ctrl-c text file, then ctrl-v on the same place to create a duplicated file, renamed duplicated file, baloo crashed.

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 0x7fc1715dc880 (LWP 2050))]

Thread 2 (Thread 0x7fc166272700 (LWP 2065)):
#0  0x00007fc16f11851d in read () at /lib64/libc.so.6
#1  0x00007fc16bb66670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fc16bb25e49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fc16bb262a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007fc16bb2642c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007fc16fd2032b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fc16fccdfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fc16fb08f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007fc170ed11d5 in  () at /usr/lib64/libQt5DBus.so.5
#9  0x00007fc16fb0d9e9 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007fc16e156734 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fc16f124d3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fc1715dc880 (LWP 2050)):
[KCrash Handler]
#6  0x00007fc16f0cc3c9 in __memcpy_sse2_unaligned () at /lib64/libc.so.6
#7  0x00007fc1703c18b7 in Baloo::IdTreeDB::get(unsigned long long) () at /usr/lib64/libKF5BalooEngine.so.5
#8  0x00007fc1703bf350 in Baloo::DocumentUrlDB::getId(unsigned long long, QByteArray const&) const () at /usr/lib64/libKF5BalooEngine.so.5
#9  0x00007fc1703d0721 in Baloo::Transaction::documentId(QByteArray const&) const () at /usr/lib64/libKF5BalooEngine.so.5
#10 0x000000000041e5b3 in Baloo::MetadataMover::removeMetadata(Baloo::Transaction*, QString const&) (this=this@entry=0xccd730, tr=tr@entry=0x7ffe4e563000, url=...) at /usr/src/debug/baloo-5.26.0/src/file/metadatamover.cpp:74
#11 0x000000000041eef2 in Baloo::MetadataMover::moveFileMetadata(QString const&, QString const&) (this=0xccd730, from=..., to=...) at /usr/src/debug/baloo-5.26.0/src/file/metadatamover.cpp:53
#12 0x00007fc16fcfa1c3 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#13 0x000000000041f7ea in KInotify::moved(QString const&, QString const&) (this=this@entry=0xcfa9d0, _t1=..., _t2=...) at /usr/src/debug/baloo-5.26.0/build/src/file/moc_kinotify.cpp:342
#14 0x0000000000421dd1 in KInotify::slotEvent(int) (this=0xcfa9d0, socket=<optimized out>) at /usr/src/debug/baloo-5.26.0/src/file/kinotify.cpp:421
#15 0x00007fc16fcfa1c3 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#16 0x00007fc16fd7307e in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#17 0x00007fc16fd06cd9 in QSocketNotifier::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#18 0x00007fc16fcd008c in QCoreApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007fc16fccffc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007fc16fd210de in  () at /usr/lib64/libQt5Core.so.5
#21 0x00007fc16bb26134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#22 0x00007fc16bb26388 in  () at /usr/lib64/libglib-2.0.so.0
#23 0x00007fc16bb2642c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#24 0x00007fc16fd2030c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#25 0x00007fc16fccdfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#26 0x00007fc16fcd5ec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#27 0x000000000040b600 in main(int, char**) (argc=1, argv=<optimized out>) at /usr/src/debug/baloo-5.26.0/src/file/main.cpp:104

Possible duplicates by query: bug 366755, bug 363012, bug 360187, bug 359999, bug 359789.

Reported using DrKonqi
Comment 1 Petr Hamal 2017-02-22 12:52:38 UTC
It crashes also when the file is copying into another directory:
In dophin click on txt file -> ctrl-c -> in Dolphin go to other (or new) directory -> ctrl-v -> baloo crashes.
Comment 2 Christoph Feck 2017-03-24 22:26:32 UTC

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