Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

semaphore errors on AIX 6.1 #53909

Closed
sable mannequin opened this issue Aug 27, 2010 · 3 comments
Closed

semaphore errors on AIX 6.1 #53909

sable mannequin opened this issue Aug 27, 2010 · 3 comments

Comments

@sable
Copy link
Mannequin

sable mannequin commented Aug 27, 2010

BPO 9700
Nosy @pitrou
Files
  • patch-semaphore.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2010-08-30.14:58:10.919>
    created_at = <Date 2010-08-27.12:39:52.039>
    labels = []
    title = 'semaphore errors on AIX 6.1'
    updated_at = <Date 2010-08-30.14:58:10.916>
    user = 'https://bugs.python.org/sable'

    bugs.python.org fields:

    activity = <Date 2010-08-30.14:58:10.916>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-08-30.14:58:10.919>
    closer = 'pitrou'
    components = ['None']
    creation = <Date 2010-08-27.12:39:52.039>
    creator = 'sable'
    dependencies = []
    files = ['18658']
    hgrepos = []
    issue_num = 9700
    keywords = ['patch']
    message_count = 3.0
    messages = ['115068', '115206', '115220']
    nosy_count = 2.0
    nosy_names = ['pitrou', 'sable']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue9700'
    versions = ['Python 3.1', 'Python 2.7', 'Python 3.2']

    @sable
    Copy link
    Mannequin Author

    sable mannequin commented Aug 27, 2010

    Hi,

    The same problem that was reported in bpo-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

    @sable
    Copy link
    Mannequin Author

    sable mannequin commented Aug 30, 2010

    This is also related to bpo-1234: 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

    @pitrou
    Copy link
    Member

    pitrou commented Aug 30, 2010

    Patch committed in r84366 (py3k), r84367 (3.1), r84368 (2.7). Thanks for your contribution!

    @pitrou pitrou closed this as completed Aug 30, 2010
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant