On Tue, Jul 17, 2007 at 06:44:32PM +0200, Tomasz Mateja wrote: > 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
No ciekawe. EFAULT we wszystkich przypadkach (fcntl/ioctl). Wygląda na przekazywanie złego adresu do struktur przez interpreter. Możesz te testy puścić na "strace -e trace=ioctl,fcntl" i pokazać wyjście? (ew. z -f, jeśli się rozmnażają) -- Jakub Bogusz http://qboosh.pl/ _______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
