[tahoe-lafs-trac-stream] [tahoe-lafs] #1381: EINTR from communication with subprocess in allmydata/util/iputil.py _query
tahoe-lafs
trac at tahoe-lafs.org
Mon May 27 17:29:35 UTC 2013
#1381: EINTR from communication with subprocess in allmydata/util/iputil.py _query
------------------------------+------------------------------
Reporter: davidsarah | Owner: davidsarah
Type: defect | Status: assigned
Priority: major | Milestone: 1.11.0
Component: code-network | Version: 1.8.2
Resolution: | Keywords: iputil heisenbug
Launchpad Bug: |
------------------------------+------------------------------
Old description:
> Reported by 'sickness' on irc:
> {{{
> # Run
> # test_loadable ...
> [OK]
> # test_reloadable ... Node._startService failed, aborting
> # [Failure instance: Traceback: <type 'exceptions.OSError'>: [Errno 4]
> Interrupted system call
> # /usr/lib/python2.6/threading.py:497:__bootstrap
> # /usr/lib/python2.6/threading.py:525:__bootstrap_inner
> # /usr/lib/python2.6/threading.py:477:run
> # --- <exception caught here> ---
> # /usr/lib/python2.6/vendor-
> packages/twisted/python/threadpool.py:210:_worker
> # /usr/lib/python2.6/vendor-
> packages/twisted/python/context.py:59:callWithContext
> # /usr/lib/python2.6/vendor-
> packages/twisted/python/context.py:37:callWithContext
> # /home/righdieg/allmydata-
> tahoe-1.8.2/src/allmydata/util/iputil.py:222:_synchronously_find_addresses_via_config
> # /home/righdieg/allmydata-
> tahoe-1.8.2/src/allmydata/util/iputil.py:237:_query
> # /usr/lib/python2.6/subprocess.py:689:communicate
> # /usr/lib/python2.6/subprocess.py:1233:_communicate
> # /usr/lib/python2.6/subprocess.py:1157:wait
> # ]
> # calling os.abort()
> }}}
>
> Possibly related: http://bugs.python.org/issue1068268 . It may be that
> the patch for that bug wasn't complete enough. EINTR failures are usually
> not very reproducible, but the fix is just to repeat the query until it
> works (or fails with a different error).
New description:
Reported by 'sickness' on irc:
{{{
# Run
# test_loadable ...
[OK]
# test_reloadable ... Node._startService failed, aborting
# [Failure instance: Traceback: <type 'exceptions.OSError'>: [Errno 4]
Interrupted system call
# /usr/lib/python2.6/threading.py:497:__bootstrap
# /usr/lib/python2.6/threading.py:525:__bootstrap_inner
# /usr/lib/python2.6/threading.py:477:run
# --- <exception caught here> ---
# /usr/lib/python2.6/vendor-
packages/twisted/python/threadpool.py:210:_worker
# /usr/lib/python2.6/vendor-
packages/twisted/python/context.py:59:callWithContext
# /usr/lib/python2.6/vendor-
packages/twisted/python/context.py:37:callWithContext
# /home/righdieg/allmydata-
tahoe-1.8.2/src/allmydata/util/iputil.py:222:_synchronously_find_addresses_via_config
# /home/righdieg/allmydata-
tahoe-1.8.2/src/allmydata/util/iputil.py:237:_query
# /usr/lib/python2.6/subprocess.py:689:communicate
# /usr/lib/python2.6/subprocess.py:1233:_communicate
# /usr/lib/python2.6/subprocess.py:1157:wait
# ]
# calling os.abort()
}}}
Possibly related: http://bugs.python.org/issue1068268 . It may be that the
patch for that bug wasn't complete enough. EINTR failures are usually not
very reproducible, but the fix is just to repeat the query until it works
(or fails with a different error).
--
Comment (by zooko):
See #1988
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1381#comment:8>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list