Skip to content

t/92-segv-fork.t sometimes freeze #212

@lzsiga

Description

@lzsiga

Test script t/92-segv-fork.t randomly freezes (i.e. waits infinitely); the reason seems to be the lack of synchronization between main process and _SIG_CHLD: they work on the same data-structure (queue).
I might try to come up with some synchronization (I hope lock function will do)

Edit 2026-02-24 17:47 'lock' doesn't help in this context, but I still see two options: #1 reorganize the compelete code, #2 start another thread. I think I'll go with the second option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions