From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 28 06:29:31 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A612B16A417 for ; Fri, 28 Dec 2007 06:29:31 +0000 (UTC) (envelope-from sharadc@in.niksun.com) Received: from in.niksun.com (210.18.76.166.sify.net [210.18.76.166]) by mx1.freebsd.org (Postfix) with ESMTP id 3CDCF13C458 for ; Fri, 28 Dec 2007 06:29:31 +0000 (UTC) (envelope-from sharadc@in.niksun.com) Received: from sharadc.in.niksun.com (unknown [10.60.5.27]) by in.niksun.com (Postfix) with ESMTP id F28785D3A; Fri, 28 Dec 2007 11:45:14 +0530 (IST) From: Sharad Chandra Organization: NIKSUN To: freebsd-hackers@freebsd.org Date: Fri, 28 Dec 2007 11:27:52 +0530 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712281127.53084.sharadc@in.niksun.com> Cc: chandrabhagat@gmail.com Subject: trap 12 with interrupts disabled, need help X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 06:29:31 -0000 Hi, I got a message on first boot "pid (): trap 12 with interrupts disabled", then it hanged and hard boot is required. It does not appears all the time. I tried to figure out the problem, trap 12 is stack exception, find at the last http://www.acm.uiuc.edu/sigops/roll_your_own/i386/idt.html and is coming from kernel, The location of this message is /usr/src/ sys/amd64/amd64/trap.c: "pid %ld (%s): trap %d with interrupts disabled\n", What does this exception mean, and what could be possible reason that my program is doing wrong? How to handle it Platform: freebsd 6.1 on amd64 -- Thanks Sharad Chandra