Bug 332304 - KMail terminates after an exception thrown by Xapian
Summary: KMail terminates after an exception thrown by Xapian
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Indexer (show other bugs)
Version: 4.13
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-19 07:49 UTC by Martin Flöser
Modified: 2015-03-17 12:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Flöser 2014-03-19 07:49:39 UTC
KMail crashes whenever I try to search anything either in the search bar or in the email composer.

Reproducible: Always

Steps to Reproduce:
1. Start KMail
2. Try to search
Actual Results:  
Crash

Expected Results:  
search results

Terminal output from running KMail:

Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'Xapian::DatabaseOpeningError'
*** KMail got signal 6 (Exiting)
*** Dead letters dumped.

Backtrace is useless (rethrown exception) and I didn't succeed yet in catching the exception with gdb.

Currently used git snapshots:
* kdepimlibs: a830b6c36510a3df55326c211c8b0813af4d2863
* kdepim: 16b142f5265851a4c22ced7427122933bce07134
* kdepim-runtime: c370d5e054e718b393f095393dc1d9ca545c2a73
Comment 1 Martin Flöser 2014-03-19 07:50:46 UTC
Obviously: I can apply patches and are very happy to try them or do anything to help investigate this problem.
Comment 2 Laurent Montel 2014-03-19 16:26:51 UTC
It's
Comment 3 Laurent Montel 2014-03-19 16:27:25 UTC
it's a bug in baloo. Vishesh works on.
Comment 4 Laurent Montel 2014-03-19 18:14:09 UTC
I have the same problem in knotes too
Comment 5 Vishesh Handa 2014-03-20 09:32:07 UTC
I think I have fixed the problem yesterday. Please re-open if it still happens.

I'm working on a mini Qt wrapper on top of xapian which is exception safe, so these kind of issues should become less prevalent.
Comment 6 Martin Flöser 2014-03-20 09:41:53 UTC
> I think I have fixed the problem yesterday. Please re-open if it still
> happens.

what does one need to re-compile?
Comment 7 Vishesh Handa 2014-03-20 09:56:15 UTC
Baloo