[kde-freebsd] Any KDE 4.10.5 component segfault

David Demelier demelier.david at gmail.com
Wed Jul 10 07:03:51 UTC 2013


2013/7/10 Raphael Kubo da Costa <rakuco at freebsd.org>:
> David Demelier <demelier.david at gmail.com> writes:
>
>> Hello,
>>
>> I've updated KDE 4.10.5 from my poudriere so it rebuilds almost
>> everything since there was a kdelibs update,
>>
>> unfortunately, now nothing work anymore. I get a lot of vm_fault:
>> pager read error
>>
>> like this :
>>
>> Jul  9 11:50:40 InfoSLF7 kernel: vm_fault: pager read error, pid 1424 (konsole)
>> Jul  9 11:50:41 InfoSLF7 kernel: vm_fault: pager read error, pid 1424 (konsole)
>> Jul  9 11:50:41 InfoSLF7 kernel: Failed to write core file for process
>> konsole (error 14)
>> Jul  9 11:50:41 InfoSLF7 kernel: pid 1424 (konsole), uid 1001: exited
>> on signal 11
>
> I've never seen this crash before.
>

Me neither.

> What FreeBSD version are you running? Do you get any meaningful
> backtrace with gdb or a valgrind log? How about Qt-only applications?

gdb does not give much information as we didn't build KDE with debug
symbols.. All I can give is this :

#0  0x000000080281779b in KSharedDataCache::insert () from
/usr/local/kde4/lib/libkdecore.so.7
#1  0x0000000802813672 in KSharedDataCache::KSharedDataCache () from
/usr/local/kde4/lib/libkdecore.so.7
#2  0x0000000801e64e8b in KIconLoader::addAppDir () from
/usr/local/kde4/lib/libkdeui.so.7
#3  0x0000000801e65789 in KIconLoader::KIconLoader () from
/usr/local/kde4/lib/libkdeui.so.7
#4  0x0000000801e6591a in KIconLoader::global () from
/usr/local/kde4/lib/libkdeui.so.7
#5  0x0000000801e5f383 in KIcon::KIcon () from /usr/local/kde4/lib/libkdeui.so.7
#6  0x0000000800aec84f in
Konsole::SessionController::setupPrimaryScreenSpecificActions () from
/usr/local/kde4/lib/libkonsoleprivate.so
#7  0x0000000800b204c2 in Konsole::ViewProperties::~ViewProperties ()
from /usr/local/kde4/lib/libkonsoleprivate.so
#8  0x00007fffffffd5e0 in ?? ()
#9  0x0000000800752ae0 in ?? ()
#10 0x0000000000000000 in ?? ()
#11 0x0000000800a7fe76 in _init () from /usr/local/kde4/lib/libkonsoleprivate.so
#12 0x0000000800752ae0 in ?? ()
#13 0x00000008006066a1 in dlinfo () from /libexec/ld-elf.so.1
#14 0x0000000800609085 in dlsym () from /libexec/ld-elf.so.1
#15 0x0000000800601f89 in .text () from /libexec/ld-elf.so.1

valgrind produces the following output:

markand at InfoSLF7 ~ $ valgrind /usr/local/kde4/bin/konsole
==1105== Memcheck, a memory error detector
==1105== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==1105== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==1105== Command: /usr/local/kde4/bin/konsole
==1105==
--1105-- WARNING: Serious error when reading debug info
--1105-- When reading debug info from
/var/tmp/kdecache-markand/icon-cache.kcache:
--1105-- can't read file to inspect ELF header
==1105==
==1105== Process terminating with default action of signal 11
(SIGSEGV): dumping core
==1105==  Access not within mapped region at address 0x10D6E004
==1105==    at 0x320879B: ??? (in /usr/local/kde4/lib/libkdecore.so.7.0.1)
==1105==    by 0x3204671: KSharedDataCache::KSharedDataCache(QString
const&, unsigned int, unsigned int) (in
/usr/local/kde4/lib/libkdecore.so.7.0.1)
==1105==    by 0x2855E8A: ??? (in /usr/local/kde4/lib/libkdeui.so.7.0.1)
==1105==    by 0x2856788: KIconLoader::KIconLoader(KComponentData
const&, QObject*) (in /usr/local/kde4/lib/libkdeui.so.7.0.1)
==1105==    by 0x2856919: KIconLoader::global() (in
/usr/local/kde4/lib/libkdeui.so.7.0.1)
==1105==    by 0x2850382: KIcon::KIcon(QString const&) (in
/usr/local/kde4/lib/libkdeui.so.7.0.1)
==1105==    by 0x14DD84E: ??? (in /usr/local/kde4/lib/libkonsoleprivate.so)
==1105==    by 0x15114C1: ??? (in /usr/local/kde4/lib/libkonsoleprivate.so)
==1105==    by 0x1470E75: ??? (in /usr/local/kde4/lib/libkonsoleprivate.so)
==1105==    by 0x162B9F: ???
==1105==    by 0x166A0: ??? (in /libexec/ld-elf.so.1)
==1105==    by 0x19084: ??? (in /libexec/ld-elf.so.1)
==1105==  If you believe this happened as a result of a stack
==1105==  overflow in your program's main thread (unlikely but
==1105==  possible), you can try to increase the size of the
==1105==  main thread stack using the --main-stacksize= flag.
==1105==  The main thread stack size used in this run was 16777216.

For Qt only applications, I've tried Qt designer and tiled both work flawlessly.

All KDE components crashes with the same backtrace.

Cheers,

--
Demelier David


More information about the kde-freebsd mailing list