I have this too, twice in the past few days.
notes helped by kimi:
Package: gnome-shell-ubuntu-extensions 50.26.04.7ubuntu
GNOME Shell: 50.1
OS: Ubuntu 26.04 (Resolute), Wayland session
Extension: "Web Search Provider" (gnome-shell-web-search-provider),
/usr/share/gnome-shell/extensions/<uuid redacted — the web-search-provider one>
SUMMARY
-------
Twice in one week, opening the overview (Super) and typing produced zero
search results — no apps, no providers, nothing. The rest of the shell kept
working normally. Logging out and back in restored search. Journal shows the
Web Search Provider extension crashing against an already-disposed
ListSearchResults object in the affected session, ~40 minutes before the
session ended (by me logging out in frustration)
STEPS TO REPRODUCE
------------------
Not deterministic. Both occurrences happened during a long-running session
(days of uptime, suspend/resume cycles, monitor hotplug). Once the error
below fires, overview search returns no results at all until the next login.
JOURNAL (user session, affected boot)
-------------------------------------
Jul 27 12:16:30 black gnome-shell[11845]: Object
Gjs_ui_search_ListSearchResults (0x5ecad3513180), has been already disposed —
impossible to access it. This might be caused by the object having been
destroyed from C code using something such as destroy(), dispose(), or remove()
vfuncs.
== Stack trace for context 0x5ecacbbed540 ==
#0 resource:///org/gnome/shell/ui/search.js:677
#1 file:///usr/share/gnome-shell/extensions/<web-search-uuid>/extension.js:50
#2 file:///usr/share/gnome-shell/extensions/<web-search-uuid>/extension.js:40
#3 resource:///org/gnome/shell/ui/extensionSystem.js:217
#4 resource:///org/gnome/shell/ui/extensionSystem.js:588
#5 self-hosted:800
#6 resource:///org/gnome/shell/ui/init.js:20
OFFENDING CODE
--------------
extension.js, enable():
this.webSearcher = new WebSearcherSearchProvider(defaultBrowser,
cancellable);
this.searchResults._registerProvider(this.webSearcher);
The extension reaches into the shell's private `_registerProvider()` on the
SearchResults object. If that object has been disposed and recreated (e.g.
after overview recreation), enable()/re-enable touches a dead object, the JS
exception propagates through the extension system, and the search subsystem
is left broken for the rest of the session.
NOTES
-----
- The extension also calls the private `_unregisterProvider()` in disable().
- Two search-related JS errors from other sources appear in the same log
("Invalid result meta returned from search provider
org.gnome.Nautilus.desktop"
and D-Bus "provider without an owner" errors for Boxes/Terminal) but those
are pre-existing, benign, and search keeps working despite them.
- Possibly the deeper issue is a shell lifecycle bug (SearchResults disposed
while the extension still holds a stale reference); but regardless, the
extension should not be using `_`-prefixed private API, and should guard
against the object being disposed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2150103
Title:
Searching for installed apps breaks after screen lock (unless Web
Search Provider is disabled)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-ubuntu-extensions/+bug/2150103/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs