[Bug 283159] crash dump backtraces broken on arm64
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 283159] crash dump backtraces broken on arm64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Dec 2024 16:38:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283159 --- Comment #2 from John Baldwin <jhb@FreeBSD.org> --- Nothing has changed in unwinding for kgdb in a long while, and the only frame unwinding that is custom in kgdb is for exception frames. Unwinding out of doadump() is a "normal" frame just like a userspace frame and should be using DWARF unwind info. The most likely regression here is an issue with the DWARF. Oh, is this with PAC? The PC value looks like the upper N bits are "wrong": #0 0xffff0000004b5aa8 in doadump (textdump=1) at /usr/home/trasz/git/freebsd/sys/kern/kern_shutdown.c:404 #1 0x67fd0000004b5868 in ?? () The real PC for frame 1 probably starts with 'ffff' instead of '67fd'. As a workaround you can disable PAC for now (not sure if that's a thing you can do currently). I'll try to see if I can reproduce. -- You are receiving this mail because: You are the assignee for the bug.