[issue12413] make faulthandler dump traceback of child processes

2021-12-06 Thread STINNER Victor
STINNER Victor added the comment: There is not activity for 10 years. I consider that this feature is not really needed. I reject this feature request. -- resolution: -> rejected stage: needs patch -> resolved status: open -> closed ___ Python tra

[issue12413] make faulthandler dump traceback of child processes

2013-10-12 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue12413] make faulthandler dump traceback of child processes

2011-07-04 Thread Charles-François Natali
Charles-François Natali added the comment: > subprocess doesn't use a shell by default, and I don't think that > multiprocessing uses a shell to start Python. > No, but we precisely want subprocess/multiprocessing-created processes to be in the same process group. > To simplify the implementat

[issue12413] make faulthandler dump traceback of child processes

2011-06-26 Thread STINNER Victor
STINNER Victor added the comment: > > In which case is Python the leader of the group? ... > > Yes, it's the case by default when you launch a process through a shell. subprocess doesn't use a shell by default, and I don't think that multiprocessing uses a shell to start Python. > > The subpr

[issue12413] make faulthandler dump traceback of child processes

2011-06-26 Thread Charles-François Natali
Charles-François Natali added the comment: > You mean that the tracebacks of children should be dumped on a timeout of the > parent? Or do you also want them on a segfault of the parent? In my > experience, the most common problem with the multiprocessing and subprocess > modules is the hang.

[issue12413] make faulthandler dump traceback of child processes

2011-06-25 Thread STINNER Victor
STINNER Victor added the comment: > since all the processes receive the signal at the same time, > their outputs will be interleaved (we could maybe add a random > sleep before dumping the traceback?) If we have the pid list of the children, we can use an arbitrary sleep (e.g. 1 second) before

[issue12413] make faulthandler dump traceback of child processes

2011-06-25 Thread STINNER Victor
Changes by STINNER Victor : -- Removed message: http://bugs.python.org/msg139135 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue12413] make faulthandler dump traceback of child processes

2011-06-25 Thread STINNER Victor
STINNER Victor added the comment: > since all the processes receive the signal at the same time, > their outputs will be interleaved (we could maybe add a random > sleep before dumping the traceback?) And we have the pid list of the children, we can use an arbitrary sleep (e.g. 1 second) befor

[issue12413] make faulthandler dump traceback of child processes

2011-06-25 Thread STINNER Victor
STINNER Victor added the comment: Oh oh. I already thaugh to this feature, but its implementation is not trivial. > As noted in issue #11870 ... You mean that the tracebacks of children should be dumped on a timeout of the parent? Or do you also want them on a segfault of the parent? In my ex

[issue12413] make faulthandler dump traceback of child processes

2011-06-25 Thread Charles-François Natali
New submission from Charles-François Natali : As noted in issue #11870, making faulthandler capable of dumping child processes' tracebacks could be a great aid in debugging tricky deadlocks involving for example multiprocessing and subprocess. Since there's no portable way to find out child pro