Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 102514

Summary: exec-shield kills tuxracer
Product: [Retired] Red Hat Raw Hide Reporter: Markku Kolkka <markku.kolkka>
Component: tuxracerAssignee: Than Ngo <than>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-22 10:26:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 100643    
Attachments:
Description Flags
compressed strace output none

Description Markku Kolkka 2003-08-16 10:06:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
If tuxracer is run with exec-shield enabled, it crashes with segmentation fault
at startup. 

Version-Release number of selected component (if applicable):
tuxracer-0.61-23

How reproducible:
Always

Steps to Reproduce:
1.echo 3 > /proc/sys/kernel/exec-shield
2.tuxracer
3.
    

Actual Results:  Tuxracer opens a blank screen, plays one note of sound and
quits. The following is output on the terminal:
$ tuxracer
Tux Racer 0.61 -- a Sunspire Studios Production (http://www.sunspirestudios.com)
(c) 1999-2000 Jasmin F. Patry <jfpatry>
"Tux Racer" is a trademark of Jasmin F. Patry
Tux Racer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.

mcop warning: user defined signal handler found for SIG_PIPE, overriding
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
warning: leaving MCOP Dispatcher and still 143 types alive.


Expected Results:  Tuxracer runs (as it does with exec-shield disabled).

Additional info:

RHL 9.0.93 (Severn) + Rawhide 20030815

Comment 1 Than Ngo 2003-08-18 11:06:57 UTC
strange, it works for me with echo 3 > /proc/sys/kernel/exec-shield.

Which SDL/kernel/tuxracer version do you have?

could you please attatch the strace log "strace -o tuxracer.log tuxracer" ?

Comment 2 Markku Kolkka 2003-08-18 11:50:00 UTC
Created attachment 93707 [details]
compressed strace output

kernel 2.4.21-20.1.2024.2.1.nptl (i686)
SDL-1.2.5-9
tuxracer-0.61-23

Comment 3 Markku Kolkka 2003-10-22 10:26:38 UTC
Fixed in Fedora Core test3, tuxracer works with  
echo 2 > /proc/sys/kernel/exec-shield