Backport important bugfix to Bionic

Bug #1812122 reported by Nate Graham
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
lmdb (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Fix Released
Undecided
Unassigned

Bug Description

https://github.com/LMDB/lmdb/commit/1ffe472a080fcd3c7dab6e352848703ad7adbe14 is an upstream fix for the LMDB database that fixes the most common crash in the KDE Baloo file indexing daemon: https://bugs.kde.org/show_bug.cgi?id=389848 (currently at 42 duplicates).

We should consider backporting this commit to the version shipped in Bionic to improve reliability for our LTS users.

[Impact]

 * Repeated crash in Baloo file indexer, used in Kubuntu by default and in KDE snaps

[Test Case]

 * balooctl disable && balooctl enable
 * [no more crashes in lmdb::mdb_cursor_put()]

[Regression Potential]

 * No regression potential observed; the fix is already in the wild and has not caused any regressions on rolling release distros, or other distros like openSUSE that have already incorporated this patch

[Other Info]

 * Nothing relevant.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lmdb (Ubuntu):
status: New → Confirmed
Revision history for this message
Jonathan Riddell (jr) wrote :

Uploaded lmdb_0.9.21-1ubuntu2~bionic18.04 to bionic-proposed awaiting approval

description: updated
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

Is this already fixed in Disco and Cosmic?

Revision history for this message
Brian Murray (brian-murray) wrote :

I did the detective work myself since I'm such a nice guy. This is fixed in Disco but not in Ubuntu 18.10. It should be fixed there too.

Changed in lmdb (Ubuntu):
status: Confirmed → Fix Released
Changed in lmdb (Ubuntu Bionic):
status: New → In Progress
Changed in lmdb (Ubuntu Cosmic):
status: New → Triaged
Revision history for this message
Brian Murray (brian-murray) wrote : Proposed package upload rejected

An upload of lmdb to bionic-proposed has been rejected from the upload queue for the following reason: "This also needs fixing in Ubuntu 18.10, please upload a fix for that release too.".

Revision history for this message
Jonathan Riddell (jr) wrote :

Uploaded lmdb_0.9.21-1ubuntu2~bionic18.04_source.changes
Uploaded lmdb_0.9.22-1ubuntu1~cosmic18.10_source.changes

(I also uploaded a lmdb_0.9.22-1ubuntu1~bionic18.10_source.changes which is just a wrong version number and can be rejected)

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Nate, or anyone else affected,

Accepted lmdb into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/lmdb/0.9.22-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in lmdb (Ubuntu Cosmic):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Nate, or anyone else affected,

Accepted lmdb into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/lmdb/0.9.21-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in lmdb (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Nate Graham (pointedstick) wrote :

I tested liblmdb0/cosmic-proposed 0.9.22-1ubuntu0.1 amd64 in Kubuntu Cosmic. No crashes were observed! \o/

tags: added: verification-done-cosmic
removed: verification-needed-cosmic
Revision history for this message
Nate Graham (pointedstick) wrote :

Also tested liblmdb0/bionic-proposed 0.9.21-1ubuntu0.1 amd64 with the same positive result.

tags: added: verification-done-bionic
removed: verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lmdb - 0.9.22-1ubuntu0.1

---------------
lmdb (0.9.22-1ubuntu0.1) cosmic-proposed; urgency=medium

  * Add ubuntu_01_remove_loose_pg_from_dirty_list_in_freelist_save.diff
  * Fixes common crash in Baloo file indexer
  * SRU LP: #1812122

 -- Jonathan Riddell <email address hidden> Thu, 28 Feb 2019 15:52:40 +0000

Changed in lmdb (Ubuntu Cosmic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for lmdb has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lmdb - 0.9.21-1ubuntu0.1

---------------
lmdb (0.9.21-1ubuntu0.1) bionic-proposed; urgency=medium

  * Add ubuntu_01_remove_loose_pg_from_dirty_list_in_freelist_save.diff
  * Fixes common crash in Baloo file indexer
  * SRU LP: #1812122

 -- Jonathan Riddell <email address hidden> Thu, 21 Feb 2019 16:59:57 +0000

Changed in lmdb (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Nate Graham (pointedstick) wrote :

Yay, thanks so much everyone!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.