** Description changed:

+ [ Impact ]
+ 
+ tracker-miners crashes (a lot) if indexing happens while battery charger
+ is plugged / unplugged
+ 
+ [ Test case ]
+ 
+ In a laptop where you can unplug the battery charger:
+ 
+ 1. Force tracker to start tracking your files
+    gdbus call --session  --dest org.freedesktop.Tracker3.Miner.Files.Control \
+     --object-path /org/freedesktop/Tracker3/Miner/Files/Index \
+     --method org.freedesktop.Tracker3.Miner.Files.Index.IndexLocation \
+     "file:///home" "[]" "[]"
+ 2. Just after plug or unplug the battery charger
+ 3. Tracker miners should not crash
+ 
+ You can also use gdb to ensure the process does not crash
+ 
+   sudo gdb -p $(pidof tracker-extract-3) -batch  \
+    -ex continue -ex "bt full" -ex quit
+ 
+ And basically the process should never exit
+ 
+ [Regression Potential]
+ 
+ Tracker gets not notified by files changes so searching on nautilus or
+ gnome-shell may not show expected results until a session restart
+ 
+ ---
+ 
  No idea what or why this crashed.  Simply got to my desk, turned on
  laptop and this happened.
  
- ProblemType: Crash
- DistroRelease: Ubuntu 24.04
+ ProblemType: CrashDistroRelease: Ubuntu 24.04
  Package: tracker-extract 3.7.1-1build1
  ProcVersionSignature: Ubuntu 6.14.0-27.27~24.04.1-generic 6.14.6
  Uname: Linux 6.14.0-27-generic x86_64
  NonfreeKernelModules: zfs nvidia_modeset nvidia
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Aug  6 09:56:58 2025
  ExecutablePath: /usr/libexec/tracker-extract-3
  InstallationDate: Installed on 2024-08-31 (340 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  ProcCmdline: /usr/libexec/tracker-extract-3 --socket-fd 3
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, user)
-  SHELL=/bin/bash
-  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  PATH=(custom, user)
+  SHELL=/bin/bash
+  XDG_RUNTIME_DIR=<set>
  SegvAnalysis:
-  Segfault happened at: 0x7d972438afaf <__strcmp_avx2+31>:     vpcmpeqb 
(%rsi),%ymm0,%ymm1
-  PC (0x7d972438afaf) ok
-  source "(%rsi)" (0x00000000) not located in a known VMA region (needed 
readable region)!
-  destination "%ymm0" ok
-  Stack memory exhausted (SP below stack segment)
+  Segfault happened at: 0x7d972438afaf <__strcmp_avx2+31>:     vpcmpeqb 
(%rsi),%ymm0,%ymm1
+  PC (0x7d972438afaf) ok
+  source "(%rsi)" (0x00000000) not located in a known VMA region (needed 
readable region)!
+  destination "%ymm0" ok
+  Stack memory exhausted (SP below stack segment)
  SegvReason: reading NULL VMA
  Signal: 11
- SignalName: SIGSEGV
- SourcePackage: tracker-miners
+ SignalName: SIGSEGVSourcePackage: tracker-miners
  StacktraceTop:
-  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:287
-  ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
-  ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
-  ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
-  ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
+  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:287
+  ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
+  ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
+  ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
+  ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
  Title: tracker-extract-3 crashed with SIGSEGV in __strcmp_avx2()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip docker input kvm libvirt lpadmin lxd ollama plugdev 
sudo users
  mtime.conffile..etc.apport.crashdb.conf: 2025-07-20T11:40:42.680164
  separator:

** Changed in: tracker-miners (Ubuntu)
     Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0)

** Also affects: tracker-miners (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: tracker-miners (Ubuntu Noble)
   Importance: Undecided => Medium

** Changed in: tracker-miners (Ubuntu Noble)
     Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0)

** Changed in: tracker-miners (Ubuntu)
       Status: New => Fix Released

** Description changed:

  [ Impact ]
  
  tracker-miners crashes (a lot) if indexing happens while battery charger
  is plugged / unplugged
  
  [ Test case ]
  
  In a laptop where you can unplug the battery charger:
  
  1. Force tracker to start tracking your files
-    gdbus call --session  --dest org.freedesktop.Tracker3.Miner.Files.Control \
-     --object-path /org/freedesktop/Tracker3/Miner/Files/Index \
-     --method org.freedesktop.Tracker3.Miner.Files.Index.IndexLocation \
-     "file:///home" "[]" "[]"
+    gdbus call --session  --dest org.freedesktop.Tracker3.Miner.Files.Control \
+     --object-path /org/freedesktop/Tracker3/Miner/Files/Index \
+     --method org.freedesktop.Tracker3.Miner.Files.Index.IndexLocation \
+     "file:///home" "[]" "[]"
  2. Just after plug or unplug the battery charger
  3. Tracker miners should not crash
  
  You can also use gdb to ensure the process does not crash
  
-   sudo gdb -p $(pidof tracker-extract-3) -batch  \
-    -ex continue -ex "bt full" -ex quit
+   sudo gdb -p $(pidof tracker-extract-3) -batch  \
+    -ex continue -ex "bt full" -ex quit
  
  And basically the process should never exit
  
  [Regression Potential]
  
  Tracker gets not notified by files changes so searching on nautilus or
  gnome-shell may not show expected results until a session restart
+ 
+ https://errors.ubuntu.com/problem/87496b55e7ce5c9c38cd8ffdd5f736329ac0ea22
  
  ---
  
  No idea what or why this crashed.  Simply got to my desk, turned on
  laptop and this happened.
  
  ProblemType: CrashDistroRelease: Ubuntu 24.04
  Package: tracker-extract 3.7.1-1build1
  ProcVersionSignature: Ubuntu 6.14.0-27.27~24.04.1-generic 6.14.6
  Uname: Linux 6.14.0-27-generic x86_64
  NonfreeKernelModules: zfs nvidia_modeset nvidia
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Aug  6 09:56:58 2025
  ExecutablePath: /usr/libexec/tracker-extract-3
  InstallationDate: Installed on 2024-08-31 (340 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  ProcCmdline: /usr/libexec/tracker-extract-3 --socket-fd 3
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  SegvAnalysis:
   Segfault happened at: 0x7d972438afaf <__strcmp_avx2+31>:     vpcmpeqb 
(%rsi),%ymm0,%ymm1
   PC (0x7d972438afaf) ok
   source "(%rsi)" (0x00000000) not located in a known VMA region (needed 
readable region)!
   destination "%ymm0" ok
   Stack memory exhausted (SP below stack segment)
  SegvReason: reading NULL VMA
  Signal: 11
  SignalName: SIGSEGVSourcePackage: tracker-miners
  StacktraceTop:
   __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:287
   ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
   ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
   ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
   ??? () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
  Title: tracker-extract-3 crashed with SIGSEGV in __strcmp_avx2()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip docker input kvm libvirt lpadmin lxd ollama plugdev 
sudo users
  mtime.conffile..etc.apport.crashdb.conf: 2025-07-20T11:40:42.680164
  separator:

** Changed in: tracker-miners (Ubuntu Noble)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2119581

Title:
  This crashed when logging in first time in the morning.  Not sure what
  caused it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tracker-miners/+bug/2119581/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to