[Twisted-Python] twisted server blocking on MySQL read in main thread when using adbapi.ConnectionPool

Phil Mayers p.mayers at imperial.ac.uk
Tue May 21 01:02:56 MDT 2013


On 05/21/2013 01:47 AM, Dan Williams wrote:
> The invocation is simply "py-bt", but it only works if symbols are
> available, which aren't in my case.

Really, surely Ubuntu LTS has "debug symbol" packages or something? A 
quick google suggests its "packagename-dbg" for stripped symbols.

I meant to reply with this last night: knowing very little about MySQL 
or it's python bindings, is it possible you're returning an object from 
runInteraction that's still "attached" to the DB e.g. a BLOB that 
lazy-loads on references, or something?

In the absence of a python traceback it might be the age-old "add prints 
everywhere and see where it stops" dance...




More information about the Twisted-Python mailing list