Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2011 22:52:38 +0800
From:      Paul Ambrose <ambrosehua@gmail.com>
To:        rysto32@gmail.com
Cc:        freebsd-current@freebsd.org
Subject:   [PATCH] dtrace crashes when trying to trace fbt probes
Message-ID:  <CAMwoQQ5sL-d-ej60%2B5EiB03x1hPt1Q%2BQexOtti_e1kOssa3Ozw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi, Ryan, I came across the similar problem on 8-stable when I run
# dtrace -lv
the panic message says:
page fault just happened at fbt.c
........................................................................
    if (*lc.ctfoffp == NULL) {       // page fault
        /*
         * Initialise the CTF object and function symindx to
         * byte offset array.
         */
        if (fbt_ctfoff_init(ctl, &lc) != 0)
            return;

        /* Initialise the CTF type to byte offset array. */
        if (fbt_typoff_init(&lc) != 0)
            return;
    }
........................................................................

And I came across the similar problem on 9-current only once, but when I
recompile the kernel,
it does not reproduce. I will try your patch on 8-stable, but could you tell
me  where did you meet
the problem, and what is your module without CTF data?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMwoQQ5sL-d-ej60%2B5EiB03x1hPt1Q%2BQexOtti_e1kOssa3Ozw>