Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53320 - crack attack crashes on i865g (with workaround)
Summary: crack attack crashes on i865g (with workaround)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-08 08:36 UTC by Guillaume Cottenceau
Modified: 2004-06-11 17:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Cottenceau 2004-06-08 08:36:56 UTC
I can't emerge anything! Gentoo is broken!

Hum, sorry.

Crack-Attack segfaults on my i865g:

Crack Attack! v1.1.9
  by Daniel Nelson [aluminumangel.org], 2002
Segmentation fault

The workaround is the same I've already submitted upstream for voodoo3 board:

--- ./src/obj_block.cxx.gege    2003-10-16 16:36:05.000000000 +0200
+++ ./src/obj_block.cxx 2004-05-23 18:07:35.863142505 +0200
@@ -1480,6 +1480,12 @@
       "since it segfaults\n**********" << endl;
     return;
   }
+  if (strstr((char*) renderer, "865G 20021115")) {
+    cerr << "**********\nWARNING:"
+      "disabling call to 1d texturing on 865G 20021115 renderer "
+      "since it segfaults\n**********" << endl;
+    return;
+  }
 
   glTexImage1D(GL_TEXTURE_1D, 0, GL_LUMINANCE, 32, GL_FALSE, GL_LUMINANCE,
    GL_UNSIGNED_BYTE, texture);


Reproducible: Always
Steps to Reproduce:
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-06-11 17:50:21 UTC
Added this patch to CVS.  Resync and remerge to get it.  No rev bump since it
only affects i865g users.