This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: semaphore errors on AIX 6.1
Type: Stage: resolved
Components: None Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: pitrou, sable
Priority: normal Keywords: patch

Created on 2010-08-27 12:39 by sable, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch-semaphore.diff sable, 2010-08-27 12:39
Messages (3)
msg115068 - (view) Author: Sébastien Sablé (sable) Date: 2010-08-27 12:39
Hi,

The same problem that was reported in issue 1106262 is appearing again on AIX 6.1 (the following error messages appear sometime when runnning python:
sem_trywait: Permission denied
sem_post: Permission denied
sem_destroy: Permission denied)

It can be easily corrected by defining HAVE_BROKEN_POSIX_SEMAPHORES for AIX 6, like it is done for AIX 5.

I attach a patch that does that (I made the patch on Python 2.6.6 but it should apply to Python 2.7 and 3.X as well).

regards
msg115206 - (view) Author: Sébastien Sablé (sable) Date: 2010-08-30 11:39
This is also related to issue1234: It was the same issue but concerning AIX 5.2. This patch corrects the problem in the same way but for AIX 6.1.

regards
msg115220 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-08-30 14:58
Patch committed in r84366 (py3k), r84367 (3.1), r84368 (2.7). Thanks for your contribution!
History
Date User Action Args
2022-04-11 14:57:05adminsetgithub: 53909
2010-08-30 14:58:10pitrousetstatus: open -> closed

versions: - Python 2.6, Python 3.3
nosy: + pitrou

messages: + msg115220
resolution: fixed
stage: resolved
2010-08-30 11:39:50sablesetmessages: + msg115206
2010-08-27 12:39:52sablecreate