Bug 344421 - baloo crash - BasicIndexingQueue::index - Xapian::Database::get_document
Summary: baloo crash - BasicIndexingQueue::index - Xapian::Database::get_document
Status: RESOLVED FIXED
Alias: None
Product: Baloo
Classification: Unmaintained
Component: Baloo File Daemon (show other bugs)
Version: 5.6.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-02-21 12:01 UTC by ondrej
Modified: 2015-03-09 13:53 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 ondrej 2015-02-21 12:01:47 UTC
Application: baloo_file (5.5.95)

Qt Version: 5.4.0
Operating System: Linux 3.18.0-13-generic i686
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
baloo-file spadne vždy pár sekund, jakmile se přihlásím do KDE.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7  0xb740c01e in Xapian::Database::get_document (this=0x0, did=98671) at ../api/omdatabase.cc:436
#8  0xb75e1934 in Baloo::XapianDatabase::document (this=0x81f5de0, id=98671) at ../../../src/xapian/xapiandatabase.cpp:170
#9  0x08064201 in Baloo::BasicIndexingQueue::index (this=0x833cda8, file=..., mimetype=..., flags=...) at ../../../src/file/basicindexingqueue.cpp:189
#10 0x08064aef in Baloo::BasicIndexingQueue::process (this=0x833cda8, file=..., flags=...) at ../../../src/file/basicindexingqueue.cpp:103
#11 0x08064f3b in Baloo::BasicIndexingQueue::processNextIteration (this=0x833cda8) at ../../../src/file/basicindexingqueue.cpp:79
#12 0x08063149 in Baloo::IndexingQueue::processNext (this=0x833cda8) at ../../../src/file/indexingqueue.cpp:47
#13 0x080874bc in Baloo::IndexingQueue::qt_static_metacall (_o=0x833cda8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x84369d8) at moc_indexingqueue.cpp:98
#14 0xb5f0a1c0 in QMetaCallEvent::placeMetaCall (this=0x842b718, object=0x833cda8) at kernel/qobject.cpp:485
#15 0xb5f0d933 in QObject::event (this=0x833cda8, e=0x842b718) at kernel/qobject.cpp:1245
#16 0xb67dc39a in QApplicationPrivate::notify_helper (this=0x81b8600, receiver=0x833cda8, e=0x842b718) at kernel/qapplication.cpp:3722
#17 0xb67e1bc1 in QApplication::notify (this=0xbff3c744, receiver=0x833cda8, e=0x842b718) at kernel/qapplication.cpp:3505
#18 0xb5ed97ba in QCoreApplication::notifyInternal (this=0xbff3c744, receiver=0x833cda8, event=0x842b718) at kernel/qcoreapplication.cpp:932
#19 0xb5edbaac in sendEvent (event=0x842b718, receiver=0x833cda8) at kernel/qcoreapplication.h:228
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x81b6cb0) at kernel/qcoreapplication.cpp:1536
#21 0xb5edc1c7 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1394
#22 0xb5f35203 in postEventSourceDispatch (s=0x81da1f0) at kernel/qeventdispatcher_glib.cpp:271
#23 0xb4aedcf4 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb4aee019 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb4aee0e6 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb5f35614 in QEventDispatcherGlib::processEvents (this=0x81e0378, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0xb24c2441 in QPAEventDispatcherGlib::processEvents (this=0x81e0378, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:115
#28 0xb5ed69c3 in QEventLoop::processEvents (this=0xbff3c668, flags=...) at kernel/qeventloop.cpp:128
#29 0xb5ed6e2a in QEventLoop::exec (this=0xbff3c668, flags=...) at kernel/qeventloop.cpp:204
#30 0xb5edef45 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185
#31 0xb6214931 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1535
#32 0xb67d7a64 in QApplication::exec () at kernel/qapplication.cpp:2956
#33 0x0805b914 in main (argc=1, argv=0xbff3c8e4) at ../../../src/file/main.cpp:101

Reported using DrKonqi
Comment 1 Vishesh Handa 2015-03-09 13:53:11 UTC
Fixed with 5.2

Now we have bug 341990. Both these bugs seem to be caused by a corrupted database :( We're working on a proper solution.