View previous topic :: View next topic |
Author |
Message |
ScaredFreakyGuy n00b


Joined: 16 Apr 2003 Posts: 40 Location: Texas, USA
|
Posted: Tue Mar 09, 2004 8:24 pm Post subject: Fluxbox segmentation fault |
|
|
'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!
-ScaredFreakyGuy |
|
Back to top |
|
 |
_Nomad_ Guru


Joined: 11 Apr 2003 Posts: 571
|
Posted: Tue Mar 09, 2004 8:28 pm Post subject: |
|
|
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 |
|
 |
ScaredFreakyGuy n00b


Joined: 16 Apr 2003 Posts: 40 Location: Texas, USA
|
Posted: Tue Mar 09, 2004 9:12 pm Post subject: |
|
|
Thanks for the pointer! I love linux ... i can feel my IQ rising as I type
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 |
|
 |
ScaredFreakyGuy n00b


Joined: 16 Apr 2003 Posts: 40 Location: Texas, USA
|
Posted: Tue Mar 09, 2004 10:37 pm Post subject: |
|
|
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 |
|
 |
ScaredFreakyGuy n00b


Joined: 16 Apr 2003 Posts: 40 Location: Texas, USA
|
Posted: Wed Mar 10, 2004 2:15 pm Post subject: |
|
|
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 |
|
 |
_Nomad_ Guru


Joined: 11 Apr 2003 Posts: 571
|
Posted: Wed Mar 10, 2004 3:30 pm Post subject: |
|
|
Glad to see you solved it...  |
|
Back to top |
|
 |
|