[issue3277] socket's OOB data management is broken on FreeBSD
Andrew Azarov
report at bugs.python.org
Fri Jul 4 20:44:26 CEST 2008
Andrew Azarov <equand at gmail.com> added the comment:
tested:
Python 2.5.2 (r252:60911, Jun 24 2008, 16:40:26)
[GCC 4.2.1 20070719 [FreeBSD]] on freebsd7
FreeBSD tomcat 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52
UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
expt -> o
read -> fo
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python2.5/threading.py", line 486, in
__bootstrap_inner
self.run()
File "/usr/local/lib/python2.5/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "test.py", line 13, in server
data = conn.recv(1024, socket.MSG_OOB)
error: (22, 'Invalid argument')
and:
Python 2.5 (r25:51908, Jun 25 2007, 16:00:15)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
FreeBSD timcat 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat Sep 9 03:32:05
MSD 2006 root at timcat:/usr/obj/usr/src/sys/SMP i386
expt -> o
read -> fo
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python2.5/threading.py", line 460, in __bootstrap
self.run()
File "/usr/local/lib/python2.5/threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "test.py2", line 13, in server
data = conn.recv(1024, socket.MSG_OOB)
error: (22, 'Invalid argument')
and:
Python 2.4.3 (#1, Jun 23 2006, 10:54:52)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
FreeBSD comanchee-girl 4.9-RELEASE-CMN-1.1 FreeBSD 4.9-RELEASE-CMN-1.1
#4: Mon Apr 26 02:11:27 MSD 2004
root at comanchee-girl:/usr/obj/usr/src/sys/CMN i386
expt -> o
read -> fo
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python2.4/threading.py", line 442, in __bootstrap
self.run()
File "/usr/local/lib/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "test.py", line 13, in server
data = conn.recv(1024, socket.MSG_OOB)
error: (22, 'Invalid argument')
All versions are stable and working in production. Except 7th version
the servers are loaded (la 0.2 to 3) with http/mysql/mail daemons.
Seems like a bug in python socket usage of freebsd for long time.
----------
nosy: +Ikinoki
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3277>
_______________________________________
More information about the Python-bugs-list
mailing list