[kde-freebsd] after compiling x11/kde4 problems with /usr/local/bin/startkde (SOLVED)

Robert Watson rwatson at FreeBSD.org
Sun Nov 1 11:32:24 CET 2009


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


More information about the kde-freebsd mailing list