From owner-freebsd-current@FreeBSD.ORG Sun Nov 1 13:17:44 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDF8910656CD for ; Sun, 1 Nov 2009 13:17:44 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id C45418FC13 for ; Sun, 1 Nov 2009 13:17:44 +0000 (UTC) Received: from [192.168.2.101] (host217-43-176-60.range217-43.btcentralplus.com [217.43.176.60]) by cyrus.watson.org (Postfix) with ESMTPSA id E1D9946B29; Sun, 1 Nov 2009 08:17:43 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: "Robert N. M. Watson" In-Reply-To: <20091101130820.GA3658@current.Sisis.de> Date: Sun, 1 Nov 2009 13:17:41 +0000 Content-Transfer-Encoding: 7bit Message-Id: <8514BDB1-FB1B-4B7F-8050-ED01D446B07F@FreeBSD.org> References: <20091030151754.GA5849@current.Sisis.de> <20091101072629.GA2334@current.Sisis.de> <20091101103934.GA3004@current.Sisis.de> <20091101130820.GA3658@current.Sisis.de> To: Matthias Apitz X-Mailer: Apple Mail (2.1076) Cc: kde-freebsd@kde.org, freebsd-current@FreeBSD.org Subject: Re: [kde-freebsd] after compiling x11/kde4 problems with /usr/local/bin/startkde (SOLVED) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 13:17:45 -0000 On 1 Nov 2009, at 13:08, Matthias Apitz wrote: >>> $ uname -a FreeBSD vm-azul.Sisis.de 9.0-CURRENT FreeBSD 9.0- >>> CURRENT #0 >>> r197801: Mon Oct 12 13:33:32 CEST 2009 >>> guru@vm-azul.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386 >> >> Sounds like an upgrade should fix this -- if not, please let us >> know ASAP >> as it might be an issue for 8.0 as well. > > Robert, do you have an idea why this (with the same kernel/userland) > only shows up after installing the port x11/kde4? KDE uses some pre-linking techniques to reduce startup time for applications; I'm not sure what the current version of the code does exactly, but it wouldn't surprise me if it involves PIE executables, which were known to have problems with our null-mapping prevention until recent bug fixes to rtld. If the problem goes away with an upgrade to a new userspace/kernel, I wouldn't worry too much about it. We added the null-mapping prevention a few weeks ago, and later discovered it interacted badly with bugs in our handling of PIE in- kernel and in rtld. Most likely (if the problem goes away with an upgrade), you just ended up with a bad combination of the two that was resolved. Robert