View previous topic :: View next topic |
Author |
Message |
vlow n00b
Joined: 27 Jan 2005 Posts: 67 Location: Munich, Germany
|
Posted: Thu Jan 27, 2005 4:25 pm Post subject: Segmentation fault caused by kcminit and several kdeprograms |
|
|
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 |
|
|
kiksen Guru
Joined: 24 Jun 2002 Posts: 401 Location: Denmark
|
Posted: Fri Jan 28, 2005 12:05 pm Post subject: KDE segfaulting |
|
|
Maybe your CXXFLAGS are too aggressive?
you could try something safe, like: -O2 -fomit-frame-point -pipe -arch=<yourcpu>
/kiksen |
|
Back to top |
|
|
vlow n00b
Joined: 27 Jan 2005 Posts: 67 Location: Munich, Germany
|
Posted: Fri Jan 28, 2005 2:56 pm Post subject: |
|
|
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 |
|
|
kiksen Guru
Joined: 24 Jun 2002 Posts: 401 Location: Denmark
|
Posted: Fri Jan 28, 2005 8:19 pm Post subject: kde segfaulting |
|
|
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 |
|
|
vlow n00b
Joined: 27 Jan 2005 Posts: 67 Location: Munich, Germany
|
Posted: Sat Jan 29, 2005 10:55 am Post subject: |
|
|
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 |
|
|
kiksen Guru
Joined: 24 Jun 2002 Posts: 401 Location: Denmark
|
Posted: Sat Jan 29, 2005 12:55 pm Post subject: kde segfaulting |
|
|
Hi.
you need to
#emerge gentoolkit
to get revdep-rebuild
/kiksen |
|
Back to top |
|
|
vlow n00b
Joined: 27 Jan 2005 Posts: 67 Location: Munich, Germany
|
Posted: Sun Jan 30, 2005 2:23 pm Post subject: |
|
|
ok, I did all this, but none of it had an effect on my problem.... any other suggestions? |
|
Back to top |
|
|
kiksen Guru
Joined: 24 Jun 2002 Posts: 401 Location: Denmark
|
Posted: Sun Jan 30, 2005 4:56 pm Post subject: kde segfaulting |
|
|
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 |
|
|
|