[Akonadi] [Bug 401865] random Xapian::DatabaseModifiedError thrown in kmail

2020-08-13 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=401865

Ahmad Samir  changed:

   What|Removed |Added

 CC||a.samir...@gmail.com

--- Comment #8 from Ahmad Samir  ---
Better backtrace, from bug 425053:
[KCrash Handler]
#4  0x7f72d6ff3355 in raise () at /usr/lib/libc.so.6
#5  0x7f72d6fdc853 in abort () at /usr/lib/libc.so.6
#6  0x7f72d723086a in __gnu_cxx::__verbose_terminate_handler() () at
/build/gcc/src/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#7  0x7f72d723cd8a in __cxxabiv1::__terminate(void (*)())
(handler=) at
/build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#8  0x7f72d723cdf7 in std::terminate() () at
/build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#9  0x7f72d723d09e in __cxxabiv1::__cxa_throw(void*, std::type_info*, void
(*)(void*)) (obj=obj@entry=0x55c12227e6c0, tinfo=0x7f72d8cb6770 , tinfo@entry=0x7f72d8c40850 , dest=dest@entry=0x7f72d8adc430
) at
/build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:95
#10 0x7f72d8a70f80 in GlassTable::set_overwritten() const
(this=this@entry=0x55c12240e020) at
/usr/include/c++/10.1.0/ext/new_allocator.h:89
#11 0x7f72d8a712be in GlassTable::block_to_cursor(Glass::Cursor*, int,
unsigned int) const (this=0x55c12240e020, C_=0x55c12240e0e8, j=,
n=12414) at backends/glass/glass_table.cc:335
#12 0x7f72d8b34c75 in GlassTable::find(Glass::Cursor*) const
(this=this@entry=0x55c12240e020, C_=C_@entry=0x55c12240e0e8) at
./common/wordaccess.h:57
#13 0x7f72d8b35321 in
GlassTable::get_exact_entry(std::__cxx11::basic_string, std::allocator > const&,
std::__cxx11::basic_string, std::allocator
>&) const (this=this@entry=0x55c12240e020, key="C32", tag="") at
backends/glass/glass_table.cc:1482
#14 0x7f72d8b256e8 in
GlassPostListTable::get_freqs(std::__cxx11::basic_string, std::allocator > const&, unsigned int*, unsigned
int*, unsigned int*) const (this=0x55c12240e020, term=...,
termfreq_ptr=0x7ffd27212f08, collfreq_ptr=0x7ffd27212f0c, wdfub_ptr=0x0) at
backends/glass/glass_postlist.cc:159
#15 0x7f72d8bc17d1 in
Xapian::Weight::Internal::accumulate_stats(Xapian::Database::Internal const&,
Xapian::RSet const&) (this=0x55c122407450, subdb=..., rset=...) at
weight/weightinternal.cc:91
#16 0x7f72d8b804d8 in LocalSubMatch::prepare_match(bool,
Xapian::Weight::Internal&) (this=, nowait=,
total_stats=...) at matcher/localsubmatch.cc:172
#17 0x7f72d8b88851 in prepare_sub_matches (stats=..., leaves=std::vector of
length 1, capacity 1 = {...}) at matcher/multimatch.cc:237
#18 MultiMatch::MultiMatch(Xapian::Database const&, Xapian::Query const&,
unsigned int, Xapian::RSet const*, unsigned int, unsigned int, int, double,
Xapian::Enquire::docid_order, unsigned int,
Xapian::Enquire::Internal::sort_setting, bool, double,
Xapian::Weight::Internal&, Xapian::Weight const*,
std::vector,
std::allocator > >
const&, bool, bool) (this=0x7ffd27213180, db_=..., query_=..., qlen=, omrset=0x0, collapse_max_=, collapse_key_=4294967295,
percent_cutoff_=0, weight_cutoff_=,
order_=Xapian::Enquire::ASCENDING, sort_key_=4294967295,
sort_by_=Xapian::Enquire::Internal::REL, sort_value_forward_=true,
time_limit_=, stats=..., weight_=0x55c122412150,
matchspies_=std::vector of length 0, capacity 0, have_sorter=false,
have_mdecider=false) at matcher/multimatch.cc:353
#19 0x7f72d8a97d66 in Xapian::Enquire::Internal::get_mset(unsigned int,
unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*)
const (this=0x7f72c0008790, first=0, maxitems=44788, check_at_least=, rset=0x0, mdecider=0x0) at ./include/xapian/intrusive_ptr.h:352
#20 0x7f72d8a98016 in Xapian::Enquire::get_mset(unsigned int, unsigned int,
unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const
(this=this@entry=0x7ffd27213350, first=first@entry=0,
maxitems=maxitems@entry=4294967295, check_at_least=check_at_least@entry=0,
rset=rset@entry=0x0, mdecider=0x0) at ./include/xapian/intrusive_ptr.h:165
#21 0x7f72d8c965fd in
Akonadi::Search::PIM::IndexedItemsPrivate::findIndexedInDatabase(QSet&, long long, QString const&) (this=, indexed=...,
collectionId=, dbPath=...) at
/usr/src/debug/akonadi-search-20.04.3/lib/indexeditems.cpp:163
#22 0x7f72d8c969d1 in
Akonadi::Search::PIM::IndexedItemsPrivate::findIndexed(QSet&, long
long) (this=0x55c12228d3e0, indexed=..., collectionId=32) at
/usr/src/debug/akonadi-search-20.04.3/lib/indexeditems.cpp:100
#23 0x55c12113c80c in CollectionIndexingJob::findUnindexed()
(this=0x55c12228de10) at
/usr/src/debug/akonadi-search-20.04.3/agent/collectionindexingjob.cpp:183
#24 0x7f72d7663906 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffd27213620, r=0x55c12228de10, this=0x55c12228ec50) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate(QObject*, int, void**) (sender=0x55c12228ec20,
signal_index=3, argv=argv@entry=0x

[Akonadi] [Bug 401865] random Xapian::DatabaseModifiedError thrown in kmail

2020-08-13 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=401865

Ahmad Samir  changed:

   What|Removed |Added

 CC||deli...@gmail.com

--- Comment #7 from Ahmad Samir  ---
*** Bug 425053 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 401865] random Xapian::DatabaseModifiedError thrown in kmail

2020-08-13 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=401865

Ahmad Samir  changed:

   What|Removed |Added

 CC||cn...@gmx.de

--- Comment #6 from Ahmad Samir  ---
*** Bug 422962 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 401865] random Xapian::DatabaseModifiedError thrown in kmail

2020-08-13 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=401865

Ahmad Samir  changed:

   What|Removed |Added

 CC||fabian.kis...@gmx.de

--- Comment #5 from Ahmad Samir  ---
*** Bug 406822 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 401865] random Xapian::DatabaseModifiedError thrown in kmail

2019-03-09 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=401865

Christoph Feck  changed:

   What|Removed |Added

 CC||webmas...@balam-web.fr

--- Comment #4 from Christoph Feck  ---
*** Bug 404194 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 401865] random Xapian::DatabaseModifiedError thrown in kmail

2019-01-21 Thread Victor Mataré
https://bugs.kde.org/show_bug.cgi?id=401865

--- Comment #3 from Victor Mataré  ---
See also the location where the exception is thrown from Xapian:

https://git.xapian.org/?p=xapian;a=blob;f=xapian-core/backends/glass/glass_table.cc;h=c733e9b8b16480adf2f4296b0f659f13719945a1;hb=e31683f3500dd8c6f2a0450c07c661e4eb1d309c

Seems the what() message isn't reported by drkonqi, so here it is for
completeness sake:

The revision being read has been discarded - you should call
Xapian::Database::reopen() and retry the operation

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 401865] random Xapian::DatabaseModifiedError thrown in kmail

2019-01-21 Thread Victor Mataré
https://bugs.kde.org/show_bug.cgi?id=401865

Victor Mataré  changed:

   What|Removed |Added

URL||https://getting-started-wit
   ||h-xapian.readthedocs.io/en/
   ||latest/practical_example/se
   ||arching/database_modified.h
   ||tml

--- Comment #2 from Victor Mataré  ---
The Xapian documentation on DatabaseModifiedError:

https://getting-started-with-xapian.readthedocs.io/en/latest/practical_example/searching/database_modified.html

So that makes it sound like a pretty straightforward fix...?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 401865] random Xapian::DatabaseModifiedError thrown in kmail

2019-01-21 Thread Victor Mataré
https://bugs.kde.org/show_bug.cgi?id=401865

Victor Mataré  changed:

   What|Removed |Added

   Platform|Compiled Sources|Gentoo Packages

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 401865] random Xapian::DatabaseModifiedError thrown in kmail

2019-01-21 Thread Victor Mataré
https://bugs.kde.org/show_bug.cgi?id=401865

Victor Mataré  changed:

   What|Removed |Added

  Component|general |general
Product|kmail2  |Akonadi

-- 
You are receiving this mail because:
You are the assignee for the bug.