Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Segmentation fault caused by kcminit and several kdeprograms
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
vlow
n00b
n00b


Joined: 27 Jan 2005
Posts: 67
Location: Munich, Germany

PostPosted: Thu Jan 27, 2005 4:25 pm    Post subject: Segmentation fault caused by kcminit and several kdeprograms Reply with quote

My system causes segmentation faults, whereas kcminit crashes on kde start.
kcminit --nocrashhandler says "Segmentation fault". But testing every single module, just the kgamma module crashes: Segmentation fault. keyboard_layout says:
Code:
kdecore (KLibLoader): WARNING: KLibrary: /usr/kde/3.4/lib/kde3/kcm_keyboard.so: undefined symbol: init_keyboard_layout


The interesting thing is: kcmshell kgamma just shows me an empty window, kcmshell display --nocrashhandler says "Segmentation fault", too.

I first got this problem with KDE 3.4 BETA 1, so I emerged KDE without ~x86 (3.3.2) but I still got the same error. I tried all stuff I found, even memtest86, but everything seems ok.

Any ideas ?

thank you
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Fri Jan 28, 2005 12:05 pm    Post subject: KDE segfaulting Reply with quote

Maybe your CXXFLAGS are too aggressive?

you could try something safe, like: -O2 -fomit-frame-point -pipe -arch=<yourcpu>

/kiksen
Back to top
View user's profile Send private message
vlow
n00b
n00b


Joined: 27 Jan 2005
Posts: 67
Location: Munich, Germany

PostPosted: Fri Jan 28, 2005 2:56 pm    Post subject: Reply with quote

I got the following flags:

Code:
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"


Do I have to change just the CXXFLAGS or both (just CFLAGS, since the settings are reflected by CXXFLAGS) ?

Thanks !
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Fri Jan 28, 2005 8:19 pm    Post subject: kde segfaulting Reply with quote

Hi.

You don't have to change your CXXFLAGS unless you want it to differ from your CFLAGS.

And your flags are not aggressive so I'm rather sure they aren't the cause here.

if you try

#revdep-rebuild -p

does it then show a lot of broken packages (or some of interest)? If so, you could try running it with out -p.

Another suggestion.. does

#emerge --newuse -p world show a lot of changes due to use flag modifications? If so, running that update too might get you somewhere.

/kiksen
Back to top
View user's profile Send private message
vlow
n00b
n00b


Joined: 27 Jan 2005
Posts: 67
Location: Munich, Germany

PostPosted: Sat Jan 29, 2005 10:55 am    Post subject: Reply with quote

Quote:
if you try

#revdep-rebuild -p


... I get "command not found". Could it be that I have to emerge something else, before i can use that ?

The newuse thing tells me just "useless" stuff like openoffice & xine, but two system applications ncurses & db. I might try this now.

Thanks
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Sat Jan 29, 2005 12:55 pm    Post subject: kde segfaulting Reply with quote

Hi.

you need to

#emerge gentoolkit

to get revdep-rebuild

/kiksen
Back to top
View user's profile Send private message
vlow
n00b
n00b


Joined: 27 Jan 2005
Posts: 67
Location: Munich, Germany

PostPosted: Sun Jan 30, 2005 2:23 pm    Post subject: Reply with quote

ok, I did all this, but none of it had an effect on my problem.... any other suggestions?
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Sun Jan 30, 2005 4:56 pm    Post subject: kde segfaulting Reply with quote

Hi.

I'm afraid I haven't got any good suggestions. If you're system is built with ~x86 than that might be the cause.

If it isn't, you can try

#emerge -e kde

to rebuild everything kde depends upon, but it *will* run for half an eternity...

/kiksen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum