[EMAIL PROTECTED]/tmp>slune
* Slune * Slune lives in /usr/share/games
* Slune * PyOpenAL not installed, trying PySDL_mixer...
* Slune * Warning! Neither PyOpenAL nor PySDL_mixer are installed; music
* and sound are disabled!
* Soya * Using 8 bits stencil buffer

* Soya * version 0.11.2
* Using OpenGL 2.0.2 NVIDIA 87.62
*   - renderer : GeForce 6600/PCI/SSE2
*   - 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

/usr/share/games/slune/level.py:24: DeprecationWarning: 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
  import slune.globdef as globdef, slune.character, slune.sound as sound
/usr/share/games/slune/character.py:21: DeprecationWarning: Non-ASCII character 
'\xe9' in file /var/lib/python-support/python2.3/py2play/character.py on line 
101, but no encoding declared; see http://www.python.org/peps/pep-0263.html for 
details
  import py2play.action as action, py2play.character as py2play_character
/var/lib/python-support/python2.3/soya/particle.py:22: DeprecationWarning: The 
content of this module is now in the soya
module.
  warnings.warn("The content of this module is now in the soya module.",
DeprecationWarning)
* Slune * (Psyco not found ; if you are using an x86 processor,
* installing psyco can speed up Slune a little)

[EMAIL PROTECTED]/tmp>mv core core.slune
[EMAIL PROTECTED]/tmp>gdb python core.slune
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
...
Reading symbols from /var/lib/python-support/python2.3/soya/_soya.so...done.
Loaded symbols for /var/lib/python-support/python2.3/soya/_soya.so
..
Core was generated by `/usr/bin/python -O /usr/games/slune'.
Program terminated with signal 11, Segmentation fault.
#0  __pyx_f_5_soya_12_SimpleShape__init_display_list (__pyx_v_self=<value 
optimized out>) at _soya.c:37419
37419       ((struct __pyx_vtabstruct_5_soya__Material *)((struct 
__pyx_obj_5_soya__Material 
*)__pyx_1)->__pyx_base.__pyx_vtab)->_activate(((struct 
__pyx_obj_5_soya__Material *)__pyx_1));
(gdb) info frame
Stack level 0, frame at 0x7fffffcb78d0:
 rip = 0x2b55ef358c6b in __pyx_f_5_soya_12_SimpleShape__init_display_list 
(_soya.c:37419); saved rip 0x2b55ef3919f7
 called by frame at 0x7fffffcb7920
 source language c.
 Arglist at 0x7fffffcb7868, args: __pyx_v_self=<value optimized out>
 Locals at 0x7fffffcb7868, Previous frame's sp is 0x7fffffcb78d0
 Saved registers:
  rbx at 0x7fffffcb7898, rbp at 0x7fffffcb78a0, r12 at 0x7fffffcb78a8,
r13 at 0x7fffffcb78b0, r14 at 0x7fffffcb78b8, r15 at 0x7fffffcb78c0, rip
at 0x7fffffcb78c8
(gdb) info locals
__pyx_v_display_list = (__pyx_t_5_soya_DisplayList *) 0x8cd8b0
__pyx_v_face = <value optimized out>
__pyx_v_i = 0
__pyx_v_nb = 1
H
__pyx_v_j = 6297696
__pyx_1 = (PyObject *) 0xffffffffac6a8370
__pyx_2 = 9258656
__pyx_3 = <value optimized out>
__pyx_4 = <value optimized out>
(gdb) print *__pyx_1
Cannot access memory at address 0xffffffffac6a8370
(gdb) bt 10
#0  __pyx_f_5_soya_12_SimpleShape__init_display_list (__pyx_v_self=<value 
optimized out>) at _soya.c:37419
#1  0x00002b55ef3919f7 in __pyx_f_5_soya_12_SimpleShape__render 
(__pyx_v_self=0x2aaaaca58430, __pyx_v_instance=0x8d46a0) at _soya.c:37784
#2  0x00002b55ef35469d in __pyx_f_5_soya_8Renderer__render_list 
(__pyx_v_self=0x60f030, __pyx_v_list=0x681a80) at _soya.c:7348
#3  0x00002b55ef38a0a6 in __pyx_f_5_soya_8Renderer__render 
(__pyx_v_self=0x60f030) at _soya.c:7118
#4  0x00002b55ef390682 in __pyx_f_5_soya_7_Camera__subrender_scene 
(__pyx_v_self=<value optimized out>) at _soya.c:22383
#5  0x00002b55ef32d00f in __pyx_f_5_soya_7_Camera__render_scene 
(__pyx_v_self=0x8d42c0) at _soya.c:22428
#6  0x00002b55ef30fe73 in __pyx_f_5_soya_7_Camera_render 
(__pyx_v_self=0x8d42c0, __pyx_args=<value optimized out>, __pyx_kwds=<value 
optimized out>) at _soya.c:22475
#7  0x000000000046ea2d in PyEval_GetFuncName ()
#8  0x000000000046f43c in PyEval_EvalCodeEx ()
#9  0x00000000004b14a3 in PyClassMethod_New ()
(More stack frames follow...)

_soya.c:37419 corresponds to "/home/jiba/src/soya/model/shape.pyx":760.

In model/shape.pyx I find:

                for i from 0 <= i < nb:
                        display_list = self._display_lists.display_lists + i
                        display_list.id = glGenLists(1)
                        (<_Material> (display_list.material_id))._activate()

I guess display_list.material_id is not a valid _Material thingy.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to