Skip to content

mmap.size() raises OSError on Unix for anonymous memory #87595

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

Open
ZackerySpytz mannequin opened this issue Mar 7, 2021 · 1 comment
Open

mmap.size() raises OSError on Unix for anonymous memory #87595

ZackerySpytz mannequin opened this issue Mar 7, 2021 · 1 comment
Labels
3.11 only security fixes 3.12 only security fixes extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error

Comments

@ZackerySpytz
Copy link
Mannequin

ZackerySpytz mannequin commented Mar 7, 2021

BPO 43429
Nosy @ZackerySpytz
PRs
  • gh-87595: mmap.size() now returns the size on Unix for anonymous memory #24781
  • 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 = None
    created_at = <Date 2021-03-07.23:29:06.867>
    labels = ['extension-modules', 'type-bug', '3.10']
    title = 'mmap.size() raises OSError on Unix for anonymous memory'
    updated_at = <Date 2021-03-07.23:33:14.666>
    user = 'https://github.com/ZackerySpytz'

    bugs.python.org fields:

    activity = <Date 2021-03-07.23:33:14.666>
    actor = 'ZackerySpytz'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Extension Modules']
    creation = <Date 2021-03-07.23:29:06.867>
    creator = 'ZackerySpytz'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43429
    keywords = ['patch']
    message_count = 1.0
    messages = ['388252']
    nosy_count = 1.0
    nosy_names = ['ZackerySpytz']
    pr_nums = ['24781']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43429'
    versions = ['Python 3.10']

    @ZackerySpytz
    Copy link
    Mannequin Author

    ZackerySpytz mannequin commented Mar 7, 2021

    For anonymous memory, mmap.size() works without issue on Windows, but it raises OSError on Unix.

    @ZackerySpytz ZackerySpytz mannequin added 3.10 only security fixes extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error labels Mar 7, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @arhadthedev arhadthedev added 3.11 only security fixes 3.12 only security fixes and removed 3.10 only security fixes labels May 12, 2023
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.11 only security fixes 3.12 only security fixes extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant