From owner-freebsd-current@FreeBSD.ORG Mon Sep 26 14:52:39 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C6A9106566B for ; Mon, 26 Sep 2011 14:52:39 +0000 (UTC) (envelope-from ambrosehua@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 164E48FC0C for ; Mon, 26 Sep 2011 14:52:38 +0000 (UTC) Received: by fxg9 with SMTP id 9so7794387fxg.13 for ; Mon, 26 Sep 2011 07:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=La5XtTe9IODW/ugT226u6tOkkc/69VbWolN5++k+nB0=; b=v6F8gQGxIbGWI81fTT+3T7VnzSNELkjirZ0tQ/IsNC+SqQF5tP/zNqF7LBM49ZTBT1 CXzL0j9yN9S1tUUlmzIMXL8zSpbPwBB2Bxz+/PQSATVmqTZ82JDRpkDpGbM9QZqMQCj/ 99QgYOrRwRJ6sjWOMn5Gb2RAtVVmQ5Xry33JU= MIME-Version: 1.0 Received: by 10.223.14.133 with SMTP id g5mr10506666faa.69.1317048758190; Mon, 26 Sep 2011 07:52:38 -0700 (PDT) Received: by 10.223.118.205 with HTTP; Mon, 26 Sep 2011 07:52:38 -0700 (PDT) Date: Mon, 26 Sep 2011 22:52:38 +0800 Message-ID: From: Paul Ambrose To: rysto32@gmail.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: [PATCH] dtrace crashes when trying to trace fbt probes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2011 14:52:39 -0000 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?