Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5328 - Kde Crashes Hard, and brings down my whole system
Summary: Kde Crashes Hard, and brings down my whole system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-21 00:59 UTC by david mattatall
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david mattatall 2002-07-21 00:59:26 UTC
Compiled using Gcc 2.95.3, use flags "-march=i686 -O3 
-fexpensive-optimizations
-frerun-loop-opt -fomit-frame-pointer -frerun-cse-after-loop"

I can run certain Qt and KDE apps with no consequence, kuser, qtella, kopete 
and little apps like that work fine. But it seems as though base KDE 
programs like Kmenu, konq and kmail certainly like locking my system up.

I have been in icewm for the past 6 or 7 days because of this. I have 
recompiled kde a few times with no change in stability. I have erased my 
.kde dir and checked the logs. It doesn't seem like anything conspicuous 
stuff is going on, all I know is that I can't use KDE and am really pissed 
about it.
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-07-21 09:07:07 UTC
You're almost certainly overoptimizing your system. Excessive optimization can   
reduce perfectly correct code to broken status. I'd suggest you limit yourself   
to -O3 -march=whatever -fomit-frame-pointer; anything else is risky and besides   
almost certainly won't bring about a really noticeable increase in speed. If   
you really need extra speed, try building a gcc3-based system (the 1.3 release   
series); for some processors (fex. athlons) it creates much faster code than   
gcc2 does.  
  
Recompile KDE with more conservative flags, better yet your whole system. You  
may lose a percent or two in speed but you'll gain a lot in stability, even in 
the event that what you're expiriencing isn't being caused by overoptimization 
(which is IMO unlikely). 
Comment 2 david mattatall 2002-07-22 02:58:11 UTC
I just recompiled KDE with pratically no flags whatsoever and it appears that 
that isn't the case....sadly. I wish there was some obvios solution, but I 
have tried everything in my power to resolve this problem and still nothing.
Comment 3 david mattatall 2002-07-23 21:52:07 UTC
Um this is a fairly critical bug. No one can help?
Comment 4 david mattatall 2002-07-27 15:23:44 UTC
After much crashing I have realized that the thing crashing my system is not kde per se..... 
It is definitly konqueror and possibly kmail. This is quite an annoying bug and I can't believe 
that no one else out there is experiencing the same thing. I will use opera and slypeed....but 
I shouldn't need to.
Comment 5 Dan Armak (RETIRED) gentoo-dev 2002-07-29 16:56:10 UTC
I'm sorry that I can't suggest anything but there are no symptoms to go on. The idea of overoptimization may still hold if you've overoptimized something other than kde, a library or something. But that's farfetched.  Run konqueror/kmail from a termianl if you haven't tried it yet, maybe there's some useful message before it locks up?  A userspace app shouldn't be able to hard-lock the entire system, maybe change your kernel or kernel conf or something?  Compile kde with debugging (export DEBUG=1 and e.g. CXXFLAG,CFLAGS=-O0 -g3), get a traceback of the crash (again running from a cosole) and submit to bugs.kde.org? 
Comment 6 Dan Armak (RETIRED) gentoo-dev 2002-08-31 13:42:21 UTC
What's your status? Any good news? Maybe you should try kde cvs? 
Comment 7 david mattatall 2002-09-01 00:07:35 UTC
Oh yeah, the status is that I am a freaking idiot. :)  I did somthing I should've tried a LONG time ago and it fixed the problem. I erased my /etc/X11/XFree86Config file and rewrote if from scratch adding one module/option at a time. Turns out my config was telling certain things to take over certain duties (apggart as oppest to nvagp) and that screwed somthings up. Now I really have no idea why this effected only kmail and konq, but I assume that khtml or fast writeing or somthing like that was the perp. Anywho I'm an idiot. Have a nice day. 
Comment 8 Dan Armak (RETIRED) gentoo-dev 2002-09-04 08:55:26 UTC
Well - shit happens. At least it's solved now. Have a nice day :-)