Re: Crash loading dtraceall

From: Mark Johnston <markj_at_freebsd.org>
Date: Wed, 8 May 2019 18:55:53 -0400
On Wed, May 08, 2019 at 05:47:08PM -0500, Larry Rosenman wrote:
> On 05/08/2019 5:29 pm, Mark Johnston wrote:
> > On Wed, May 08, 2019 at 03:52:45PM -0500, Larry Rosenman wrote:
> >> Greetings,
> >> 
> >>     Somewhere between r346483 and r347241 loading dtraceall causes a
> >>     crash.  I have the cores and kernels.
> >> 
> >>     It's hard for me to bisect more than this, as the box is remote.
> >> 
> >>     What more do you need?  (this dump is fropm r347355).
> > 
> > Please visit frame 8 and print *lf.
> > 
> #9  fbt_provide_module_function (lf=0xfffff800020ff000, symindx=30763, 
> symval=0xfffffe00d74d7e00, opaque=0xfffffe00d74d7e50) at 
> /usr/src/sys/cddl/dev/fbt/x86/fbt_isa.c:191
> 191			if (*instr == FBT_PUSHL_EBP)
> (kgdb) print *lf
> $1 = {ops = 0xfffff800020f6000, refs = 202, userrefs = 1, flags = 1, 
> link = {tqe_next = 0xfffff800020fec00, tqe_prev = 0xffffffff80c767d0 
> <linker_files>}, filename = 0xfffff80002101030 "kernel",
>    pathname = 0xfffff80002104080 "/boot/kernel/kernel", id = 1, address = 
> 0xffffffff80200000 "\177ELF\002\001\001\t", size = 17612816, ctors_addr 
> = 0x0, ctors_size = 0, ndeps = 0, deps = 0x0, common = {stqh_first = 
> 0x0,
>      stqh_last = 0xfffff800020ff070}, modules = {tqh_first = 
> 0xfffff800020e5800, tqh_last = 0xfffff80002116790}, loaded = {tqe_next = 
> 0x0, tqe_prev = 0x0}, loadcnt = 1, nenabled = 0, fbt_nentries = 25062}
> (kgdb)

And could you show the output of:

$ readelf -s /boot/kernel/kernel | grep "30763:"
Received on Wed May 08 2019 - 20:55:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC