Nautilus leaks memory for each recent engine search

Bug #1798426 reported by Marco Trevisan (Treviño) on 2018-10-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Marco Trevisan (Treviño)

Bug Description

[ Impact ]

Nautilus leaks memory when a search is performed on recent files manager, both for the query itself and the recent item that is checked.

Also on destruction, it might happen that nautilus double-unref an object.

[ Test case ]

1. Search something from gnome-shell overview or nautilus itself
2. Monitoring memory usage should not change too much
3. Nautilus should not crash on close.

[ Regression potential ]

Search on recent files doesn't return anything.


This is already fixed in nautilus 1:3.26.4-0ubuntu7 (cosmic)

Hello Marco, or anyone else affected,

Accepted nautilus into bionic-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See 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 . 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 nautilus (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic

No crash noticed in 1:3.26.4-0~ubuntu18.04.2, not being a regression this bug too.

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:3.26.4-0~ubuntu18.04.2

nautilus (1:3.26.4-0~ubuntu18.04.2) bionic; urgency=medium

  * d/p/search-engine-Query-file-system-to-determine-remoteness.patch:
    - Fix remote filesystem check on file during search (LP: #1795028)
  * d/p/0016-search-engine-add-a-recent-search-engine-listing-Gtk.patch:
    - Refreshed to add memory leak and potential crash fixes (LP: #1798426)

 -- Marco Trevisan (Treviño) <email address hidden> Mon, 08 Oct 2018 18:30:01 +0200

Changed in nautilus (Ubuntu Bionic):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for nautilus 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.

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

Other bug subscribers