<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>77032</bug_id>
          
          <creation_ts>2005-01-07 08:18 0000</creation_ts>
          <short_desc>adventure from bsd-games-2.13 segfaults on amd64 when saving the game</short_desc>
          <delta_ts>2005-01-09 21:19:05 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>levertond@googlemail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>levertond@googlemail.com</who>
            <bug_when>2005-01-07 08:18:19 0000</bug_when>
            <thetext>The &apos;adventure&apos; 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&apos;t checked).

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

Actual Results:  
The game crashes with a segmentation fault.

Expected Results:  
The game saves and exits normally.

Patch coming....</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>levertond@googlemail.com</who>
            <bug_when>2005-01-07 08:20:02 0000</bug_when>
            <thetext>Created an attachment (id=47855)
Patch for the game itself
(games-misc/bsd-games/files/bsdgames-2.13-64bit-gentoo.diff)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>levertond@googlemail.com</who>
            <bug_when>2005-01-07 08:23:12 0000</bug_when>
            <thetext>Created an attachment (id=47856)
Patch for the ebuild (bsd-games-2.13.ebuild -&gt; bsd-games-2.13-r1.ebuild)

Some comments:
1) The patch for the game is only applied on AMD64 systems - it shouldn&apos;t hurt
others, but just to be safe....
2) KEYWORDS only contains &quot;~amd64&quot;, since it doesn&apos;t change anything on other
arches, so no need to make them upgrade.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-01-09 21:19:05 0000</bug_when>
            <thetext>patch seemed to work fine on x86 too so ive added 2.13-r1 with it

thanks !</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>47855</attachid>
            <date>2005-01-07 08:20 0000</date>
            <desc>Patch for the game itself (games-misc/bsd-games/files/bsdgames-2.13-64bit-gentoo.diff)</desc>
            <filename>bsd-games-2.13-64bit-gentoo.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGJzZC1nYW1lcy0yLjEzL2FkdmVudHVyZS9jcmMuY34JMTk5OS0wNC0wNCAxMjo0OTowMy4w
MDAwMDAwMDAgKzAxMDAKKysrIGJzZC1nYW1lcy0yLjEzL2FkdmVudHVyZS9jcmMuYwkyMDA1LTAx
LTA3IDAyOjQyOjA3LjAyNzY5ODA2NCArMDAwMApAQCAtMTM0LDcgKzEzNCw4IEBACiAJCQkJaWYg
KHN0ZXAgPj0gc2l6ZW9mKGNyY3RhYikgLyBzaXplb2YoY3JjdGFiWzBdKSkKIAkJCQkJc3RlcCA9
IDA7CiAJCQl9Ci0JCQljcmN2YWwgPSAoY3JjdmFsIDw8IDgpIF4gY3JjdGFiW2ldOworCQkJLyog
TWFzayB0byAzMiBiaXRzLiAqLworCQkJY3JjdmFsID0gKChjcmN2YWwgPDwgOCkgXiBjcmN0YWJb
aV0pICYgMHhmZmZmZmZmZjsKIAkJfQotCXJldHVybiBjcmN2YWwgJiAweGZmZmZmZmZmOwkvKiBN
YXNrIHRvIDMyIGJpdHMuICovCisJcmV0dXJuIGNyY3ZhbDsKIH0K
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>47856</attachid>
            <date>2005-01-07 08:23 0000</date>
            <desc>Patch for the ebuild (bsd-games-2.13.ebuild -&gt; bsd-games-2.13-r1.ebuild)</desc>
            <filename>bsd-games-2.13-r1.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9nYW1lcy1taXNjL2JzZC1nYW1lcy9ic2QtZ2FtZXMtMi4xMy5lYnVp
bGQJMjAwNC0wNi0yNSAwMDowNjozNS4wMDAwMDAwMDAgKzAxMDAKKysrIC91c3IvbG9jYWwvcG9y
dGFnZS9nYW1lcy1taXNjL2JzZC1nYW1lcy9ic2QtZ2FtZXMtMi4xMy1yMS5lYnVpbGQJMjAwNS0w
MS0wNyAxNTo1NDo0MC4xNDc2NjgwMTYgKzAwMDAKQEAgLTEwLDcgKzEwLDcgQEAKIAogTElDRU5T
RT0iQlNEIgogU0xPVD0iMCIKLUtFWVdPUkRTPSJ4ODYgcHBjIGFtZDY0IH5zcGFyYyIKK0tFWVdP
UkRTPSJ+YW1kNjQiCiBJVVNFPSIiCiAKIFJERVBFTkQ9InN5cy1saWJzL25jdXJzZXMKQEAgLTMy
LDYgKzMyLDcgQEAKIAl1bnBhY2sgJHtBfSA7IGNkICR7U30KIAllcGF0Y2ggJHtGSUxFU0RJUn0v
YnNkZ2FtZXNfJHtQVn0tMTEuZGlmZgogCWVwYXRjaCAke0ZJTEVTRElSfS9ic2RnYW1lcy0ke1BW
fS1nZW50b28uZGlmZgorCXVzZSBhbWQ2NCAmJiBlcGF0Y2ggJHtGSUxFU0RJUn0vYnNkZ2FtZXMt
JHtQVn0tNjRiaXQtZ2VudG9vLmRpZmYKIAogCXNlZCAtaSBcCiAJCS1lICJzOi91c3IvZ2FtZXM6
JHtHQU1FU19CSU5ESVJ9OiIgd2FyZ2FtZXMvd2FyZ2FtZXMgXAo=
</data>        

          </attachment>
    </bug>

</bugzilla>