From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 23 21:44:46 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D82916A4CE for ; Thu, 23 Dec 2004 21:44:46 +0000 (GMT) Received: from linux01.gwdg.de (linux01.gwdg.de [134.76.13.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6ED643D2D for ; Thu, 23 Dec 2004 21:44:45 +0000 (GMT) (envelope-from jengelh@linux01.gwdg.de) Received: from linux01.gwdg.de (localhost [127.0.0.1])iBNLiirg024096 for ; Thu, 23 Dec 2004 22:44:44 +0100 Received: from localhost (jengelh@localhost) by linux01.gwdg.de (8.12.7/8.12.7/Submit) with ESMTP id iBNLihJs024092 for ; Thu, 23 Dec 2004 22:44:43 +0100 Date: Thu, 23 Dec 2004 22:44:43 +0100 (MET) From: Jan Engelhardt To: freebsd-hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Kernel crash w/o reason X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 21:44:46 -0000 Hello list, for some reason, the Freebsd (5.3) kernel crashes whenever I do "simple operations", in conjunction with a (self-written) kernel module. I have trimmed the original program down from approx 120 KB to the 7 KB (lots of spacing and tabs :) to follow the common advise to find the shortest codepiece showing the problem. Well, you can retrieve the short prog at http://linux01.org/~jengelh/BUG.tbz2 Both files (rpldev.c and rpld.c) seem perfectly fine, but ... see rpld.c for the details of the crash. Hope someone can shed some light on this. Thanks, Jan Engelhardt -- ENOSPC