Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crashes more than windows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Tue Jun 04, 2002 8:52 am    Post subject: Crashes more than windows Reply with quote

Both myself and my cousin have experienced a lot more problems with desktop applications in Gentoo. Summary of some things I've noticed that I never had under Manrdake or other distro's:
* Some programs after compilation from source quit immediately with a segmentation fault (xfs is one such program)
* KDE on my cousin's system completely froze. Mouse still moved but the desktop, and X, stopped responding (no ctrl-alt-backspace). Linux had not crashed. This was not unique because not too much later the same thing happened to me while in KDE.
* Galeon when I choose "Exit with session" crashes every time.
* Other problems, the above are the ones I remember at the moment.

Is anyone else experiencing the same problems, or know how to prevent them? I compiled Gentoo with:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"

But more recently have changed to this, but most applications are not compiled with the new settings:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"

So, any suggestions of what's going wrong (since my cousin's system experiences the same problems I think it must be a setting or something)?
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Tue Jun 04, 2002 10:08 am    Post subject: Reply with quote

Well I don't have the problem (few months ago I also used i686 and O3 for my athlon system and everything worked fine, well almost everything, apart from some minor glitches), but it definitly depends on your compiler flags, but by using -fomit-frame-pointer you probably make it worse.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
c_kuzmanic
Guru
Guru


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Tue Jun 04, 2002 12:12 pm    Post subject: Reply with quote

Changing optimization flags without re-emerging the system is a bad idea.
Back to top
View user's profile Send private message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Tue Jun 04, 2002 1:15 pm    Post subject: Reply with quote

The problem is, on my cousin's system I didn't change his optimisation flags at all, they are still the same as the initial optimisations that I used. So it's not the result of changing the flags mid-way.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Tue Jun 04, 2002 1:46 pm    Post subject: Reply with quote

sounds like bad memory / two sticks not working too well together to me... but if it worked fine in mandrake before that's probably not it ;)


are X only programs crashing?..
Back to top
View user's profile Send private message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Tue Jun 04, 2002 2:02 pm    Post subject: Reply with quote

neuron wrote:
sounds like bad memory / two sticks not working too well together to me... but if it worked fine in mandrake before that's probably not it ;)


are X only programs crashing?..


It's not bad memory since my cousin has similar/same problems and we installed gentoo at the same time.

I don't think it's just X programs, but I'm not 100% certain, since I can't remember any crashing. I have been using X mostly at the moment.
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Tue Jun 04, 2002 3:17 pm    Post subject: Reply with quote

Your thread title is "crashes more then windows", and yet you haven't mentioned a single instance where Linux has crashed for you. There is clearly a difference between an operating system and programs that run on an opererating system (or crash in your case ;).

If there are specific problems with programs you may want to tackle them one at a time. If you're having a lot of problems you could always try a stage 1 install as it seems people are having more luck with it.
Back to top
View user's profile Send private message
c_kuzmanic
Guru
Guru


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Tue Jun 04, 2002 8:47 pm    Post subject: Reply with quote

Are you guys running emerge clean frequently? Old packages can cause problems/instability.

In any case, it sounds like you guys are missing something really essential and that this is just a case of a bad configuration.
Back to top
View user's profile Send private message
Cr0t
l33t
l33t


Joined: 27 Apr 2002
Posts: 882
Location: USA

PostPosted: Tue Jun 04, 2002 10:56 pm    Post subject: Reply with quote

If you have RAM problems you should d/l memtest86 it checks for bad sticks. http://www.teresaudio.com/memtest86/
_________________
cya
    ©®0t
Back to top
View user's profile Send private message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Wed Jun 05, 2002 12:11 am    Post subject: Reply with quote

Malakin wrote:
Your thread title is "crashes more then windows", and yet you haven't mentioned a single instance where Linux has crashed for you. There is clearly a difference between an operating system and programs that run on an opererating system (or crash in your case ;).


Yeah, I just wanted a catchy heading. I am certain linux itself is not crashing, just applications running on it.

Malakin wrote:

If there are specific problems with programs you may want to tackle them one at a time. If you're having a lot of problems you could always try a stage 1 install as it seems people are having more luck with it.


I installed as a stage 1 install, so that won't solve the problem, not unless I change my flags I guess.
Back to top
View user's profile Send private message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Wed Jun 05, 2002 12:12 am    Post subject: Reply with quote

c_kuzmanic wrote:
Are you guys running emerge clean frequently? Old packages can cause problems/instability.

In any case, it sounds like you guys are missing something really essential and that this is just a case of a bad configuration.


I only just installed this system about a week ago, so the packages were very fresh. Any suggestions on what the bad configuration may be? That's sort of why I posted this message, in the hopes that anyone had a useful suggestion of where the problem may be. If I just go and do a stage 1 install again, the problems will repeat, since my cousin and I installed the same time with similar config (I used reiserfs and he used ext3).
Back to top
View user's profile Send private message
c_kuzmanic
Guru
Guru


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Wed Jun 05, 2002 12:16 am    Post subject: Reply with quote

Glad to help. But what we need is a detailed account of your hardware, also post the output of dmesg if you could please.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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