[Pythonmac-SIG] "Fatal Python error: PyThreadState_Get: no current thread"

Richard Jones richard at commonground.com.au
Wed Feb 2 06:56:08 CET 2005


On 02/02/2005, at 4:24 PM, Bob Ippolito wrote:
> If you zip -r9 that I bet its 10 times smaller, at least.

23MB :)

I could make that available if you're willing to look at it.


> It could be some exception gone wrong, a bug in zope, a bug in PyObjC,  
> etc.  At the absolute least, I need to see a gdb backtrace.

Heh. It's been so long since I've debugged something like this I'd  
forgotten about gdb. Had to remember how to drive it. Unfortunately, it  
doesn't look like giving any useful information - after it  
PyRun_SimpleFileExFlags __boot__.py the stack trace doesn't have any  
useful information:

#156 0x100a823c in run_node (n=0xbffff3fc, filename=0x0, globals=0x0,  
locals=0x1, flags=0x6c205079) at Python/pythonrun.c:1267
#157 0x100a79c0 in PyRun_SimpleFileExFlags (fp=0xa0009818,  
filename=0x1813800  
"/Users/richard/src/cg/Zope-OSX/dist/CGPublisher-Zope.app/Contents/ 
Resources/__boot__.py", closeit=3318892, flags=0x30ed60) at  
Python/pythonrun.c:862
#158 0x00003df4 in ?? ()
#159 0x00003e94 in ?? ()
#160 0x00002708 in ?? ()
#161 0x0000257c in ?? ()
(gdb)

As far as I can tell, it appears to be breaking somewhere in  
xml.sax.parser - I'm working on narrowing that down further.


     Richard



More information about the Pythonmac-SIG mailing list