Blob Blame History Raw
commit 9c102f994856d1de5a62644822d07a99318073cb
Author: Dave Anderson <anderson@redhat.com>
Date:   Mon Aug 3 13:55:02 2015 -0400

    Fix for a segmentation violation generated by the ARM64 "bt -[f|F]"
    options when analyzing the active tasks in vmcores generated by the
    kdump facility.  This bug is a regression that was introduced in
    crash-7.1.2 by commit 15a58e4070486efa2aa965bdd636626e62b65cc7, which
    was an enhancement of the ARM64 backtrace capability for active tasks
    in kdump vmcores.
    (anderson@redhat.com)

diff --git a/arm64.c b/arm64.c
index d9bef10..a4c3b51 100644
--- a/arm64.c
+++ b/arm64.c
@@ -1144,6 +1144,7 @@ arm64_back_trace_cmd(struct bt_info *bt)
 		stackframe.fp = GET_STACK_ULONG(bt->bptr - 8);
 		stackframe.pc = GET_STACK_ULONG(bt->bptr);
 		stackframe.sp = bt->bptr + 8;
+		bt->frameptr = stackframe.sp;
 	} else if (bt->hp && bt->hp->esp) {
 		stackframe.fp = GET_STACK_ULONG(bt->hp->esp - 8);
 		stackframe.pc = bt->hp->eip ?