Bug#437330: fretsonfire: segfaults as soon as it tries to play a song

Matthew Johnson debian at matthew.ath.cx
Sun Sep 2 18:04:21 UTC 2007


reopen 437330
thanks

I am seeing this on amd64 too. The error I get after upgrading
python-opengl to the one in sid (making it more verbose, the same error
happens on the etch version) is:

Traceback (most recent call last):
  File "/usr/share/games/fretsonfire/game/GameEngine.py", line 348, in run
    return self.mainloop()
  File "/usr/share/games/fretsonfire/game/GameEngine.py", line 322, in loading
    self.view.render()
  File "/usr/share/games/fretsonfire/game/View.py", line 183, in render
    layer.render(self.visibility[layer], layer == self.layers[-1])
  File "/usr/share/games/fretsonfire/game/Dialogs.py", line 238, in render
    self.engine.view.setOrthogonalProjection(normalize = True)
  File "/usr/share/games/fretsonfire/game/View.py", line 147, in setOrthogonalProjection
    viewport[3] - viewport[1], viewport[1], -100, 100);
  File "/usr/lib/python2.4/site-packages/OpenGL/error.py", line 188, in glCheckError
    baseOperation = baseOperation,
GLError: GLError(
   err = 1281,
   description = 'invalid value',
   baseOperation = glOrtho,
   cArguments = (0, 1, 0.0, 0, -100, 100)
)

Attached is the diff between -1 and -2; the only relevant differences
are those in DummyAmanith.py, GameEngine.py and View.py, which are the
patch to fix #437330. Without the patch it works fine on etch, but not
with the version of python-opengl in sid. With this patch it appears to
work on neither, at least on 64bit systems.

Matt

--
Matthew Johnson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20070902/6447b8d8/attachment-0003.pgp 


More information about the Pkg-games-devel mailing list