Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 12:27:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ppc@FreeBSD.org
Subject:   [Bug 225321] dtrace/powerpc64: System crash
Message-ID:  <bug-225321-21-8WvW1thedj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225321-21@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225321-21@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225321

--- Comment #2 from Breno Leitao <breno.leitao@gmail.com> ---
Hi Justin,

We are debugging this one in background, and the problem seems to be a wrong
stack  pointer (r1). Mainly after restoring it at
sys/powerpc/aim/trap_subr64.S:

ASENTRY_NOPROF(breakpoint)
        ....

dbtrap:
        /* Write the trap vector to SPRG3 by computing LR & 0xff00 */
        mflr    %r1
        andi.   %r1,%r1,0xff00
        mtsprg3 %r1

        ld      %r1,TRAP_TOCBASE(0)             /* get new SP */
        ld      %r1,TOC_REF(tmpstk)(%r1)
        addi    %r1,%r1,(TMPSTKSZ-48)


We have a working patch already, and I would suggest the authors to share i=
t.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225321-21-8WvW1thedj>