Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 77032

Summary: adventure from bsd-games-2.13 segfaults on amd64 when saving the game
Product: Gentoo Linux Reporter: David Leverton <levertond>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for the game itself (games-misc/bsd-games/files/bsdgames-2.13-64bit-gentoo.diff)
Patch for the ebuild (bsd-games-2.13.ebuild -> bsd-games-2.13-r1.ebuild)

Description David Leverton 2005-01-07 08:18:19 UTC
The 'adventure' game from the games-misc/bsd-games-2.13 package crashes when saving the game on AMD64 (and probably other 64-bit systems, but I haven't checked).

Reproducible: Always
Steps to Reproduce:
1. Start a game of adventure on an AMD64 system.
2. Type "no" in response to the question about instructions.
3. Type "save".
4. Enter a filename.

Actual Results:  
The game crashes with a segmentation fault.

Expected Results:  
The game saves and exits normally.

Patch coming....
Comment 1 David Leverton 2005-01-07 08:20:02 UTC
Created attachment 47855 [details, diff]
Patch for the game itself (games-misc/bsd-games/files/bsdgames-2.13-64bit-gentoo.diff)
Comment 2 David Leverton 2005-01-07 08:23:12 UTC
Created attachment 47856 [details, diff]
Patch for the ebuild (bsd-games-2.13.ebuild -> bsd-games-2.13-r1.ebuild)

Some comments:
1) The patch for the game is only applied on AMD64 systems - it shouldn't hurt
others, but just to be safe....
2) KEYWORDS only contains "~amd64", since it doesn't change anything on other
arches, so no need to make them upgrade.
Comment 3 SpanKY gentoo-dev 2005-01-09 21:19:05 UTC
patch seemed to work fine on x86 too so ive added 2.13-r1 with it

thanks !