On 2022/12/26 22:03, Lianbo Jiang wrote:
This is a backported patch from gdb. Without the patch, the
following
crash command may abort due to an assertion failure in the gdb's
copy_type():
crash> px __per_cpu_start:0
gdbtypes.c:5505: internal-error: type* copy_type(const type*): Assertion
`TYPE_OBJFILE_OWNED (type)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
The gdb commit 8e2da1651879 ("Fix assertion failure in copy_type"),
which solved the current issue.
Reported-by: Buland Kumar Singh <bsingh(a)redhat.com>
Signed-off-by: Lianbo Jiang <lijiang(a)redhat.com>
Thank you for the fix. Looks good to me, and applied.
https://github.com/crash-utility/crash/commit/a053a1442dff4eecd17aee08950...
Thanks,
Kazu
p.s. I will return to work on Jan 4. Happy holidays!