[apport] slune crashed with SyntaxError in sound() [slune and/or python 2.5]

Bug #81884 reported by qxov
96
Affects Status Importance Assigned to Milestone
py2play (Ubuntu)
Fix Released
Medium
Adrien Cunin
slune (Ubuntu)
Fix Released
Medium
Adrien Cunin

Bug Description

=====================
$ slune
* Slune * Slune lives in /usr/share/games
* Soya * Using 8 bits stencil buffer

* Soya * version 0.12
* Using OpenGL 2.1.0 NVIDIA 96.31
* - renderer : GeForce 7600 GS/PCI/SSE2/3DNOW!
* - vendor : NVIDIA Corporation
* - maximum number of lights : 8
* - maximum number of clip planes : 6
* - maximum number of texture units : 4
* - maximum texture size : 4096 pixels
* Using OpenAL 1.1
* - renderer : Software
* - vendor : OpenAL Community

Traceback (most recent call last):
  File "/usr/games/slune", line 137, in <module>
    import slune.level, slune.character, slune.player
  File "/usr/share/games/slune/level.py", line 24, in <module>
    import slune.globdef as globdef, slune.character, slune.sound as sound
  File "/usr/share/games/slune/character.py", line 34
SyntaxError: Non-ASCII character '\xb0' in file /usr/share/games/slune/character.py on line 34, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
* Soya3D * Quit...
=====================
/usr/share/games/slune/character.py, line 34:
ACTION_DEBUG = "°"

after adding "# -*- coding: utf-8 -*-":

SyntaxError: Non-ASCII character '\xe9' in file /var/lib/python-support/python2.5/py2play/character.py on line 101

repeat previos step and slune will be started.

* Slune * (Psyco not found ; if you are using an x86 processor, installing psyco can speed up Slune a little)

What is psyco? =)

ProblemType: Crash
Date: Sat Jan 27 22:50:53 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/games/slune
Package: slune 1.0.12-1
ProcCmdline: /usr/bin/python -O /usr/games/slune
ProcCwd: /home/qxov
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/games/slune']
SourcePackage: slune
Uname: Linux qxov 2.6.20-5-generic #2 SMP Sat Jan 6 14:50:47 UTC 2007 i686 GNU/Linux

Related branches

Revision history for this message
qxov (qxov) wrote : Dependencies.txt
Revision history for this message
qxov (qxov) wrote : ProcMaps.txt
Revision history for this message
qxov (qxov) wrote : ProcStatus.txt
Revision history for this message
qxov (qxov) wrote : Traceback.txt
Revision history for this message
qxov (qxov) wrote :
Download full text (4.7 KiB)

slune crashes

$ slune

* Slune * Slune lives in /usr/share/games
* Soya * Using 8 bits stencil buffer

* Soya * version 0.12
* Using OpenGL 2.1.0 NVIDIA 96.31
* - renderer : GeForce 7600 GS/PCI/SSE2/3DNOW!
* - vendor : NVIDIA Corporation
* - maximum number of lights : 8
* - maximum number of clip planes : 6
* - maximum number of texture units : 4
* - maximum texture size : 4096 pixels
* Using OpenAL 1.1
* - renderer : Software
* - vendor : OpenAL Community

* Slune * (Psyco not found ; if you are using an x86 processor, installing psyco can speed up Slune a little)
* Soya * Using 16 bits stencil buffer
* Soya * Using 16 bits stencil buffer
* Py2Play * IDLER created !
* Py2Play * creating active player Qxov : ('Qxov', 'qxov', 36079)...
*** glibc detected *** /usr/bin/python: free(): invalid pointer: 0x082e4d18 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7e227ad]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7e25e10]
/var/lib/python-support/python2.5/ogg/vorbis.so[0xb5adc80d]
/var/lib/python-support/python2.5/soya/_soya.so[0xb797a409]
/usr/bin/python[0x809aea3]
/usr/bin/python(PyObject_Call+0x27)[0x805c5e7]
/usr/bin/python(PyEval_EvalFrameEx+0x2031)[0x80c0f71]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalCodeEx+0x775)[0x80c5eb5]
/usr/bin/python(PyEval_EvalFrameEx+0x4fce)[0x80c3f0e]
/usr/bin/python[0x810bc7d]
/usr/bin/python[0x80a3aae]
/usr/bin/python(PyObject_Call+0x27)[0x805c5e7]
/usr/bin/python(PyEval_EvalFrameEx+0x2031)[0x80c0f71]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalCodeEx+0x775)[0x80c5eb5]
/usr/bin/python[0x810dee1]
/usr/bin/python(PyObject_Call+0x27)[0x805c5e7]
/usr/bin/python[0x8062674]
/usr/bin/python(PyObject_Call+0x27)[0x805c5e7]
/usr/bin/python(PyEval_EvalFrameEx+0x2031)[0x80c0f71]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalCodeEx+0x775)[0x80c5eb5]
/usr/bin/python[0x810dee1]
/usr/bin/python(PyObject_Call+0x27)[0x805c5e7]
/usr/bin/python[0x8062674]
/usr/bin/python(PyObject_Call+0x27)[0x805c5e7]
/usr/bin/python(PyEval_EvalFrameEx+0x2031)[0x80c0f71]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalCodeEx+0x775)[0x80c5eb5]
/usr/bin/python(PyEval_EvalFrameEx+0x4fce)[0x80c3f0e]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalFrameEx+0x6034)[0x80c4f74]
/usr/bin/python(PyEval_EvalCodeEx+0x775)[0x80c5eb5]
/usr/bin/python(PyEval_EvalFrameEx+0x4fce)[0x80c3f0e]
/usr/bin/python(PyEval_EvalCodeEx+0x775)[0x80c5eb5]
/usr/bin/python[0x810dee1]
/usr/bin/python(PyObject_Call+0x27)[0x805c5e7]
/usr/bin/python[0x8062674]
/usr/bin/python(PyObject_Call+0x27)[0x805c5e7]
/usr/bin/python(PyEval_CallObjectWithKeywords+0x6c)[0x80be08c]
/usr/bin/python...

Read more...

Revision history for this message
qxov (qxov) wrote :

Same problem after installing python-psyco.

Changed in slune:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Adrien Cunin (adri2000)
Changed in slune:
assignee: nobody → adri2000
importance: Low → Medium
Adrien Cunin (adri2000)
Changed in slune:
status: Confirmed → In Progress
Changed in py2play:
assignee: nobody → adri2000
importance: Undecided → Medium
status: Unconfirmed → In Progress
Revision history for this message
Adrien Cunin (adri2000) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 4 Apr 2007 12:30:32 +0200
Source: slune
Binary: slune
Architecture: source
Version: 1.0.12-1ubuntu1
Distribution: feisty
Urgency: low
Maintainer: Ubuntu MOTU Developers <email address hidden>
Changed-By: Adrien Cunin <email address hidden>
Description:
 slune - 3D racing and car-crashing game
Launchpad-Bugs-Fixed: 81884
Changes:
 slune (1.0.12-1ubuntu1) feisty; urgency=low
 .
   * character.py: added "# -*- coding: latin-1 -*-" (LP: #81884)
   * Set Maintainer to Ubuntu MOTU Developers
Files:
 810bcda5710e10ddde73f22777bae257 775 games optional slune_1.0.12-1ubuntu1.dsc
 d9b883cb4c560a38360b828ff2f10b6d 8496 games optional slune_1.0.12-1ubuntu1.diff.gz
Original-Maintainer: Marc Dequènes (Duck) <email address hidden>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGE37jiLI9cvurQyMRAs6PAJ9BLfP8hSV7YTG5lSTlg2CxeHJ7swCdFADQ
R4cmWMAbqCuhw/FNz6QOYXY=
=vryV
-----END PGP SIGNATURE-----

Changed in slune:
status: In Progress → Fix Committed
Revision history for this message
Adrien Cunin (adri2000) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 4 Apr 2007 12:46:07 +0200
Source: py2play
Binary: python-2play
Architecture: source
Version: 0.1.9-2ubuntu1
Distribution: feisty
Urgency: low
Maintainer: Ubuntu MOTU Developers <email address hidden>
Changed-By: Adrien Cunin <email address hidden>
Description:
 python-2play - peer-to-peer network game engine
Launchpad-Bugs-Fixed: 81884
Changes:
 py2play (0.1.9-2ubuntu1) feisty; urgency=low
 .
   * character.py: added "# -*- coding: latin-1 -*-" (LP: #81884)
   * Set Maintainer to Ubuntu MOTU Developers
Files:
 45b0687ec3c38f97211f0e22f91f35d6 917 python optional py2play_0.1.9-2ubuntu1.dsc
 6a7d6fa4852e6009c2e73fa33a2d6aa4 3155 python optional py2play_0.1.9-2ubuntu1.diff.gz
Original-Maintainer: Marc Dequènes (Duck) <email address hidden>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGE4JliLI9cvurQyMRAiSMAJ41OlQcnqDiw4WQDyN+ii+xP6jurgCfX9YA
Ux6lA6/aFyzKFrMeHRkghyI=
=1DBz
-----END PGP SIGNATURE-----

Changed in py2play:
status: In Progress → Fix Committed
Adrien Cunin (adri2000)
Changed in slune:
status: Fix Committed → Fix Released
Changed in py2play:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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