[Bug 1971409] Re: value_copy: Assertion `arg->contents != nullptr' failed.

Michael Hudson-Doyle 1971409 at bugs.launchpad.net
Mon Sep 19 00:38:20 UTC 2022


https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1971474 tracks the
update of gdb to the 12.1 final release. You could try installing gdb
from jammy-proposed and see if that helps?

** Tags added: foundations-todo

-- 
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/1971409

Title:
  value_copy: Assertion `arg->contents != nullptr' failed.

Status in gdb package in Ubuntu:
  Confirmed

Bug description:
  When debugging RP2040 with vscode this assert makes gdb crash.
  This is a new assert, that wasn't present in gdb 11.
  The fix is easy, replace `if (!value_lazy (val))` to `if (!value_lazy (val) && arg->contents != nullptr) `.

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




More information about the foundations-bugs mailing list