[Th/sparc] python

Tomasz Mateja tommat w pimpek.one.pl
Wto, 17 Lip 2007, 18:44:32 CEST


Tomasz Mateja napisał(a):
> Wywala się na testach, a konktretnie tych dwoch:
> 
> test test_fcntl crashed -- <type 'exceptions.IOError'>: [Errno 14] Bad 
> address
> test test_ioctl failed -- errors occurred in test.test_ioctl.IoctlTests
> 
> Nie wiem gdzie szukac przyczyny. Czyżby jakiś fafol w ioctl-u?
> 
Wiecej szczegółów:

test_fcntl
struct.pack: 
'\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
Status from fcntl with O_NONBLOCK:  0
test test_fcntl crashed -- <type 'exceptions.IOError'>: [Errno 14] Bad 
address
Traceback (most recent call last):
   File "./Lib/test/regrtest.py", line 549, in runtest_inner
     the_package = __import__(abstest, globals(), locals(), [])
   File 
"/home/users/builder/rpm/BUILD/Python-2.5.1/Lib/test/test_fcntl.py", 
line 53, in <module>
     rv = fcntl.fcntl(f.fileno(), fcntl.F_SETLKW, lockdata)
IOError: [Errno 14] Bad address
'test_fcntl' left behind file '@test'


test_ioctl
test_ioctl (test.test_ioctl.IoctlTests) ... ERROR
test_ioctl_mutate (test.test_ioctl.IoctlTests) ... ERROR

======================================================================
ERROR: test_ioctl (test.test_ioctl.IoctlTests)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/users/builder/rpm/BUILD/Python-2.5.1/Lib/test/test_ioctl.py", 
line 23, in test_ioctl
     r = fcntl.ioctl(tty, termios.TIOCGPGRP, "    ")
IOError: [Errno 14] Bad address

======================================================================
ERROR: test_ioctl_mutate (test.test_ioctl.IoctlTests)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/home/users/builder/rpm/BUILD/Python-2.5.1/Lib/test/test_ioctl.py", 
line 32, in test_ioctl_mutate
     r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1)
IOError: [Errno 14] Bad address

----------------------------------------------------------------------
Ran 2 tests in 0.003s

FAILED (errors=2)
test test_ioctl failed -- errors occurred in test.test_ioctl.IoctlTests

-- 
T.


Więcej informacji o liście dyskusyjnej pld-devel-pl