tracker-extract-3 crashed with SIGSEGV in decorator_item_cache_remove()

Bug #2012638 reported by Ahmed Nabil
84
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Tracker
Fix Released
Unknown
tracker-miners (Ubuntu)
Fix Released
High
Daniel van Vugt
ubuntu-release-upgrader (Ubuntu)
Fix Released
High
Brian Murray

Bug Description

https://errors.ubuntu.com/problem/76c7a9b949987c296ebfd60bf2328fc949156e32

laptop freeze when trying change desktop background

ProblemType: Crash
DistroRelease: Ubuntu 23.04
Package: tracker-extract 3.4.3-1ubuntu1
ProcVersionSignature: Ubuntu 6.2.0-18.18-generic 6.2.6
Uname: Linux 6.2.0-18-generic x86_64
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 23 15:49:56 2023
ExecutablePath: /usr/libexec/tracker-extract-3
InstallationDate: Installed on 2023-03-23 (0 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20230323)
ProcCmdline: /usr/libexec/tracker-extract-3
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
SegvAnalysis:
 Segfault happened at: 0x7f611a08e5b8: mov (%r15),%rbx
 PC (0x7f611a08e5b8) ok
 source "(%r15)" (0x2c0010b18b376185) not located in a known VMA region (needed readable region)!
 destination "%rbx" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: tracker-miners
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/tracker-miners-3.0/libtracker-miner-3.0.so
 ?? () from /lib/x86_64-linux-gnu/libffi.so.8
 ?? () from /lib/x86_64-linux-gnu/libffi.so.8
 ffi_call () from /lib/x86_64-linux-gnu/libffi.so.8
 g_cclosure_marshal_generic () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: tracker-extract-3 crashed with SIGSEGV in ffi_call()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
separator:

Related branches

Revision history for this message
Ahmed Nabil (ahmednabilg) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 decorator_item_cache_remove (decorator=0x561e7cbbecc0, id=1065) at ../src/libtracker-miner/tracker-decorator.c:727
 notifier_events_cb (decorator=0x561e7cbbecc0, service=<optimized out>, graph=<optimized out>, events=0x561e7cbfc3f0, notifier=<optimized out>) at ../src/libtracker-miner/tracker-decorator.c:880
 ffi_call_unix64 () at ../src/x86/unix64.S:104
 ffi_call_int (cif=cif@entry=0x7fffc234f990, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
 ffi_call (cif=cif@entry=0x7fffc234f990, fn=fn@entry=0x7f611a08e520 <notifier_events_cb>, rvalue=rvalue@entry=0x7fffc234f910, avalue=avalue@entry=0x7fffc234f8b0) at ../src/x86/ffi64.c:710

tags: removed: need-amd64-retrace
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in tracker-miners (Ubuntu):
importance: Undecided → Medium
summary: - tracker-extract-3 crashed with SIGSEGV in ffi_call()
+ tracker-extract-3 crashed with SIGSEGV in decorator_item_cache_remove()
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in tracker-miners (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
description: updated
information type: Private → Public
Revision history for this message
Maxim Solodovnik (solomax666) wrote :

I've tried to re-install everything using

for package in $(apt list --installed | grep -P ".*(?=/)" -o); do sudo apt install --reinstall -y $package; done;

and got this error

Revision history for this message
you-nerd (you-nerd) wrote :

was iirc just running

sudo apt update
sudo apt upgrade

for the daily/latest build

Revision history for this message
you-nerd (you-nerd) wrote :

had the error pop up again, this time on a fresh install of the daily build from 2023-04-10: d355b7bf12aac278d72652c38f68d7a2db2c8e0e44d57cd614d4b3a3024efb2a *lunar-desktop-amd64.iso

Steps to reproduce here:

Use ubuntu studio installer to install *-wallpapers & *-menu; *-lowlatency, *-lowlatency-settings, *-performance-tweaks & *-pipewire-config. Lastly, use ubuntu studio installer to install *-audio, and let it enter standby mode via 1 hour timeout.

Then resume from standby and login to see that the installer has completed installing and that this bug has been identified with the 'An error has occurred' prompt.

Revision history for this message
you-nerd (you-nerd) wrote :

error popped up once again, this time on a fresh install of the daily build from 2023-04-11: 03fbe48602860c82f2eda6daffa8b86f771ef7978991bd29d94e92d193c93613 *lunar-desktop-amd64.iso

Was running the following in terminal:

sudo apt update
sudo apt install ubuntustudio-installer
y

[error occurs as packages are being downloaded]

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

I've encountered the same crash during every release upgrade I've tested from Kinetic to Lunar. I've opened a bug (2015919) with an ubuntu-release-upgrader task so that we can look at surpressing the crash message during the upgrade process.

Changed in tracker-miners (Ubuntu):
milestone: none → lunar-updates
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
ubuntu-release-upgrader (1:23.04.5) lunar; urgency=medium

  * Update the autopkgtests for the deb2snap changes.

 -- Brian Murray <email address hidden> Wed, 12 Apr 2023 19:17:15 -0700

Changed in ubuntu-release-upgrader (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm not sure how many people that workaround will help given this is the top crash in Ubuntu 23.04. I don't imagine it's during release upgrades in all cases.

Changed in tracker:
status: Unknown → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in tracker-miners (Ubuntu):
status: Confirmed → In Progress
Changed in tracker-miners (Ubuntu):
importance: Medium → High
assignee: nobody → Daniel van Vugt (vanvugt)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in tracker-miners (Ubuntu):
milestone: lunar-updates → ubuntu-23.04
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thank you! I've uploaded to the lunar queue. I'm unsubscribing ubuntu-sponsors. Please feel free to resubscribe if you have something else that needs to be sponsored.

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

This bug was fixed in the package tracker-miners - 3.4.3-1ubuntu3

---------------
tracker-miners (3.4.3-1ubuntu3) lunar; urgency=medium

  * Add tracker-extract-Add-missing-break-to-remove-a-single.patch
    to fix SIGSEGV in decorator_item_cache_remove (LP: #2012638)

 -- Daniel van Vugt <email address hidden> Thu, 13 Apr 2023 17:34:18 +0800

Changed in tracker-miners (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

I tested an upgrade without the DistUpgradeQuirk in play and I did not receive a crash report from tracker-miners. Thanks for fixing it!

Changed in tracker:
status: New → 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.