Bug 346229 - Baloo crash - Baloo::XapianDocument::removeTermStartsWith
Summary: Baloo crash - Baloo::XapianDocument::removeTermStartsWith
Status: RESOLVED FIXED
Alias: None
Product: Baloo
Classification: Unmaintained
Component: Baloo File Daemon (show other bugs)
Version: 5.6.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-04-15 18:36 UTC by Marcelo Escobal
Modified: 2015-05-11 11:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Escobal 2015-04-15 18:36:16 UTC
Application: baloo_file (5.6.2)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-13-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
After loading the desktop, running only firefox, checking mail.

-- Backtrace:
Application: Baloo File (baloo_file), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f680914e800 (LWP 1733))]

Thread 4 (Thread 0x7f67f351a700 (LWP 1738)):
#0  0x00007f68059fb8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f68048e3b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f68048e564f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f67f58a2099 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007f6806292b0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f68056e96aa in start_thread (arg=0x7f67f351a700) at pthread_create.c:333
#6  0x00007f6805a06eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f67e8b8f700 (LWP 1785)):
#0  0x00007f68059f749d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f67fcab6f45 in ?? () from /usr/lib/nvidia-340/tls/libnvidia-tls.so.340.76
#2  0x00007f68004182f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68003d496c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f68003d4e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f68003d5242 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f67f11cbae6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007f68003fb955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f68056e96aa in start_thread (arg=0x7f67e8b8f700) at pthread_create.c:333
#9  0x00007f6805a06eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f67e3fff700 (LWP 1786)):
#0  0x00007f68059fb8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f68003d4ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f68003d4fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f68003d5009 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f68003fb955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f68056e96aa in start_thread (arg=0x7f67e3fff700) at pthread_create.c:333
#6  0x00007f6805a06eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f680914e800 (LWP 1733)):
[KCrash Handler]
#6  0x00007f6805935267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f6805936eca in __GI_abort () at abort.c:89
#8  0x00007f6805f4106d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f6805f3eee6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f6805f3ef31 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f6805f3f149 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f6808127b4c in ChertTable::set_overwritten() const () from /usr/lib/libxapian.so.22
#13 0x00007f680812abc0 in ChertTable::block_to_cursor(Cursor*, int, unsigned int) const () from /usr/lib/libxapian.so.22
#14 0x00007f680812d183 in ChertTable::next_default(Cursor*, int) const () from /usr/lib/libxapian.so.22
#15 0x00007f680812d0fb in ChertTable::next_default(Cursor*, int) const () from /usr/lib/libxapian.so.22
#16 0x00007f680812d0fb in ChertTable::next_default(Cursor*, int) const () from /usr/lib/libxapian.so.22
#17 0x00007f680812da55 in ChertTable::read_tag(Cursor*, std::string*, bool) const () from /usr/lib/libxapian.so.22
#18 0x00007f680812e1b4 in ChertTable::get_exact_entry(std::string const&, std::string&) const () from /usr/lib/libxapian.so.22
#19 0x00007f680812e7b0 in ?? () from /usr/lib/libxapian.so.22
#20 0x00007f680810723b in ?? () from /usr/lib/libxapian.so.22
#21 0x00007f6808084a9c in Xapian::Document::termlist_begin() const () from /usr/lib/libxapian.so.22
#22 0x00007f680844cd6b in Baloo::XapianDocument::removeTermStartsWith(QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooXapian.so.1
#23 0x000000000041e8cf in Baloo::BasicIndexingQueue::index(Baloo::FileMapping&, QString const&, QFlags<Baloo::UpdateDirFlag>) ()
#24 0x000000000041f3fd in Baloo::BasicIndexingQueue::process(Baloo::FileMapping&, QFlags<Baloo::UpdateDirFlag>) ()
#25 0x000000000041f65c in Baloo::BasicIndexingQueue::processNextIteration() ()
#26 0x00007f680650273a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f6806ddab2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f6806de0000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f68064d0c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f68064d2c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f6806529843 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f68003d4c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f68003d4f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f68003d4fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f6806529c57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007f68064ce3e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f68064d602c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x0000000000417477 in main ()

Reported using DrKonqi
Comment 1 Vishesh Handa 2015-05-11 11:06:57 UTC
Fixed with Plasma 5.4