Does that help?

Regards
Uwe

(gdb) list *(0xffffffff80ea0a90)
0xffffffff80ea0a90 is in doifioctl (/usr/src/sys/net/if.c:3494).
3489                    }
3490            }
3491
3492            oif_flags = ifp->if_flags;
3493
3494            KERNEL_LOCK_UNLESS_IFP_MPSAFE(ifp);
3495            IFNET_LOCK(ifp);
3496
3497            error = if_ioctl(ifp, cmd, data);
3498            if (error != ENOTTY)


On Mon, 10 Jan 2022, Martin Husemann wrote:

Date: Mon, 10 Jan 2022 12:32:50 +0100
From: Martin Husemann <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [Extern] Re: netbsd-9.99.93 crash

You need to identify what the "last lockecd" location is, something
like:

        gdb netbsd.gdb  # or just netbsd, if you do not have a netbsd.gdb
        gdb> list *(0xffffffff80ea0a90)

(I never can remember the equivalent addr2line flags for this, probably:
addr2line -a 0xffffffff80ea0a90 -e netbsd.gdb)

Martin

Reply via email to