On Tue, Sep 16, 2008 at 08:31:39PM +0100, Philip Armstrong wrote: >So it looks like the first argument to this call isn't actually a Surface? > >Is there some way to get the line of python that's actually calling >this code out of the interpreter from gdb?
OK, having installed the python2.5 debug symbols & the python .gdbinit file, here's some more information: (gdb) pyo surfobj object : <Surface(Dead Display)> type : pygame.Surface refcount: 5 address : 0x85b19e0 $1 = void So the surface object is Dead? That doesn't sound good. (gdb) pyframe /usr/lib/python2.5/site-packages/freevo/osd.py (901): drawbox (gdb) lineno 901 Does that help any? Phil -- http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users