From owner-freebsd-bugs Wed Apr 5 19:10:07 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA08294 for bugs-outgoing; Wed, 5 Apr 1995 19:10:07 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA08285 ; Wed, 5 Apr 1995 19:10:04 -0700 Date: Wed, 5 Apr 1995 19:10:04 -0700 Message-Id: <199504060210.TAA08285@freefall.cdrom.com> From: starkhome!gene@sbstark.cs.sunysb.edu (Gene Stark) Reply-To: starkhome!gene@sbstark.cs.sunysb.edu (Gene Stark) To: freebsd-bugs Subject: bin/300: __fdnlist fails on kernels created by cc -g; strip -x In-Reply-To: Your message of Wed, 5 Apr 1995 22:02:43 -0400 <199504060202.WAA00290@starkhome.cs.sunysb.edu> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 300 >Category: bin >Synopsis: __fdnlist fails on kernels created by cc -g and strip -x >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 5 19:10:03 1995 >Originator: Gene Stark >Organization: >Release: FreeBSD 2.1.0-Development i386 >Environment: >Description: After making a kernel with "make DEBUG=-g", then applying "strip -x" to the result, then "make install", and finally booting from that kernel, what happens is that savecore, ifconfig, and kvm_mkdb exit on signal 11 during bootup. They die within a strcmp in __fdnlist trying to look up symbols in the kernel. They apparently seg fault following a bad pointer in the mmap()'ed kernel image. Apparently, there is some incompatibility with the output produced by "make DEBUG=-g; strip -x kernel", and what __fdnlist expects to see. >How-To-Repeat: cd /sys/compile/YOURSYS make DEBUG=-g strip -x kernel make install reboot >Fix: >Audit-Trail: >Unformatted: