KDE4 load libicui18n.so.38 not found - can create system crash!

David Southwell david at vizion2000.net
Sat Jan 1 10:52:55 UTC 2011


>   _____
> 
> From: Sergio de Almeida Lenzi [mailto:lenzi.sergio at gmail.com]
> Sent: 31 December 2010 08:46
> To: David Southwell
> Cc: 'Kurt Jaeger'; freebsd-ports at freebsd.org
> Subject: RE: KDE4 load libicui18n.so.38 not found - can create system
> crash!
> 
> 
> for me, I solved this problem with this script, use: sh script
> libicui18n.s0.38
> it scans every lib in /usr/local  for the string libicui18n.so.38
> and than finds the package that has that lib,
> finally it builds the ports that have that string.
> 
> =======================================
> t=/tmp/$$
> find /usr/local -name "*.so" | \
> while read x
> do
> if grep $1 $x
> then
> pkg_info -qW $x >> $t
> echo found in $x
> fi
> done
> if [ -s $t ]
> then
> portmaster $(sort -u $t)
> fi
> rm -f $t
> ========================================
>  Seems a much more sensible approach than rebuilding all ports depending
> upon icu. On my system there are 250 targets using portupgrade -fr
> devel/icu My guess is your script would have considerably reduced the
> number of ports. However I am going to let it complete now the run is
> underway.
> 
> Any ideas why one gets a crash on a second attempt to startx? For more info
> see first posting in the thread.
> 
OK rebuilding devel/icu and all ports that depend upon it resolved the problem 
with the system and startx loads kde4 as normal.

However I am left with this nagging concern about why a complete system crash 
occured when following a first failure to load the second attempt caused an 
immediate system crash. 

So I am reposting the original script below.

Any ideas where to take this?

Thanks

David

_______________________________________________________

SCRIPT
_____________________________

Script started on Fri Dec 31 14:56:27 2010
You have mail.
%startx xauth:  creating new authority file /home/david/.serverauth.32995


X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-RELEASE-p3 amd64 
Current Operating System: FreeBSD dns1.vizion2000.net 7.2-RELEASE-p3 FreeBSD
7.2-RELEASE-p3 #0: Thu Aug 20 12:54:34 BST 2009
david at dns1.vizion2000.net:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 18 December 2010  11:28:21PM
 
Current version of pixman: 0.18.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 31 14:56:33 2010
(==) Using config file: "/etc/X11/xorg.conf"
failed to set mtrr: Invalid argument
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
kbuildsycoca4 running...
kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry Actions in
"ServiceMenus/krename_all_nonrec.desktop" is not compliant with XDG standard
(missing trailing semicolon). 
kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry Actions in
"ServiceMenus/krename_dir_rec.desktop" is not compliant with XDG standard
(missing trailing semicolon). 
kbuildsycoca4(33106)/kdecore (services) KServicePrivate::init: The desktop
entry file "Graphics/ElectricEyes.desktop" has an empty mimetype! 
kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry MimeType in
".hidden/kommander.desktop" is not compliant with XDG standard (missing
trailing semicolon). 
kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry Categories
in "/usr/local/share/applications/gcalctool.desktop" is not compliant with
XDG standard (missing trailing semicolon). 
kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry MimeType in
"/usr/local/share/applications/xmms.desktop" is not compliant with XDG
standard (missing trailing semicolon). 
kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry Categories
in "/usr/local/share/applications/gretl.desktop" is not compliant with XDG
standard (missing trailing semicolon). 
kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry Categories
in "/usr/local/share/applications/xsane.desktop" is not compliant with XDG
standard (missing trailing semicolon). 
kbuildsycoca4(33106)/kdecore (services) KServicePrivate::init: The desktop
entry file  "/usr/home/david/.local/share/applications/Shells.desktop"  has
Type= "Application"  but no Exec line 

kbuildsycoca4(33106) KBuildServiceFactory::createEntry: Invalid Service :
"/usr/home/david/.local/share/applications/Shells.desktop" 
kbuildsycoca4(33106) parseLayoutNode: The menu spec file contains a Layout
or DefaultLayout tag without the mandatory Merge tag inside. Please fix your
file. 
startkde: Starting up...
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kded(36752)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory:
Failed to establish shared memory mapping, will fallback to private memory
-- memory usage will increase 
QMetaObject::invokeMethod: No such method
KUniqueApplication::loadCommandLineOptionsForNewInstance()
kbuildsycoca4 running...
Fetched layout groups from X server:    layouts: ("us")         variants:
("") 
Fetched layout groups from X server:    layouts: ("us")         variants:
("") 
kglobalaccel(43911)/kdeui (KIconLoader)
KSharedDataCache::Private::mapSharedMemory: Failed to establish shared
memory mapping, will fallback to private memory -- memory usage will
increase 
QMetaObject::invokeMethod: No such method
KUniqueApplication::loadCommandLineOptionsForNewInstance()
QDBusObjectPath: invalid path ""
kcminit(44395)/kdeui (KIconLoader)
KSharedDataCache::Private::mapSharedMemory: Failed to establish shared
memory mapping, will fallback to private memory -- memory usage will
increase 
kded(36752)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it
was ':1.5'
Could not open library ksmserver: Cannot load library
/usr/local/kde4/lib/libkdeinit4_ksmserver.so: (Shared object
"libicui18n.so.38" not found, required by "libpulse-mainloop-glib.so.0")
/libexec/ld-elf.so.1: Shared object "libicui18n.so.38" not found, required
by "libpulse-mainloop-glib.so.0"
startkde: Shutting down...
klauncher: Exiting on signal 1
kde3: not found
kde3: not found
startkde: Running shutdown scripts...
startkde: Done.
 waiting for X server to shut down kded4: Fatal IO error: client killed

 %exit 
Script done on Fri Dec 31 14:57:58 2010



Any ideas

Photographic Artist
Permanent Installations & Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography & Official Portraiture
Combined darkroom & digital creations
& Systems Adminstrator for the vizion2000.net network


More information about the freebsd-ports mailing list