[issue11223] interruption of locks by signals not guaranteed when the semaphore implementation is not used
Sébastien Sablé
report at bugs.python.org
Wed Feb 16 17:55:37 CET 2011
Sébastien Sablé <sable at users.sourceforge.net> added the comment:
test_socket didnot lock this time (I will retry next).
But test_subprocess.ProcessTestCasePOSIXPurePython.test_leaking_fds_on_error did.
Looping forever on the following syscall:
pipe(0x2FF1FD88) = 0
kfcntl(15, F_GETFD, 0x00000000) = 0
kfcntl(15, F_SETFD, 0x00000001) = 0
kfcntl(17, F_GETFD, 0x00000000) = 0
kfcntl(17, F_SETFD, 0x00000001) = 0
pipe(0x2FF1FD88) = 0
kfcntl(18, F_GETFD, 0x00000000) = 0
kfcntl(18, F_SETFD, 0x00000001) = 0
kfcntl(19, F_GETFD, 0x00000000) = 0
kfcntl(19, F_SETFD, 0x00000001) = 0
fstatx(15, 0x2FF1FAEC, 76, 0) = 0
kioctl(15, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
fstatx(15, 0x2FF1FD7C, 76, 0) = 0
lseek(15, 0, 1) Err#29 ESPIPE
fstatx(18, 0x2FF1FAEC, 76, 0) = 0
kioctl(18, 22528, 0x00000000, 0x00000000) Err#25 ENOTTY
fstatx(18, 0x2FF1FD7C, 76, 0) = 0
lseek(18, 0, 1) Err#29 ESPIPE
pipe(0x2FF1FD08) = 0
kfcntl(20, F_GETFD, 0x00000000) = 0
kfcntl(20, F_SETFD, 0x00000001) = 0
kfcntl(21, F_GETFD, 0x00000000) = 0
kfcntl(21, F_SETFD, 0x00000001) = 0
sigprocmask(0, 0xF029C148, 0xF029C150) = 0
kfork() = 2011158
thread_setmymask_fast(0x00000000, 0x00000000, 0x00000000, 0xD0504100, 0x00000000, 0x1216F00B, 0x1216F00B, 0x00000000) = 0x00000000
close(21) = 0
close(17) = 0
close(19) = 0
kread(20, " O S E r r o r : 2 :\0 i".., 50000) = 10
kread(20, 0x33041C38, 50000) = 0
close(20) = 0
kwaitpid(0x2FF1FB50, 2011158, 4, 0x00000000, 0x00000000) = 2011158
close(15) = 0
close(18) = 0
close(15) Err#9 EBADF
close(18) Err#9 EBADF
pipe(0x2FF1FD88) = 0
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11223>
_______________________________________
More information about the Python-bugs-list
mailing list