[Twisted-Python] Deadlocks when launching processes - how to investigate?

Orestis Markou orestis at orestis.gr
Fri Feb 14 05:21:59 MST 2014


Hello,

I just filed https://twistedmatrix.com/trac/ticket/6972

The issue I'm facing is a deadlocked Python on OS X when a lot of 
processes are spawned. In the repro script we do this very aggressively 
to trigger the deadlock quickly, but the actual program that does this 
"ticks" every minute.

There is a possibility that this is either a Python bug or an OS X issue 
as the same program used to run fine in 10.5 and after some upgrades to 
10.7 this issue appeared. We worked around it by using 2.6 but now we 
need 2.7.

I know this is going to be difficult for people to reproduce, so I 
wonder if someone can help me investigate the issue further. I found 
this https://dev.launchpad.net/Debugging/GDB but it doesn't work - I 
believe, without being able to confirm, that the issue is that GDB can't 
really work with clang-built executables? Or perhaps I don't have the 
debugging symbols.

Any help would be greatly appreciated.

Orestis



More information about the Twisted-Python mailing list