Bug 348027

Summary: Ballo crash on delete tag from last folder
Product: [Unmaintained] Baloo Reporter: der_fenix <derfenix>
Component: Baloo File DaemonAssignee: Vishesh Handa <me>
Status: RESOLVED FIXED    
Severity: crash CC: fastsnip-bcard
Priority: NOR Keywords: drkonqi
Version: 5.9.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description der_fenix 2015-05-20 19:23:47 UTC
Application: baloo_file (5.9.0)

Qt Version: 5.4.1
Operating System: Linux 4.0.4-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

Delete tag from last folder having it (from Dolphin's interface)

The crash can be reproduced sometimes.

-- Backtrace:
Application: Baloo File (baloo_file), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe8e3502800 (LWP 19408))]

Thread 2 (Thread 0x7fe8cd327700 (LWP 19417)):
#0  0x00007fe8df13be8d in poll () from /usr/lib/libc.so.6
#1  0x00007fe8dea2f9f2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fe8dea3156f in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fe8ce618619 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#4  0x00007fe8dfa3818e in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fe8d98fc354 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fe8df144bfd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fe8e3502800 (LWP 19408)):
[KCrash Handler]
#5  0x00007fe8df090528 in raise () from /usr/lib/libc.so.6
#6  0x00007fe8df09193a in abort () from /usr/lib/libc.so.6
#7  0x00007fe8df6a4b3d in __gnu_cxx::__verbose_terminate_handler () at /build/gcc/src/gcc-5-20150505/libstdc++-v3/libsupc++/vterminate.cc:95
#8  0x00007fe8df6a2996 in __cxxabiv1::__terminate (handler=<optimized out>) at /build/gcc/src/gcc-5-20150505/libstdc++-v3/libsupc++/eh_terminate.cc:47
#9  0x00007fe8df6a29e1 in std::terminate () at /build/gcc/src/gcc-5-20150505/libstdc++-v3/libsupc++/eh_terminate.cc:57
#10 0x00007fe8df6a2bf8 in __cxxabiv1::__cxa_throw (obj=0x15fd360, tinfo=0x652c90 <typeinfo for Xapian::DatabaseModifiedError>, dest=0x7fe8e27a1850 <Xapian::DatabaseModifiedError::~DatabaseModifiedError()>) at /build/gcc/src/gcc-5-20150505/libstdc++-v3/libsupc++/eh_throw.cc:87
#11 0x00007fe8e27ff1bc in ChertTable::set_overwritten() const () from /usr/lib/libxapian.so.22
#12 0x00007fe8e2802168 in ChertTable::block_to_cursor(Cursor*, int, unsigned int) const () from /usr/lib/libxapian.so.22
#13 0x00007fe8e28023bf in ChertTable::find(Cursor*) const () from /usr/lib/libxapian.so.22
#14 0x00007fe8e280568f in ChertTable::get_exact_entry(std::string const&, std::string&) const () from /usr/lib/libxapian.so.22
#15 0x00007fe8e2805cc0 in ?? () from /usr/lib/libxapian.so.22
#16 0x00007fe8e27de70b in ?? () from /usr/lib/libxapian.so.22
#17 0x00007fe8e275b45c in Xapian::Document::termlist_begin() const () from /usr/lib/libxapian.so.22
#18 0x00007fe8e2b2418b in Baloo::XapianDocument::removeTermStartsWith(QByteArray const&) () from /usr/lib/libKF5BalooXapian.so.1
#19 0x000000000041fd7f in Baloo::BasicIndexingQueue::index(Baloo::FileMapping&, QString const&, QFlags<Baloo::UpdateDirFlag>) ()
#20 0x0000000000420743 in Baloo::BasicIndexingQueue::process(Baloo::FileMapping&, QFlags<Baloo::UpdateDirFlag>) ()
#21 0x0000000000420b7c in Baloo::BasicIndexingQueue::processNextIteration() ()
#22 0x00007fe8dfc54d5a in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#23 0x00007fe8e08fe3dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007fe8e0903820 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007fe8dfc239eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#26 0x00007fe8dfc25a2b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#27 0x00007fe8dfc7b9f3 in ?? () from /usr/lib/libQt5Core.so.5
#28 0x00007fe8d8f8f9fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007fe8d8f8fce0 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007fe8d8f8fd8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007fe8dfc7bde7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007fe8dfc21482 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#33 0x00007fe8dfc28e5c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#34 0x0000000000417447 in main ()

Reported using DrKonqi
Comment 1 Vishesh Handa 2015-05-25 09:34:23 UTC
Fixed in master.
Comment 2 Christoph Feck 2015-06-16 17:46:55 UTC
*** Bug 349113 has been marked as a duplicate of this bug. ***