[Bug 2079907] Re: All fwupdmgr commands failing, fwupd segfault appears in dmesg

Mario Limonciello 2079907 at bugs.launchpad.net
Sun Oct 20 05:37:21 UTC 2024


** Changed in: fwupd (Ubuntu)
       Status: Incomplete => Invalid

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

Title:
  All fwupdmgr commands failing, fwupd segfault appears in dmesg

Status in fwupd package in Ubuntu:
  Invalid

Bug description:
  I'm on Ubuntu 22.04. I'm unable to run any fwupdmgr commands, and see
  a segfault in dmesg from fwupd

  fwupd-signed/jammy-updates,now 1.51.1~22.04.1+1.4-0ubuntu0.1 amd64 [installed,automatic]
  fwupd/jammy-updates,now 1.7.9-1~22.04.3 amd64 [installed,automatic]
  libfwupd2/jammy-updates,now 1.7.9-1~22.04.3 amd64 [installed,automatic]
  libfwupdplugin5/jammy-updates,now 1.7.9-1~22.04.3 amd64 [installed,automatic]

  installed using apt

  ```
  fwupdmgr get-devices --show-all-devices
  Failed to connect to daemon: Error calling StartServiceByName for org.freedesktop.fwupd: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)
  ```

  tried running manually, and there is a segfault in fwupd

  ```
  /usr/libexec/fwupd/fwupd -vv
  # lots of okay assertions
  23:57:49:0762 GLib                 g_strsplit: assertion 'string != NULL' failed
  ```

  some sample dmesg output

  ```
  [   46.254987] fwupd[3465]: segfault at 0 ip 00005a59e380faac sp 00007fffdc3760d0 error 4 in fwupd[5a59e37fc000+2c000] likely on CPU 0 (core 0, socket 0)
  [   46.254998] Code: 66 0f 1f 44 00 00 e8 e3 13 ff ff ba ff ff ff ff 48 8d 35 f9 b9 01 00 48 89 c7 e8 5f 05 ff ff 48 89 df 48 89 c5 e8 64 85 00 00 <48> 8b 7d 00 89 c3 48 85 ff 0f 84 57 01 00 00 49 89 ee 45 31 ed eb
  [   71.061166] fwupd[5225]: segfault at 0 ip 00005ea11a7e2aac sp 00007fff47bad4d0 error 4 in fwupd[5ea11a7cf000+2c000] likely on CPU 4 (core 4, socket 0)
  [   71.061176] Code: 66 0f 1f 44 00 00 e8 e3 13 ff ff ba ff ff ff ff 48 8d 35 f9 b9 01 00 48 89 c7 e8 5f 05 ff ff 48 89 df 48 89 c5 e8 64 85 00 00 <48> 8b 7d 00 89 c3 48 85 ff 0f 84 57 01 00 00 49 89 ee 45 31 ed eb
  [  803.069085] fwupd[9191]: segfault at 0 ip 0000560e4e634aac sp 00007ffea77c0650 error 4 in fwupd[560e4e621000+2c000] likely on CPU 0 (core 0, socket 0)
  [  803.069093] Code: 66 0f 1f 44 00 00 e8 e3 13 ff ff ba ff ff ff ff 48 8d 35 f9 b9 01 00 48 89 c7 e8 5f 05 ff ff 48 89 df 48 89 c5 e8 64 85 00 00 <48> 8b 7d 00 89 c3 48 85 ff 0f 84 57 01 00 00 49 89 ee 45 31 ed eb
  [  902.331482] fwupd[9566]: segfault at 0 ip 000060307535caac sp 00007ffc4b800690 error 4 in fwupd[603075349000+2c000] likely on CPU 0 (core 0, socket 0)
  [  902.331491] Code: 66 0f 1f 44 00 00 e8 e3 13 ff ff ba ff ff ff ff 48 8d 35 f9 b9 01 00 48 89 c7 e8 5f 05 ff ff 48 89 df 48 89 c5 e8 64 85 00 00 <48> 8b 7d 00 89 c3 48 85 ff 0f 84 57 01 00 00 49 89 ee 45 31 ed eb
  [ 1002.266730] fwupd[9884]: segfault at 0 ip 00005d3abaed0aac sp 00007fffbe901700 error 4 in fwupd[5d3abaebd000+2c000] likely on CPU 0 (core 0, socket 0)
  [ 1002.266739] Code: 66 0f 1f 44 00 00 e8 e3 13 ff ff ba ff ff ff ff 48 8d 35 f9 b9 01 00 48 89 c7 e8 5f 05 ff ff 48 89 df 48 89 c5 e8 64 85 00 00 <48> 8b 7d 00 89 c3 48 85 ff 0f 84 57 01 00 00 49 89 ee 45 31 ed eb
  ```

  My CPUs are fine according to all diagnostic tools.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: fwupd 1.7.9-1~22.04.3
  ProcVersionSignature: Ubuntu 6.8.0-40.40~22.04.3-generic 6.8.12
  Uname: Linux 6.8.0-40-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.6
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Sep  8 14:29:50 2024
  InstallationDate: Installed on 2022-10-25 (683 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
  SourcePackage: fwupd
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/2079907/+subscriptions




More information about the foundations-bugs mailing list