Skip to content

[Tigron]: looping inside pipes reading or writing will deadlock #4231

Closed as not planned
@apostasie

Description

@apostasie

Description

On a command timeout, we still Wait for the ioGroup.
This works fine in normal circumstances, but if a feeder to stdin does loop forever, we just wait there.

Possible solutions:

  • separate stdin / feeders in their own group and force drop it on wrap
  • add a timeout to the ioGroup wait

Steps to reproduce the issue

Describe the results you received and expected

Timeout properly, even with a faulty feeder to would get stuck.

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions