[kde-linux] KDE-4.3.2 settings - Regional & Language

Dr. Edgar Alwers edgaralwers at gmx.de
Wed Dec 16 16:45:14 UTC 2009


Hi Duncan,

On Tuesday 15 December 2009 02:05:38 Duncan wrote:

> To get a list of kcms and their description, run this from a konsole
> window:
> 
> kcmshell4 --list
> 
List is OK

>
> kcmshell4 language
> 
sometimes it crashes after some few lines, sometimes it crashes immediately ( 
crashes means "nirvana", the konsole is death, nothing happens, I have to 
interrupt with a "string-c" )
> 
> strace -eopen -f kcmshell4 language
> 
crash also, the last lines beeing:
---------------------------------------------------
open("/home/kde4/.kde4/share/config/kdeglobals", O_RDONLY|O_LARGEFILE) = 21
open("/opt/kde-4.3.0/share/locale/en_US/entry.desktop", O_RDONLY|O_LARGEFILE) 
= 21
open("/home/kde4/.kde4/share/config/kdeglobals", O_RDONLY|O_LARGEFILE) = 21
open("/opt/kde-4.3.0/share/locale/en_US/entry.desktop", O_RDONLY|O_LARGEFILE) 
= 21
open("/home/kde4/.kde4/share/config/kdeglobals", O_RDONLY|O_LARGEFILE) = 21
open("/opt/kde-4.3.0/share/locale/l10n/de/entry.desktop", O_RDONLY|
O_LARGEFILE) = 21
----------------------------------------------------
and nothing more happens.

> 
> strace -eopen -f kcmshell4 langugage 2>&1 | grep /home/user
> 
similar behaviour, last lines:
-----------------------------------------------------
open("/home/kde4/.kde4/share/config/kdeglobals", O_RDONLY|O_LARGEFILE) = 21
open("/home/kde4/.kde4/share/config/kdeglobals", O_RDONLY|O_LARGEFILE) = 21
open("/home/kde4/.kde4/share/config/kdeglobals", O_RDONLY|O_LARGEFILE) = 21
open("/home/kde4/.kde4/share/config/kdeglobals", O_RDONLY|O_LARGEFILE) = 21
open("/home/kde4/.kde4/share/config/kdeglobals", O_RDONLY|O_LARGEFILE) = 21
----------------------------------------------------

> 
> strace -eopen -f kcmshell4 langugage 2>&1 | grep /home/user | grep -v
> 'lock'
> 
triggers a crash-handler after

*** glibc detected *** kcmshell4: free(): invalid pointer: 0x09944558 ***         
======= Backtrace: =========                                                      
/lib/libc.so.6[0xb6a6551b]                                                        
/lib/libc.so.6(cfree+0x9c)[0xb6a66e9c]                                            
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb6c228b1]                                  
/opt/qt-4.5.2/lib/libQtCore.so.4[0xb77d0c2d]                                      
/opt/qt-4.5.2/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x208)
[0xb77cd828]                                         
/opt/qt-4.5.2/lib/libQtCore.so.4(_ZN16QCoreApplication16sendPostedEventsEP7QObjecti+0x2d)
[0xb77cdabd]                                                               
/opt/qt-4.5.2/lib/libQtCore.so.4[0xb77f856f]                                      
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f1)[0xb63d4d41]              
/usr/lib/libglib-2.0.so.0[0xb63d83d3]                                             
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x71)[0xb63d8591]              
/opt/qt-4.5.2/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x58)
[0xb77f81b8]                              
/opt/qt-4.5.2/lib/libQtGui.so.4[0xb6e29585]                                       
/opt/qt-4.5.2/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x4a)
[0xb77cb29a]                                                  
/opt/qt-4.5.2/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xf2)
[0xb77cb6e2]                                                            
/opt/qt-4.5.2/lib/libQtGui.so.4(_ZN7QDialog4execEv+0x103)[0xb72769e3]             
/opt/kde-4.3.0/lib/libkdeinit4_kcmshell4.so(kdemain+0x13cd)[0xb7f3b9fd]           
kcmshell4[0x8048622]                                                              
/lib/libc.so.6(__libc_start_main+0xe5)[0xb6a115b5]                                
kcmshell4[0x8048561]     

and a longer "memory map".

> strace -eopen -f kcmshell4 langugage 2>&1 | grep /home/user | grep -v
> 'lock\|ENOENT'

This and all further commands did not work more at all. Activity frozen, 
string-c needed to get out.

HOWEVER:
looking at all the lines containing 	 
open("/home/kde4/.kde4/share/config/kdeglobals"
I took the risk of comment out "kdeglobals". After a restart of kde-4, I got a 
slightly changed desktop, but also the desired currency settings in 
"kmymoney". It solved my primary problem, but the "country/Region & Language" 
button of the KDE-Control module still crashes when intending to activate it. 
May be an installation problem in my self compiled kde-4.

Anyway, thank you again very much for your very interesting analysis, Duncan. 
I learned a lot.

Edgar



-- 
----------------------
Dr. Edgar Alwers
Weinheim



More information about the kde-linux mailing list