[Bug 1983859] Re: tracker-extract crashes with SIGSYS when upgrading from 20.04 to 22.04
Benjamin Drung
1983859 at bugs.launchpad.net
Tue Aug 9 10:51:15 UTC 2022
I tried to produce a usable backtrace by copying the crash file back to
a VM that were in the state before the upgrade, but the backtrace there
has GDB warnings: Section `.reg-xstate/$number' in core file too small.
I assume that the crash happens when already some package were updated.
What I saw the the journal log: dbus-daemon[813]: Unknown group "power"
in message bus configuration file
You can try to create the GDB backtrace directly after the crash. Modify ExecStart in
/usr/lib/systemd/user/tracker-extract.service to:
ExecStart=/usr/bin/gdb --batch --ex run --ex bt /usr/libexec/tracker-
extract
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1983859
Title:
tracker-extract crashes with SIGSYS when upgrading from 20.04 to 22.04
Status in tracker package in Ubuntu:
Confirmed
Status in ubuntu-release-upgrader package in Ubuntu:
Confirmed
Bug description:
When upgrading Ubuntu Desktop from 20.04 to 22.04, there's often
(pretty much always) a crash from tracker-extract, as described in the
following error report:
https://errors.ubuntu.com/oops/d7866d85-14cc-11ed-a52b-fa163e55efd0
The crash occurs during the upgrade, which means it's fairly hard to
investigate exactly what's going on as apport fails to extract a stack
trace, the binaries being overwritten during the upgrade.
However, the crash occurs because of a unhandled SIGSYS, meaning a
seccomp filter issue. I've tried backporting this patch fixing a
similar issue:
https://gitlab.gnome.org/GNOME/tracker-
miners/-/commit/4cda983b02e49f6bd28b94a6b96c9fe7026887ef
but it doesn't apply, likely due to the code having diverged too much
since.
My proposal is thus to disable tracker-extract during upgrade,
including in all user sessions. I'm assuming that the new version will
be enabled automatically as its unit file changed name anyway.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tracker/+bug/1983859/+subscriptions
More information about the foundations-bugs
mailing list