LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-27-2004, 10:05 PM   #1
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Rep: Reputation: 19
Armagetron (game) fails - Segmentation Fault


I've enjoyed this game on my SuSE 9.0 installation and was anxious to try it on FC2, so I downloaded the RPM from http://freshrpms.net/ which had a May 22nd. changelog for a rebuild for FC2 (armagetron-0.2.5.2-3.1.fc2.fr.i386.rpm) . Installed as (su) rpm -ivh armagetron-0.2.5.2-3.1.fc2.fr.i386.rpm which resulted in a very quick install and no dependency issues. The icon shows up under Games (/usr/games), however when I click on it to execute, I get a quick black screen and nothing more. I've tried to run it logged in as Root and have double-checked the permissions, but nothing seems to be amiss. The directory lists the following folders:

arenas bin language models music sound textures


Since I have YUM linked to http://dag.wieers.com , I also double-checked his site, removed Armagetron with Synaptic and used the YUM install for his version - same result.

Here's the response when I try to install it and run it from the terminal:

[bob@localhost bin]$ ./armagetron
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Someone suggested that the SDL_image file needed to be installed....so.... I checked Dag Wieers site and the specs called for SDL_image => 1.2 . Downloaded and ran the latest SDL_image to make sure... here's the response:


[root@localhost armagetron]# rpm -ivh SDL_image-1.2.3-4.1.i386.rpm
Preparing... ########################################### [100%]
package SDL_image-1.2.3-4.1 is already installed
[root@localhost armagetron]# cd /usr/bin
[root@localhost bin]# ./armagetron
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

I'd appreciate any help/suggestions about this one. I like Tux Racer and some of the other games, but Armagetron is one of those games that feel like you can NEVER beat it....which is why it drives me crazy....
 
Old 07-28-2004, 05:20 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Do you have libsdl installed?

Do you have 3D acceleration for your video card installed and working?
 
Old 07-28-2004, 08:25 AM   #3
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Original Poster
Rep: Reputation: 19
Hi Motub. Yes, 3D graphics are working fine - Tux Racer is running great. Also libSDL is installed in /usr/lib. Are you running the game okay?
 
Old 07-28-2004, 10:00 AM   #4
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Original Poster
Rep: Reputation: 19
Thumbs up ALL BETTER NOW!!!

Problem Solved!!!! Thanks to Klaxnek from the FedoraForum, the solution was to enter this into Terminal: export SDL_AUDIODRIVER=alsa; armagetron . The game immediately started and plays perfectly. He further suggested adding that phrase to the start of the /bin file so that I do not have to play it from command line. That worked as well.
 
Old 07-28-2004, 10:34 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Excellent! Thanks for posting the solution back, and have fun playing !
 
Old 05-10-2005, 06:13 PM   #6
jon_hill987
LQ Newbie
 
Registered: Apr 2005
Location: Fed up with Windows
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
Re: ALL BETTER NOW!!!

Quote:
Originally posted by JustOl'Bob
Problem Solved!!!! Thanks to Klaxnek from the FedoraForum, the solution was to enter this into Terminal: export SDL_AUDIODRIVER=alsa; armagetron . The game immediately started and plays perfectly. He further suggested adding that phrase to the start of the /bin file so that I do not have to play it from command line. That worked as well.
I have installed the linux version of Mutant Storm (demo) on the Ubuntu (debian based) distribution. When I tried to run it I got errors about missing lib's. I have now installed all of the libs it wanted but it stil wont run. I get a fatal error: Segmentation Fault (SDL Parachute Deployed). GL is working on my system as all the GL screensavers work fine.

I assume it is the same problem, I have been trying to run the game by typing "/usr/local/games/MutantStorm/mutantstormdemo" into the console, I didn't quite understand your solution, what do i have to do to use your fix? would it be something like
Code:
export SDL_AUDIODRIVER=alsa; /usr/local/games/MutantStorm/mutantstormdemo
?
 
Old 05-11-2005, 09:24 AM   #7
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
You could have tried it already in the amount of time you've waited for a reply . A report of whether it had worked or not might be more useful in this case.

I see that you've already posted on the Pom-Pom Games forum; I was there to see if there was any information whatsoever on what parts of SDL the port uses, but I didn't see anything.

Basically, in my experience, SDL Parachute errors are caused by:
  • misconfigured SDL components, which can be fixed by the listed solution of exporting 'proper' SDL-related environment variables;
  • missing SDL components. If this game needs SDL-image, but you don't have it installed, this can happen. But in this case we don't know what SDL components-- if any-- other than libSDL, the game may need (so if that's the problem, we can't solve it);
  • "wrong" SDL version. SDL seems to change a fair bit, and is not necessarily always backwards compatible with previous versions. But again, since we don't know what version of SDL the game was expected to use, or if it is compatible with SDL versions other than the one it was compiled against, it's impossible to say if that might be the issue.

OK, I've searched yet further, and I do not find that the demo depends on any SDL components, or in fact on SDL in any way, so I'm striking possibilities 2 and 3 off the list. I'd guess that exporting the variable should work; but if not, hopefully the developer's forums will have more information as to what is going on.

You might also want to post your question in the (either or both) 1) the Ubuntu section of these forums; 2) the Ubuntu official forums. If this problem is caused by some issue specific to Ubuntu (or Ubuntu needs some unique action to resolve it), asking Fedora users (plus one lone Gentoo-er) won't get you too far in finding answers,

Good luck.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cube fails to run with segmentation fault (SDL parachute deployed) bomarrow1 Linux - Games 11 09-23-2006 10:25 AM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
fsck fails. Code: Bad EIP value. Segmentation fault. MOHCTP Debian 4 09-07-2005 08:35 PM
segmentation fault sakkie Linux - Security 7 03-26-2004 11:10 PM
RedHat 7.2 Gnome fails due to segmentation fault chris.hicks Linux - Software 3 09-23-2003 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration