From owner-freebsd-questions@FreeBSD.ORG Thu Sep 11 09:59:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 987A41065677 for ; Thu, 11 Sep 2008 09:59:07 +0000 (UTC) (envelope-from riaank@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.188]) by mx1.freebsd.org (Postfix) with ESMTP id 240668FC1C for ; Thu, 11 Sep 2008 09:59:06 +0000 (UTC) (envelope-from riaank@gmail.com) Received: by gv-out-0910.google.com with SMTP id n8so186968gve.39 for ; Thu, 11 Sep 2008 02:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=XdUXhyi2q65AZbubMzfcUqAG4t5SaUbScp7CqwatF/o=; b=PcxACza6GUS1nEYM5tH55xvw7JL4h7Yn0kV/Ioe3drmbidsSbrpsYdVzB7E6YqaThh Bq/vMZ78OVe7W2nusLA6jdHnaPXHlmCphxkTdeSmIk30R0omWioVqwDsUCcAr51tVay6 i9p8VXuonYiuuLUkE30KtuaIomEgZBHkDcRys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=q2aaewnArA2xI/cGomIbbI/0dYEo6gKU1iecFbXmP1dAdE/Hp3a1tr4N7ZTyRr1kEo /EzjvTs5K/zCxfz9Nodx59DY7pK0baNMga0sZwVn7LQGewwk1ysgPoQ345eqoYNWMaan h4D4T/Z+nT6M6xrHGa2+4LdxyupIqlzb3McOA= Received: by 10.187.213.19 with SMTP id p19mr290742faq.79.1221127145417; Thu, 11 Sep 2008 02:59:05 -0700 (PDT) Received: by 10.187.221.16 with HTTP; Thu, 11 Sep 2008 02:59:05 -0700 (PDT) Message-ID: <85c4b1850809110259w56f3439cua37359b3dc39f909@mail.gmail.com> Date: Thu, 11 Sep 2008 11:59:05 +0200 From: "Riaan Kruger" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Driver debugging help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 09:59:07 -0000 I am looking for hints to debug a driver I am working on. I get a page fault when running the driver intensively. The stack trace from the kernel dump only goes up to a free command which I suspect is being called from my driver. No matter what I do I cannot get a more "complete" stack trace. kgdb says something about the stack being corrupt when I do a backtrace/stack trace. Is there anything else I could use to help me pinpoint where I am going wrong? I have tried memguard but it has given me no information. Maybe I am using it incorrectly. Riaan