tracker-extract-3 crashes routinely during distribution upgrades

Bug #2049907 reported by Skia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tracker-miners (Ubuntu)
New
Undecided
Unassigned
ubuntu-release-upgrader (Ubuntu)
Fix Released
Medium
Nick Rosbrook

Bug Description

Very similar behavior as this existing bug: https://bugs.launchpad.net/ubuntu/+source/tracker-miners/+bug/1983859

Almost copy-paste of original report:

When upgrading Ubuntu Desktop from 22.04 to 24.04, there's often (pretty much always) a crash from tracker-extract, as described in the following error report:

https://errors.ubuntu.com/oops/7a86fbf0-b52b-11ee-b9e4-fa163e171f02

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.

Revision history for this message
Skia (hyask) wrote :

Here is a quick `gdb` session showing the poor backtrace that I got: https://pastebin.ubuntu.com/p/GqXxw9xGzc/

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

This is failing to retrace due to the fact that there are mixture of packages from Noble and Jammy. It'd be interesting to look at the timestamp of the crash versus where we were in the upgrade process but I suspect it was somewhere in the middle. Subsequently, I think we should probably just turn off whatever runs tracker-extract while the upgrade is in progress. (There is code in ubuntu-release-upgrader to do similar things.)

Here's part of apport's output:

Get:1 http://192.168.10.7/ubuntu noble/main amd64 libgcc-s1 amd64 13.2.0-9ubuntu1 [63.1 kB]
Get:2 http://192.168.10.7/ubuntu noble/main amd64 gvfs-libs amd64 1.52.2-1 [107 kB]
Get:3 http://192.168.10.7/ubuntu noble/main amd64 gvfs amd64 1.52.2-1 [115 kB]
Get:4 http://ddebs.ubuntu.com noble/main amd64 gvfs-dbgsym amd64 1.52.2-1 [394 kB]
Get:5 http://ddebs.ubuntu.com noble/main amd64 gvfs-libs-dbgsym amd64 1.52.2-1 [403 kB]
Fetched 1082 kB in 0s (0 B/s)
Extracting downloaded debs...
E: Can not find version '3.3.3-0ubuntu0.20.04.1' of package 'tracker-miners'
E: Unable to find a source package for tracker-miners
dpkg-source: warning: -sn is not a valid option for Dpkg::Source::Package::V3::Quilt
gpgv: Signature made Fri 10 Nov 2023 12:08:46 AM PST
gpgv: using RSA key 50C4A0DDCF31E452CEB19B516569D855A744BE93
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for /tmp/tmpl2x1cdty/tracker-miners_3.3.3-0ubuntu0.20.04.1.dsc: no acceptable signature found
--- stack trace ---
#0 0x00007f4e079ca909 in ?? ()
No symbol table info available.
#1 0x0000000000000006 in ?? ()
No symbol table info available.
#2 0x0000000000000000 in ?? ()
No symbol table info available.
--- source code stack trace ---
#0 0x00007f4e079ca909 in ?? ()
#1 0x0000000000000006 in ?? ()
#2 0x0000000000000000 in ?? ()

summary: - tracker-extract-3 crash with SIGSYS when upgrading from 22.04 to 24.04
+ tracker-extract-3 crashes routinely during distribution upgrades
Revision history for this message
Brian Murray (brian-murray) wrote :

Or we could ignore crashes from tracker-extract-3 as done in this merge proposal.

https://code.launchpad.net/~enr0n/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/440867

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

Looking at the upgrade log the crash occurred around these package operations:

11:27:33 Selecting previously unselected package libpython3.11-minimal:amd64.
11:27:33 Preparing to unpack .../78-libpython3.11-minimal_3.11.4-1~23.04.2_amd64.deb ...
11:27:33 Unpacking libpython3.11-minimal:amd64 (3.11.4-1~23.04.2) ...
11:27:33 Selecting previously unselected package python3.11-minimal.
11:27:33 Preparing to unpack .../79-python3.11-minimal_3.11.4-1~23.04.2_amd64.deb ...
11:27:34 Unpacking python3.11-minimal (3.11.4-1~23.04.2) ...
11:27:34 Setting up libpython3.11-minimal:amd64 (3.11.4-1~23.04.2) ...
11:27:34 Setting up libexpat1:amd64 (2.5.0-1) ...
11:27:34 Setting up python3.11-minimal (3.11.4-1~23.04.2) ...

tags: added: cuqa-automated-testing rls-nn-incoming
Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → Medium
Nick Rosbrook (enr0n)
tags: added: foundations-todo
Changed in ubuntu-release-upgrader (Ubuntu):
assignee: nobody → Nick Rosbrook (enr0n)
tags: removed: rls-nn-incoming
Nick Rosbrook (enr0n)
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:24.04.11

---------------
ubuntu-release-upgrader (1:24.04.11) noble; urgency=medium

  * test: fix typo assertEqaul (LP: #2059784)
  * Run pre-build.sh: updating mirrors, demotions, and translations.

 -- Nick Rosbrook <email address hidden> Fri, 29 Mar 2024 10:49:09 -0400

Changed in ubuntu-release-upgrader (Ubuntu):
status: In Progress → Fix Released
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.