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

Andrea 1971409 at bugs.launchpad.net
Thu May 5 16:25:45 UTC 2022


Got the same issue in VSCode using gdb 12.0.90.

I compiled gdb 12.1 and it works.
Can we get it updated to 12.1?

-- 
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:
  New

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