"No symbol" error using pystack gdb macro

debby at josesmex.com debby at josesmex.com
Fri Mar 1 11:07:28 EST 2013


I'm relatively new to Python, running Python 3.3 on FreeBSD

I have a process which has started to spike CPU usage.  I'm trying to find out what it's doing.

I tried the "pystack" macro suggested here:

http://stackoverflow.com/questions/132058/showing-the-stack-trace-from-a-running-python-application/147114#147114

I got the gdbinit macro from:

http://svn.python.org/projects/python/trunk/Misc/gdbinit 

When I attach gdb, it tells me it is loading symbols from python3.3m

However when I run pystack I get:

No symbol "PyStringObject" in current context.

Do I need an updated version of the gdb macro for Python3.3?



More information about the Python-list mailing list