Skip to content

Your test suite triggers my OOM killer #58

@ctrlcctrlv

Description

@ctrlcctrlv

bash uses all system RAM then crashes when running structs.sh

sizeof -a unnamed_t is the culprit

[fred@デブ.狸.agency ~/.cache/yay/bash-ctypes-git/src/bash-ctypes/test]$ bash -l
[fred@debu test]$ sizeof -a unnamed_t
^Cbash: sizeof: warning: unnamed_t could not be found; check `help struct` for more

^\^\^\^\[fred@debu test]$ Killed

Sorry, it “searches for the struct”? How? Because strace seems to say that it just loads every .so into bash's memory 😂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions