Bug 102514 - exec-shield kills tuxracer
Summary: exec-shield kills tuxracer
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: tuxracer
Version: 1.0
Hardware: i686
OS: Linux
medium
low
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: CambridgeBlocker
TreeView+ depends on / blocked
 
Reported: 2003-08-16 10:06 UTC by Markku Kolkka
Modified: 2007-04-18 16:56 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-10-22 10:26:38 UTC
Embargoed:


Attachments (Terms of Use)
compressed strace output (51.49 KB, application/x-gzip)
2003-08-18 11:50 UTC, Markku Kolkka
no flags Details

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 


Note You need to log in before you can comment on or make changes to this bug.