Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77032 - adventure from bsd-games-2.13 segfaults on amd64 when saving the game
Summary: adventure from bsd-games-2.13 segfaults on amd64 when saving the game
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-07 08:18 UTC by David Leverton
Modified: 2005-01-09 21:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for the game itself (games-misc/bsd-games/files/bsdgames-2.13-64bit-gentoo.diff) (bsd-games-2.13-64bit-gentoo.diff,438 bytes, patch)
2005-01-07 08:20 UTC, David Leverton
Details | Diff
Patch for the ebuild (bsd-games-2.13.ebuild -> bsd-games-2.13-r1.ebuild) (bsd-games-2.13-r1.ebuild.diff,608 bytes, patch)
2005-01-07 08:23 UTC, David Leverton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 !