Bugs item #1709902, was opened at 2007-04-30 16:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1709902&group_id=132078

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tpserver-py
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: nash (nash)
Assigned to: Tim Ansell (mithro)
Summary: tpserver-py doesn't handle interrupted syscalls

Initial Comment:
To reproduce:
run tpserver-py
hit ^Z
then type 'bg'

And you get:
baboon:[~TP/tpserver-py]% bg
[1]  + continued  ./tpserver-py
Traceback (most recent call last):
  File "./tpserver-py", line 36, in ?
    main()
  File "./tpserver-py", line 29, in main
    s.serve_forever()
  File 
"/amd/baboon/local/nash/work/tranquillity/tpserver-py/tp/netlib/server.py", 
line 268, in serve_forever
    events = poller.poll(100)
select.error: (4, 'Interrupted system call')

I also note that any language/library which requires a exception handler for 
interruped sys call... needs to program in the real world for 5 minutes.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1709902&group_id=132078
_______________________________________________
tp-bugs mailing list
[email protected]
http://mail.thousandparsec.net/cgi-bin/mailman/listinfo/tp-bugs

Reply via email to