From owner-freebsd-current@FreeBSD.ORG Sun Nov 1 10:32:25 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 09A181065670 for ; Sun, 1 Nov 2009 10:32:25 +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 D92EF8FC15 for ; Sun, 1 Nov 2009 10:32:24 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 926F646B06; Sun, 1 Nov 2009 05:32:24 -0500 (EST) Date: Sun, 1 Nov 2009 10:32:24 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Matthias Apitz In-Reply-To: <20091101072629.GA2334@current.Sisis.de> Message-ID: References: <20091030151754.GA5849@current.Sisis.de> <20091101072629.GA2334@current.Sisis.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 10:32:25 -0000 On Sun, 1 Nov 2009, Matthias Apitz wrote: >> i.e. it brings up this xmessage box and in the log files I can see that >> 'start_kdeinit_wrapper' SIGABORT's. The KDE desktop itself comes up fine. >> This is, as I said, after compiling the port x11/kde4. The file >> /usr/local/bin/start_kdeinit_wrapper is not touched by the port x11/kde4 >> and neither the shared libs it is depending: >> >> $ ldd /usr/local/bin/start_kdeinit_wrapper >> /usr/local/bin/start_kdeinit_wrapper: >> libjpeg.so.10 => /usr/local/lib/libjpeg.so.10 (0x2808e000) >> libc.so.7 => /lib/libc.so.7 (0x280c2000) Could you show us readelf -l /usr/local/bin/start_kdeinit_wrapper > it does not abort when you set > > # sysctl security.bsd.map_at_zero=1 > security.bsd.map_at_zero: 0 -> 1 > > I think that security.bsd.map_at_zero was already 0 before compiling > x11/kde4, i.e. no part of KDE4 changed this sysctl value; so it remains > open, what caused this effect, but at least it is working again; Could you confirm you are running with a userspace/kernel of at least r198203 (the date of the last PIE-related fix following a move to disallowing NULL mappings). Robert