[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Akonadi] [Bug 363741] akonadi server 16.08.1: crashing every few seconds
From:       Olly Betts via KDE Bugzilla <bugzilla_noreply () kde ! org>
Date:       2016-10-12 22:28:13
Message-ID: bug-363741-17878-He9bb22q8Z () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=363741

Olly Betts <ojwbetts+kde@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ojwbetts+kde@gmail.com

--- Comment #32 from Olly Betts <ojwbetts+kde@gmail.com> ---
> There was an undocumented behaviour change in Xapian 1.4

Otherwise known as a "bug"!  In this case the behaviour change is the bug, but
even if it was deliberate not documenting it would still be a bug.

It would be helpful to forwards reports of such things to the Xapian developers
so we can actually address them.  In this case I happened to stumble across
your report via the Debian BTS when checking for any fallout from the
transition to xapian 1.4 that Debian has just completed - clearly that's not a
reliable or timely way to find out about an issue.  If this had been forwarded
when first reported, we could have fixed it before 1.4.0.

The fix applied in 1e70d63a9439f48b5f1a70accac531a10f4e4239 leaks the
AgePostingSource object - with 1.4.0 your best option is to hand over ownership
like so:

    return Xapian::Query(Xapian::Query::OP_AND_MAYBE, query, Xapian::Query((new
AgePostingSource(0))->release()));

Hopefully there's still a way we can fix this without breaking compatibility
with 1.4.0.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic