You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2009/09/30 06:12:32 UTC

[jira] Updated: (AVRO-130) "bad file descriptor" error after shutting down python ipc.SocketServer

     [ https://issues.apache.org/jira/browse/AVRO-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated AVRO-130:
------------------------------

    Component/s: python

> "bad file descriptor" error after shutting down python ipc.SocketServer
> -----------------------------------------------------------------------
>
>                 Key: AVRO-130
>                 URL: https://issues.apache.org/jira/browse/AVRO-130
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 1.1.0
>         Environment: python 2.6, ubuntu (jaunty)
>            Reporter: Patrick Hunt
>
> I see the following error after shutting down the ipc.SocketServer:
> --------------
> ....
> Closed: Connection-('127.0.0.1', 35220)
> Exception in thread SocketServer on ('localhost', 0):
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
>     self.run()
>   File "/home/phunt/dev/workspace/avro-rpc-quickstart/lib/python/avro/ipc.py", line 385, in run
>     raise e
> error: [Errno 9] Bad file descriptor
> ----------------
> If I put a "print("done")" as the last line in:
> http://github.com/phunt/avro-rpc-quickstart/blob/master/src/main/python/send_message.py
> The above error is printed _after_ the done message it output. It seems that the socketserver is not shutting down correctly during the "close" and subsequently fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.