From owner-cvs-src@FreeBSD.ORG Thu May 17 01:34:40 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1851A16A400; Thu, 17 May 2007 01:34:40 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.184]) by mx1.freebsd.org (Postfix) with ESMTP id F1AE013C43E; Thu, 17 May 2007 01:34:39 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin04-en2 [10.13.10.149]) by smtpout.mac.com (Xserve/smtpout14/MantshX 4.0) with ESMTP id l4H1FnMN014718; Wed, 16 May 2007 18:15:49 -0700 (PDT) Received: from [10.255.255.56] (unassigned-114.072.netsurf.net [66.135.114.72] (may be forged)) (authenticated bits=0) by mac.com (Xserve/smtpin04/MantshX 4.0) with ESMTP id l4H1Fkf2008876 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 16 May 2007 18:15:47 -0700 (PDT) In-Reply-To: <20070516193428.1ac814e4@kan.dnsalias.net> References: <200705162324.l4GNOFRo071380@repoman.freebsd.org> <20070516193428.1ac814e4@kan.dnsalias.net> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2DCEA45F-CF40-4B5F-B944-38A312B1200A@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Wed, 16 May 2007 21:15:40 -0400 To: Alexander Kabaev X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: cvs-src@FreeBSD.org, Marcel Moolenaar , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/libexec/rtld-elf Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2007 01:34:40 -0000 On May 16, 2007, at 7:34 PM, Alexander Kabaev wrote: > On Wed, 16 May 2007 23:24:15 +0000 (UTC) > Marcel Moolenaar wrote: > >> marcel 2007-05-16 23:24:15 UTC >> >> FreeBSD src repository >> >> Modified files: >> libexec/rtld-elf Makefile >> Log: >> Don't enable symbol versioning on ia64 for now. It causes >> symbol lookup failures that later result in null-pointer >> dereferences. This needs looking into, but since we're >> close to release it's possible that it's not resolved before >> that time. >> >> Revision Changes Path >> 1.41 +2 -0 src/libexec/rtld-elf/Makefile >> >> http://cvsweb.FreeBSD.org/src/libexec/rtld-elf/Makefile.diff? >> r1=1.40&r2=1.41 > > I definitely would prefer a detailed bug report instead of such > unilateral actions taken by you without consulting anyone. A sense of responsibility... Ok, then: Any and all shared linked executable dump core with a SIGSEGV. This is caused by a null-pointer dereference in path_enumerate() when it tries to call the path_enum_proc typed callback. That argument is NULL when called from search_library_path(), when given try_library_path as the callback function. When rtld-elf is compiled without symbol versioning this works, which seems to indicate that the introduction of symbol versioning results in a lookup failure. -- Marcel Moolenaar xcllnt@mac.com