8000 Call bundled program will hang the program with a piped stdin. The larger the file, the longer the time it takes. · Issue #306 · edgelesssys/ego · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Call bundled program will hang the program with a piped stdin. The larger the file, the longer the time it takes. #306
Open
@dyxushuai

Description

@dyxushuai

Issue description

For example:

$ cat a-large-file | my-ego-program

This will take long time, more than 10minutes with CPU usage

Image

And the main thread block's backtrace:

Image

Others like:

Image Image

The strace output:

Image

After I changed the piped stdin to FD based stdin, it works as expect!

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

      0