[darcs-devel] [issue1986] problems with stderr handling

qnikst bugs at darcs.net
Sun Oct 31 23:11:39 UTC 2010


New submission from qnikst <alexander.vershilov at gmail.com>:

When darcs is called from another program (In my case python) and it's
output redirected to stderr, darcs hangs on exit. So it finished all
tasks (not using CPU).
strace write:
futex(0xf27bcc, FUTEX_WAIT_PRIVATE, 43, NULL

This situation can be when darcs trying to close stderr before exit.
I'm attaching a simple python program describing this situation. 
3/4 test are passing (writing to stdout and hacking running cmd), but
last fails.

----------
files: 1.py
messages: 12859
nosy: dmitry.kurochkin, qnikst
status: unknown
title: problems with stderr handling

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1986>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.py
Type: text/x-python
Size: 402 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20101031/d2c99cfd/attachment.py>


More information about the darcs-devel mailing list