[Twisted-Python] Weekly Bug Summary

2014-02-15 Thread trac
Bug summary __ Summary for 2014-02-09 through 2014-02-16 Opened Closed Total Change Enhancements: 9 2 1151 +7 Defects: 5 4703 +1 Tasks: 3 0 9

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

2014-02-15 Thread exarkun
On 15 Feb, 07:58 pm, gl...@twistedmatrix.com wrote: The one thing that confused me was that the sample program appeared to be running the program only once a second, and waiting for it to complete before running it again. I think it's more like 81 processes once a second and *not* waiting fo

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

2014-02-15 Thread Glyph
On Feb 15, 2014, at 6:38 AM, Itamar Turner-Trauring wrote: > In this particular case, the traceback plus some googling > (http://bugs.python.org/issue11768 is what I found, presumably a different > bug though) suggests the bug may be something like signal handler not being > re-entrant for so

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

2014-02-15 Thread Itamar Turner-Trauring
On 02/14/2014 07:21 AM, Orestis Markou wrote: 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 actua

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

2014-02-15 Thread Laurens Van Houtven
Hi Orestis, Since creating processes involves syscalls, I would expect the tool of choice to debug this on OS X to be dtruss. I wish I could help on this endeavor but right now I'm focusing on fighting e-mail. (Brace yourself. PyCon is coming.) hth lvh _