LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Some help with segmentation faults? (http://www.linuxquestions.org/questions/linux-software-2/some-help-with-segmentation-faults-325029/)

captainslushie 05-19-2005 09:55 AM

Some help with segmentation faults?
 
I'm somewhat new to all this, I've had mandrake for a while, now I've recently installed FC3 and had everything set up how I want it....then it happens:

programs that are run in terminal, once opened, immediately close.
if I command them straight from the terminal here is what I get:
Code:

[slushie@localhost ~]$ armagetronad
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Code:

[slushie@localhost ~]$ xine
This is xine (X11 gui) - a free video player v0.99.3.
(c) 2000-2004 The xine Team.
xiTK received SIGSEGV signal, RIP.
Aborted

any help on what I can do to fix this? I REALLY don't want to reinstall and go through all the RPMs again.

your help would be greatly appreciated.
Slushie

rjlee 05-19-2005 02:44 PM

Make sure that all the library dependencies are there. From a terminal, run
Code:

ldd `which armagetronad`
If this reports unsatsfied dependency errors, install the packages that are missing.

captainslushie 05-19-2005 06:13 PM

Quote:

Originally posted by rjlee
Make sure that all the library dependencies are there. From a terminal, run
Code:

ldd `which armagetronad`
If this reports unsatsfied dependency errors, install the packages that are missing.

Thanks, I'll give that a try.
but...
I had finished installing anything a day or two before, and I distinctly remember running both programs. ( i whooped some butt in Tron :) )

captainslushie 05-19-2005 08:37 PM

Code:

[slushie@localhost ~]$ ldd `which armagetronad`
        not a dynamic executable
[slushie@localhost ~]$ su
Password:
[root@localhost slushie]# ldd `which armagetronad`
        not a dynamic executable
[root@localhost slushie]#


rjlee 05-22-2005 09:53 AM

Quote:

Originally posted by captainslushie
Code:

[slushie@localhost ~]$ ldd `which armagetronad`
        not a dynamic executable
[slushie@localhost ~]$ su
Password:
[root@localhost slushie]# ldd `which armagetronad`
        not a dynamic executable
[root@localhost slushie]#


These binaries are statically-linked, which means that this isn't a library dependency problem. It's probably something to do with your X or SDL configuration have you tried running the programs from the console (Ctrl+Alt+F1; you will need to either be running a framebuffer device or have installed SVGAlib).

tremend0us 06-23-2005 02:59 PM

Quote:

I REALLY don't want to reinstall and go through all the RPMs again.
Try using 'yum' next time. Very handy program to deal with RPM problems.

I can run xine fine, but when I right click it gives the same error
Code:

xiTK received SIGSEGV signal, RIP.
and then it exits. Any ideas?


All times are GMT -5. The time now is 04:18 AM.