From owner-freebsd-current Wed Oct 9 21:04:27 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA07738 for current-outgoing; Wed, 9 Oct 1996 21:04:27 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA07728; Wed, 9 Oct 1996 21:04:21 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.7.6/8.7.3) with ESMTP id VAA01047; Wed, 9 Oct 1996 21:04:19 -0700 (PDT) Message-Id: <199610100404.VAA01047@austin.polstra.com> To: Jeffrey Hsu Cc: current@freefall.freebsd.org, max@wide.ad.jp Date: Wed, 09 Oct 1996 21:04:19 -0700 From: John Polstra Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Thanks for the test program. I found the problem in the dynamic linker. It's this new code in dlsym(): static void * __dlsym(fd, sym) void *fd; char *sym; { struct so_map *smp = (struct so_map *)fd, *src_map = NULL; struct nzlist *np; long addr; /* * Restrict search to passed map if dlopen()ed. */ if (LM_PRIVATE(smp)->spd_flags & RTLD_DL) src_map = smp; The code doesn't take into account the fact that "smp" can be NULL. I will commit a fix ASAP. This could also (hopefully) be the cause of the core dumps that Masafumi reported from running kaffe. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth