Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fluxbox segmentation fault
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
ScaredFreakyGuy
n00b
n00b


Joined: 16 Apr 2003
Posts: 40
Location: Texas, USA

PostPosted: Tue Mar 09, 2004 8:24 pm    Post subject: Fluxbox segmentation fault Reply with quote

'Allo!

My box just started seg faulting when i exec fluxbox. I recently upgraded to fluxbox-0.9.8-rc1 (couple of days ago, i think), but I'm just now getting these segmentation faults. I've already recompiled fluxbox, stepped it down a version, rebooted, etc., but I still no go. Also, the x server is running like a champ, and I can run x apps with no problems.

Are more details logged somewhere so I can figure out what the hey is going is on here? And what IS a segmentation fault, anyway? Thanks in advance! :wink:

-ScaredFreakyGuy
Back to top
View user's profile Send private message
_Nomad_
Guru
Guru


Joined: 11 Apr 2003
Posts: 571

PostPosted: Tue Mar 09, 2004 8:28 pm    Post subject: Reply with quote

Segmantation faults can occur for many reasons... In my experience it's mostly related to your cflags settings, So I would suggest that you reemerge fluxbox with a little more conservative cflags... if you're using -O3 maybe you'd wan't to change it to -O2 and try again...
Back to top
View user's profile Send private message
ScaredFreakyGuy
n00b
n00b


Joined: 16 Apr 2003
Posts: 40
Location: Texas, USA

PostPosted: Tue Mar 09, 2004 9:12 pm    Post subject: Reply with quote

Thanks for the pointer! I love linux ... i can feel my IQ rising as I type :P

As it turns out, I had removed my CFLAGS to "fix" another "problem" and I'd forgotten to restore them! I set them back to "-03 mcpu=i686 -fomit-frame-pointer" and recompiled ... still seg faulting. So I set it to "-02 ...." and it's still seg faulting.

In regard to the CFLAGS being unset, I recall having executed an "emerge -uv world" in the interim ... is it possible I may have really borked a dependency? I just did an "emerge -epv world" ... didn't look too daunting ... maybe the way to go to fix it?

-ScaredFreakyGuy
Back to top
View user's profile Send private message
ScaredFreakyGuy
n00b
n00b


Joined: 16 Apr 2003
Posts: 40
Location: Texas, USA

PostPosted: Tue Mar 09, 2004 10:37 pm    Post subject: Reply with quote

Ohhh the n00b label next to my name is glaring oh so bright ...

Since doing an ACCEPT_KEYWORDS="~x86" emerge -uv world the other day, every program I compile results in a segmentation fault when executed.

Recompiling GCC ... let you know how it works out.

-ScaredFreakyGuy
Back to top
View user's profile Send private message
ScaredFreakyGuy
n00b
n00b


Joined: 16 Apr 2003
Posts: 40
Location: Texas, USA

PostPosted: Wed Mar 10, 2004 2:15 pm    Post subject: Reply with quote

w00t!! recompiling gcc resolved the issue ... something having to do with the linker for gcc (ld) ... oh well, it works now!

-ScaredFreakyGuy
Back to top
View user's profile Send private message
_Nomad_
Guru
Guru


Joined: 11 Apr 2003
Posts: 571

PostPosted: Wed Mar 10, 2004 3:30 pm    Post subject: Reply with quote

Glad to see you solved it... :D
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