qemu-system-sparc64: entering the debugger
Konstantin Belousov
kostikbel at gmail.com
Fri Apr 15 09:13:52 UTC 2016
On Thu, Apr 14, 2016 at 02:41:25PM +0100, Mark Cave-Ayland wrote:
> On 12/04/16 13:51, Mark Cave-Ayland wrote:
> > The NULL pointer reference occurs here:
> >
> > 0x00000000c0122008: ldx [ %l2 + 0x3d8 ], %g1 ! %g1 = 0
> > 0x00000000c012200c: ldx [ %g1 + 0x18 ], %g1 !
> > 0x00000000c0122010: brz,pn %g1, 0xc0122050
> > 0x00000000c0122014: nop
> >
> > AFAICT the corresponding part of db_ps.c is this:
> >
> > if (p->p_session != NULL && SESS_LEADER(p))
> > strlcat(state, "s", sizeof(state));
> >
> > Here p->p_session expands to p->p_pgrp->pg_session which gives us the
> > exception because p->p_pgrp is set to NULL. So I guess this is a bug,
> > but not the bug I'm looking for...
I fixed this in r298043, thank you for the report.
More information about the freebsd-sparc64
mailing list