[issue11223] test_threadsignals.py hanging on AIX

2011-02-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, the problem is when the condition variable-based implementation is chosen in Python/thread_pthread.h. It is actually reproduceable under Linux by adding `#undef USE_SEMAPHORES` just after `#define USE_SEMAPHORES`. The problem is that, contrary to sem_timed

[issue11223] test_threadsignals.py hanging on AIX

2011-02-16 Thread Sébastien Sablé
Sébastien Sablé added the comment: $ grep SEM pyconfig.h #define HAVE_BROKEN_POSIX_SEMAPHORES 1 /* #undef HAVE_BROKEN_SEM_GETVALUE */ #define HAVE_SEM_GETVALUE 1 #define HAVE_SEM_OPEN 1 #define HAVE_SEM_TIMEDWAIT 1 #define HAVE_SEM_UNLINK 1 /* #undef POSIX_SEMAPHORES_NOT_ENABLED */ #ifndef _POSI

[issue11223] test_threadsignals.py hanging on AIX

2011-02-16 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue11223] test_threadsignals.py hanging on AIX

2011-02-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: We have the same issue on our FreeBSD 6.4 buildbot: http://python.org/dev/buildbot/all/builders/x86%20FreeBSD%203.x/builds/1216/steps/test/logs/stdio (FreeBSD 7.2 is fine) Can you tell me what the values of _POSIX_SEMAPHORES and HAVE_SEM_TIMEDWAIT are (or whet

[issue11223] test_threadsignals.py hanging on AIX

2011-02-16 Thread Sébastien Sablé
New submission from Sébastien Sablé : The test test_lock_acquire_interruption in test_threadsignals.py will lock forever on AIX 5.3. It works fine on 6.1. truss shows it is stuck in thread_tsleep: $ truss -p 1404986 thread_tsleep(0, 0x, 0x, 0x) (sleeping...) --