[Bug 2040113] Re: gdb crashes upon `run` on some arm64 machines

Mate Kukri 2040113 at bugs.launchpad.net
Wed Nov 15 13:40:22 UTC 2023


** Description changed:

- gdb 13.1 shipped in lunar, is affected by a bug where it crashes upon
- `run` on some arm64 machines (confirmed on Apple M-series, both under
- hypervisor and bare metal, everything else with PAC should also be
- affected).
+ [ Impact ]
  
- It was fixed upstream in gdb 13.2: https://inbox.sourceware.org/gdb-
- patches/20230316103904.1947447-1-luis.machado at arm.com/.
+  * gdb 13.1 as shipped in lunar is affected by a bug where it crashes upon `run` 
+    on some arm64 machines (confirmed on Apple M-series, both under hypervisor 
+    and bare metal, everything else with PAC should also be affected).
  
- Debian bookworm's gdb_13.1-3 also includes the same patch as
- `aarch64-pauth-registers.patch`.
+  * It was fixed upstream in gdb 13.2: https://inbox.sourceware.org/gdb- 
+    patches/20230316103904.1947447-1-luis.machado at arm.com/.
+ 
+  * Debian bookworm's gdb_13.1-3 also includes the same patch as `aarch64-pauth- 
+    registers.patch`.
+ 
+ [ Test Plan ]
+ 
+  * This diff is confirmed to fix gdb 13.1 in lunar on my arm64 laptop.
+ 
+  * This could be tested by running any program under lunar's gdb 
+    on any ARM64 PAC machine.
+ 
+ [ Where problems could occur ]
+ 
+  * Problems aren't particularly likely as the exact patch was included in the 
+    last Debian stable.
+ 
+  * In theory, a gdb rebuild could possibly cause breakage.

** Patch added: "1-13.1-2ubuntu2.1.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/2040113/+attachment/5719723/+files/1-13.1-2ubuntu2.1.debdiff

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

Title:
  gdb crashes upon `run` on some arm64 machines

Status in gdb package in Ubuntu:
  New
Status in gdb source package in Lunar:
  New

Bug description:
  [ Impact ]

   * gdb 13.1 as shipped in lunar is affected by a bug where it crashes upon `run` 
     on some arm64 machines (confirmed on Apple M-series, both under hypervisor 
     and bare metal, everything else with PAC should also be affected).

   * It was fixed upstream in gdb 13.2: https://inbox.sourceware.org/gdb- 
     patches/20230316103904.1947447-1-luis.machado at arm.com/.

   * Debian bookworm's gdb_13.1-3 also includes the same patch as `aarch64-pauth- 
     registers.patch`.

  [ Test Plan ]

   * This diff is confirmed to fix gdb 13.1 in lunar on my arm64 laptop.

   * This could be tested by running any program under lunar's gdb 
     on any ARM64 PAC machine.

  [ Where problems could occur ]

   * Problems aren't particularly likely as the exact patch was included in the 
     last Debian stable.

   * In theory, a gdb rebuild could possibly cause breakage.

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




More information about the foundations-bugs mailing list