Skip to content

Forkbomb freeze [XPC Poison] #17

@mach-port-t

Description

@mach-port-t

What I expected

The kernel virtualization layer should have killed or managed resources better.

What happened

A fork bomb causes a freeze.

Steps to reproduce

(Do not try this unless you're really sure!)

#include <stdlib.h>
#include <spawn.h>

char **environ;

int main(int argc, char *argv[])
{
    while(1)
    {
        posix_spawn(NULL, argv[0], NULL, NULL, argv, environ);
    }
}

Environment

iPhone 14 Pro
iOS 26.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    advancedbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions