Skip to content

macOS: app crashes on launch with "current limit exceeds maximum limit" #1848

@iikuzmychov

Description

@iikuzmychov

On macOS, launching the app crashes immediately:

File "modules/core.py", line 180, in limit_resources
ValueError: current limit exceeds maximum limit

The macOS kernel rejects setrlimit(RLIMIT_DATA, ...) with EINVAL for the values used here, which CPython surfaces as the misleading ValueError above. See python/cpython#142317.

PR to follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions