[Th/sparc] python

Tomasz Mateja tommat w pimpek.one.pl
Wto, 17 Lip 2007, 20:26:54 CEST


Jakub Bogusz napisał(a):
> 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ą)

[builder w moon Python-2.5.1]$ echo test_fcntl > ~/tmp/pynexttest
[builder w moon Python-2.5.1]$ 
LD_LIBRARY_PATH=/home/users/builder/rpm/BUILD/Python-2.5.1 
PYTHONHOME=/home/users/builder/rpm/BUILD/Python-2.5.1 
PYTHONPATH=/home/users/builder/rpm/BUILD/Python-2.5.1/Lib:build/lib.linux-sparc64-2.5 
strace -e trace=ioctl,fcntl ./python -tt Lib/test/regrtest.py -l -s 
2>python.strace
test_fcntl
test test_fcntl crashed -- <type 'exceptions.IOError'>: [Errno 14] Bad 
address
1 test failed:
     test_fcntl
[builder w moon Python-2.5.1]$ cat python.strace
ioctl(0, TCSETAF or SNDCTL_TMR_SELECT, {B38400 opost isig icanon echo 
...}) = 0
ioctl(0, TCSETAF or SNDCTL_TMR_SELECT, {B38400 opost isig icanon echo 
...}) = 0
ioctl(1, TCSETAF or SNDCTL_TMR_SELECT, {B38400 opost isig icanon echo 
...}) = 0
ioctl(2, TCSETAF or SNDCTL_TMR_SELECT, 0xff94954c) = -1 ENOTTY 
(Inappropriate ioctl for device)
ioctl(3, TCSETAF or SNDCTL_TMR_SELECT, 0xff949714) = -1 ENOTTY 
(Inappropriate ioctl for device)
Process 2339 detached
[builder w moon Python-2.5.1]$
[builder w moon Python-2.5.1]$ echo test_ioctl > ~/tmp/pynexttest
[builder w moon Python-2.5.1]$ 
LD_LIBRARY_PATH=/home/users/builder/rpm/BUILD/Python-2.5.1 
PYTHONHOME=/home/users/builder/rpm/BUILD/Python-2.5.1 
PYTHONPATH=/home/users/builder/rpm/BUILD/Python-2.5.1/Lib:build/lib.linux-sparc64-2.5 
strace -e trace=ioctl,fcntl ./python -tt Lib/test/regrtest.py -l -s 
2>python.strace
test_ioctl
test test_ioctl failed -- errors occurred in test.test_ioctl.IoctlTests
1 test failed:
     test_ioctl
[builder w moon Python-2.5.1]$ cat python.strace
ioctl(0, TCSETAF or SNDCTL_TMR_SELECT, {B38400 opost isig icanon echo 
...}) = 0
ioctl(0, TCSETAF or SNDCTL_TMR_SELECT, {B38400 opost isig icanon echo 
...}) = 0
ioctl(1, TCSETAF or SNDCTL_TMR_SELECT, {B38400 opost isig icanon echo 
...}) = 0
ioctl(2, TCSETAF or SNDCTL_TMR_SELECT, 0xffb1754c) = -1 ENOTTY 
(Inappropriate ioctl for device)
ioctl(3, TCSETAF or SNDCTL_TMR_SELECT, 0xffb17714) = -1 ENOTTY 
(Inappropriate ioctl for device)
ioctl(3, PPPIOCSMPFLAGS, 0xffb14ca7)    = -1 EFAULT (Bad address)
ioctl(3, PPPIOCSMPFLAGS, 0xffb14ca7)    = -1 EFAULT (Bad address)
Process 2343 detached
[builder w moon Python-2.5.1]$

-- 
T.


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