should catch and hide EINTR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Confirmed
|
Medium
|
Chad Miller | ||
python-couchdb (Ubuntu) |
Confirmed
|
Medium
|
Chad Miller |
Bug Description
Binary package hint: python-couchdb
Any syscall can be interrupted. The interface that maps python objects to system calls should handle interruptions, instead of percolating them up to what looks like python-object primitive functions.
couchdb.
should catch OSError and test exception errno for errno.EINTR.
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/home/
self.
File "/home/
del self.db[doc_id]
File "/usr/lib/
self.
File "/usr/lib/
return self._request(
File "/usr/lib/
resp, data = _make_request()
File "/usr/lib/
body=body, headers=headers)
File "/usr/lib/
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/
(response, content) = self._conn_
File "/usr/lib/
response = conn.getresponse()
File "/usr/lib/
response.
File "/usr/lib/
version, status, reason = self._read_status()
File "/usr/lib/
line = self.fp.readline()
File "/usr/lib/
data = recv(1)
socket.error: [Errno 4] Interrupted system call
Changed in python-couchdb (Ubuntu): | |
assignee: | nobody → Chad Miller (cmiller) |
Changed in desktopcouch: | |
assignee: | nobody → Chad Miller (cmiller) |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in python-couchdb (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in desktopcouch: | |
status: | Confirmed → Fix Released |
Changed in python-couchdb (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in python-couchdb (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in desktopcouch: | |
status: | Fix Released → Confirmed |