Skip to content

expr: Segmentation fault on big inputs #7338

@RenjiSann

Description

@RenjiSann

This behaviour happens when the list of inputs is quite large (it starts happening on my machine around N=2850, but it's not absolute.

$ export N=3000
$ cargo run -p uu_expr -- $(seq -s" + " $N)
[1]    2144088 segmentation fault  cargo run -p uu_expr -- $(seq -s" + " $N)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions