From owner-freebsd-current@FreeBSD.ORG Sun Nov 1 10:39:28 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 D50831065670 for ; Sun, 1 Nov 2009 10:39:28 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 6D3598FC08 for ; Sun, 1 Nov 2009 10:39:28 +0000 (UTC) Received: from current.Sisis.de (ppp-88-217-48-99.dynamic.mnet-online.de [88.217.48.99]) by dd12710.kasserver.com (Postfix) with ESMTP id E744D184F85C3; Sun, 1 Nov 2009 11:39:26 +0100 (CET) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id nA1AdYeu003023; Sun, 1 Nov 2009 11:39:34 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 1 Nov 2009 11:39:34 +0100 From: Matthias Apitz To: Robert Watson Message-ID: <20091101103934.GA3004@current.Sisis.de> References: <20091030151754.GA5849@current.Sisis.de> <20091101072629.GA2334@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) 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 Reply-To: Matthias Apitz 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:39:29 -0000 El día Sunday, November 01, 2009 a las 10:32:24AM +0000, Robert Watson escribió: > > 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 Here we go: $ readelf -l /usr/local/bin/start_kdeinit_wrapper Elf file type is EXEC (Executable file) Entry point 0x8048480 There are 6 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align PHDR 0x000034 0x08048034 0x08048034 0x000c0 0x000c0 R E 0x4 INTERP 0x0000f4 0x080480f4 0x080480f4 0x00015 0x00015 R 0x1 [Requesting program interpreter: /libexec/ld-elf.so.1] LOAD 0x000000 0x08048000 0x08048000 0x006a8 0x006a8 R E 0x1000 LOAD 0x0006a8 0x080496a8 0x080496a8 0x00104 0x0010c RW 0x1000 DYNAMIC 0x0006b8 0x080496b8 0x080496b8 0x000c0 0x000c0 RW 0x4 NOTE 0x00010c 0x0804810c 0x0804810c 0x00018 0x00018 R 0x4 Section to Segment mapping: Segment Sections... 00 01 .interp 02 .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version .gnu.version_ r .rel.plt .init .plt .text .fini .rodata 03 .data .eh_frame .dynamic .ctors .dtors .jcr .got .bss 04 .dynamic 05 .note.ABI-tag > >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). NAK, userland and kernel is: $ 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 Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu