LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   "Segmentation Fault" With Raptor Game (https://www.linuxquestions.org/questions/linux-general-1/segmentation-fault-with-raptor-game-406001/)

JDCAce 01-20-2006 09:11 PM

"Segmentation Fault" With Raptor Game
 
I think it's safe to say I am absolutely new to Linux. I have a friend who is very good with it, but he has helped me so much already, I'd like to give him a break.

There's a game that came with my Linux KDE, but there's a problem with it. During gamplay, for no reason I can tell, it will exit by itself. The game runs normally at line 9 (***), but when it quits, lines 10 and 11 pop up. What's wrong, and more importantly how do I fix it?

Code:

jared@jared ~ $ raptor
raptor -h for help screen
Running game at 40
Using mode 1
OS Linux
Loading font data/beast.fnt
Loaded data
Loading font data/vulture.fnt
***
*** glibc detected *** free(): invalid pointer: 0x091035d8 ***
Segmentation fault


damicatz 01-20-2006 09:38 PM

In Linux, a segmentation fault is roughly equivilant to an access violation or a "This program has preformed an illegal operation" message in Windows.

Raptor is not a game that comes with KDE; it may however have been bundled with your Linux distribution. What distribution are you using?

JDCAce 01-20-2006 10:00 PM

Oh! Yes, that's right. I'm sorry; I didn't get it with KDE. I got it from my Linux friend's computer (using ssh, or scp, I can't remember). But I'm using Gentoo, if it's still applicable.


All times are GMT -5. The time now is 07:47 PM.