)]}'
{
  "commit": "a1896d47df480f771e1497e76294842e6f6cc601",
  "tree": "a2f6ced432245646cef404d1cf56ffa06a0c8060",
  "parents": [
    "214d695c3676e3596007efa9ee3a61e2519d1432"
  ],
  "author": {
    "name": "Jeff Lin",
    "email": "jefflin2@quanta.corp-partner.google.com",
    "time": "Fri Jun 12 14:38:25 2026 +0800"
  },
  "committer": {
    "name": "Willy Tu",
    "email": "wltu@google.com",
    "time": "Fri Jun 12 18:16:03 2026 -0700"
  },
  "message": "fru-device: Own the bus list copy to prevent crash\n\n_i2cBuses was a reference to the caller\u0027s local bus list. This list is\ngone as soon as the caller returns, but the retry runs almost 5s later\non a timer, so it ends up using memory that no longer exists and cause\nfru-device crashes.\n\nFix this by changing the reference into an owned copy.\n\nTested:\nBefore:\nsometimes fru-device will core-dumps within 15 loops ac cycle:\n```\nJun 08 03:37:51 bmc systemd[1]: xyz.openbmc_project.FruDevice.service: Main process exited, code\u003ddumped, status\u003d11/SEGV\nJun 08 03:37:51 bmc systemd[1]: xyz.openbmc_project.FruDevice.service: Failed with result \u0027core-dump\u0027.\nJun 08 03:37:51 bmc systemd[1]: xyz.openbmc_project.FruDevice.service: Consumed 1.551s CPU time.\nJun 08 03:37:56 bmc systemd[1]: xyz.openbmc_project.FruDevice.service: Scheduled restart job, restart counter is at 1.\n```\nAfter:\nfru-device will not core-dumps within 235 loops ac cycle.\n\nGoogle-Bug-Id: 518601929\nGoogle-Bug-Id: 515874892\nChange-Id: Iddd049ed4247be4abb9043c6af589cde6e80b581\nSigned-off-by: Jeff Lin \u003cjefflin2@quanta.corp-partner.google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cf4f5d2aa7da6df767d8b192d1bbd966a1b508e7",
      "old_mode": 33188,
      "old_path": "recipes-phosphor/configuration/entity-manager/0003-fru-device-Add-retries-on-locked-up-buses.patch",
      "new_id": "7252d2a69b7d0b687c0372891fce8458857612b0",
      "new_mode": 33188,
      "new_path": "recipes-phosphor/configuration/entity-manager/0003-fru-device-Add-retries-on-locked-up-buses.patch"
    },
    {
      "type": "modify",
      "old_id": "2a3c87b8e9b7057f13d361d49924fe576940a59c",
      "old_mode": 33188,
      "old_path": "recipes-phosphor/configuration/entity-manager/0004-fru-device-Reuse-old-dbus-path-if-possible.patch",
      "new_id": "746069bb2789643746958eade85bcdc1365159cb",
      "new_mode": 33188,
      "new_path": "recipes-phosphor/configuration/entity-manager/0004-fru-device-Reuse-old-dbus-path-if-possible.patch"
    }
  ]
}
