bouncy the hungry rabbit doesn't start (in gutsy)

Bug #140418 reported by Simon Oosthoek
18
Affects Status Importance Assigned to Milestone
bouncy (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: bouncy

starting bouncy from the commandline, I get this:

$ bouncy
Traceback (most recent call last):
  File "game.py", line 27, in <module>
    from map import *
  File "/usr/share/games/bouncy/map.py", line 7, in <module>
    import euclid, collide, objects, pyglyph, fonts
  File "/usr/share/games/bouncy/fonts.py", line 6, in <module>
    size=20, bold=False, italic=False)
  File "/usr/share/games/bouncy/pyglyph/font.py", line 74, in get_font
    font = self.impl_get_font(family, size, bold, italic)
  File "/usr/share/games/bouncy/pyglyph/font.py", line 165, in impl_get_font
    fake_italic=fake_italic)
  File "/usr/share/games/bouncy/pyglyph/font.py", line 276, in __init__
    surface = pygame.image.fromstring(data, (w, h), 'RGBA')
ValueError: String length does not equal format and resolution size

(Probably also in upstream version, since I get the same error using http://media.pyweek.org/dl/3/bouncy/bouncy-post-r5.tgz)

Revision history for this message
Barry deFreese (bddebian) wrote :

Confirmed in Gutsy. I may have to see if I can contact upstream.

Changed in bouncy:
status: New → Confirmed
Revision history for this message
René Brandenburger (rene-brandenburger) wrote :
Download full text (4.8 KiB)

when I start it from the commandline, i get the following output

$ bouncy
*** glibc detected *** python: free(): invalid pointer: 0x094d2528 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7db0d65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7db4800]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb77fdd81]
/usr/lib/libapt-pkg-libc6.6-6.so.4.5(_Z13ReadConfigDirR13ConfigurationRKSsbj+0x317)[0xaae9d3b7]
/usr/lib/libapt-pkg-libc6.6-6.so.4.5(_Z13pkgInitConfigR13Configuration+0x82b)[0xaaed29db]
/usr/lib/python2.5/site-packages/apt_pkg.so[0xaaf4dac2]
python(PyEval_EvalFrameEx+0x5d0c)[0x80c8eec]
python(PyEval_EvalCodeEx+0x775)[0x80ca115]
python(PyEval_EvalCode+0x57)[0x80ca187]
python(PyImport_ExecCodeModuleEx+0xac)[0x80de9ac]
python[0x80df306]
python[0x80e09ce]
python[0x80df98b]
python[0x80dfebc]
python[0x80e0068]
python(PyImport_ImportModuleLevel+0x27)[0x80e04f7]
python[0x80c1db4]
python(PyObject_Call+0x27)[0x805c9e7]
python(PyEval_CallObjectWithKeywords+0x6c)[0x80c232c]
python(PyEval_EvalFrameEx+0x18bd)[0x80c4a9d]
python(PyEval_EvalCodeEx+0x775)[0x80ca115]
python(PyEval_EvalCode+0x57)[0x80ca187]
python(PyImport_ExecCodeModuleEx+0xac)[0x80de9ac]
python[0x80df306]
python[0x80df98b]
python[0x80dfe3e]
python[0x80e0068]
python(PyImport_ImportModuleLevel+0x27)[0x80e04f7]
python[0x80c1db4]
python(PyObject_Call+0x27)[0x805c9e7]
python(PyEval_CallObjectWithKeywords+0x6c)[0x80c232c]
python(PyEval_EvalFrameEx+0x18bd)[0x80c4a9d]
python(PyEval_EvalCodeEx+0x775)[0x80ca115]
python(PyEval_EvalCode+0x57)[0x80ca187]
python(PyImport_ExecCodeModuleEx+0xac)[0x80de9ac]
python[0x80df306]
python[0x80df98b]
python[0x80dfe3e]
python[0x80e0068]
python(PyImport_ImportModuleLevel+0x27)[0x80e04f7]
python[0x80c1db4]
python(PyObject_Call+0x27)[0x805c9e7]
python(PyEval_CallObjectWithKeywords+0x6c)[0x80c232c]
python(PyEval_EvalFrameEx+0x18bd)[0x80c4a9d]
python(PyEval_EvalCodeEx+0x775)[0x80ca115]
python(PyEval_EvalCode+0x57)[0x80ca187]
python(PyImport_ExecCodeModuleEx+0xac)[0x80de9ac]
python[0x80df306]
python[0x80df98b]
python[0x80dfe3e]
python[0x80e00b0]
python(PyImport_ImportModuleLevel+0x27)[0x80e04f7]
python[0x80c1db4]
python(PyObject_Call+0x27)[0x805c9e7]
python(PyEval_CallObjectWithKeywords+0x6c)[0x80c232c]
python(PyEval_EvalFrameEx+0x18bd)[0x80c4a9d]
python(PyEval_EvalCodeEx+0x775)[0x80ca115]
python(PyEval_EvalCode+0x57)[0x80ca187]
python(PyImport_ExecCodeModuleEx+0xac)[0x80de9ac]
python[0x80df306]
python[0x80e09ce]
python[0x80df98b]
python[0x80dfe3e]
======= Memory map: ========
08048000-0813f000 r-xp 00000000 08:06 6363 /usr/bin/python2.5
0813f000-08164000 rw-p 000f6000 08:06 6363 /usr/bin/python2.5
08164000-094dd000 rw-p 08164000 00:00 0 [heap]
aae76000-aaf42000 r-xp 00000000 08:06 702172 /usr/lib/libapt-pkg-libc6.6-6.so.4.5.0
aaf42000-aaf45000 rw-p 000cb000 08:06 702172 /usr/lib/libapt-pkg-libc6.6-6.so.4.5.0
aaf45000-aaf66000 r-xp 00000000 08:06 840588 /usr/lib/python2.5/site-packages/apt_pkg.so
aaf66000-aaf69000 rw-p 00020000 08:06 840588 /usr/lib/python2.5/site-packages/apt_pkg.so
aaf69000-ab094000 r-xp 00000000 08:06 364646 /usr/lib/i686/cmov/libcrypto.so.0.9.8
ab094000-ab0a9000 rw-p 0012a000 08:06 364646 /usr/lib...

Read more...

Revision history for this message
julian (0x4d4a) wrote :

can confirm this too in final gutsy:

Traceback (most recent call last):
 File "game.py", line 188, in <module>
   game.menu()
 File "game.py", line 104, in menu
   anchor=(pyglyph.Align.center, pyglyph.Align.top))
 File "/usr/share/games/bouncy/pyglyph/layout.py", line 347, in draw
   glColor(style.color)
 File "/usr/lib/python2.5/site-packages/OpenGL/GL/exceptional.py", line 207, in glColor
   function = glColorDispatch[arrays.GLfloatArray.arraySize( arg )]
KeyError: 1

Revision history for this message
richard (richardjones) wrote :

This is fixed in the latest Bouncy release from http://www.pyweek.org/e/bouncy/

Revision history for this message
Simon Oosthoek (simon-margo) wrote :

I confirm the fix, all it needs now is an update to the package...

Revision history for this message
Barry deFreese (bddebian) wrote :

I'm building an updated package for Debian Games Team and will sync with Hardy once completed. Thanks!

Changed in bouncy:
assignee: nobody → bddebian
status: Confirmed → In Progress
Revision history for this message
richard (richardjones) wrote :

Is there any chance of getting the fix into Gutsy? Seems a shame that the game shipped broken for all.

Revision history for this message
Barry deFreese (bddebian) wrote :

Richard,

Once I get a package in Debian/Hardy, I will see about filing an SRU (Stable Release Update) for Gutsy.

Thanks!

Revision history for this message
Daniel Hahler (blueyed) wrote :

The should be a better version in Hardy already.
Can you please check, if it works for you?

Revision history for this message
richard (richardjones) wrote :

I must have missed the last message. Everything appears fine now in Hardy. This bug may be closed.

Revision history for this message
Daniel Hahler (blueyed) wrote :

I'm marking this as Fix released (in Hardy and later).

Barry, if you still want to do a SRU for Gutsy, please open a new bug task. Thanks.

Changed in bouncy:
assignee: bddebian → nobody
importance: Undecided → Medium
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.