Skip to content

after update to version 5.0.0 keeps spawning shellcheck until memory runs out. #912

@croyleje

Description

@croyleje

Code editor

vim

Platform

Linux 6.4.3

Version

5.0.0

What steps will reproduce the bug?

Start vim with filetype or sh.

How often does it reproduce? Is there a required condition?

Everytime.

What is the expected behavior?

n/a

What do you see instead?

After starting vim with filetype sh more and more sessions of shellcheck are spawned until memory runs out and kernel steps in and kills processes.

Additional information

Jul 15 17:42:47 arch kernel: [   2283]  1000  2283 268462800   109120  1118208        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2282]  1000  2282 268462800   109184  1118208        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2271]  1000  2271 268462800   159134  1519616        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2270]  1000  2270 268462800   159296  1519616        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2246]  1000  2246 268462800   409215  3522560        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2245]  1000  2245 268462800   409653  3522560        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2244]  1000  2244 268462800   416446  3579904        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2243]  1000  2243 268462800   352768  3076096        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2241]  1000  2241 268462800   759616  6328320        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2240]  1000  2240 268462800   637695  5353472        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2173]  1000  2173 268462800   939777  7786496        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2172]  1000  2172 268462800   942017  7798784        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   2171]  1000  2171 268462800   984575  8138752        0             0 shellcheck
Jul 15 17:42:47 arch kernel: [   1907]  1000  1907 268462800   951553  8265728        0             0 shellcheck

Then shortly after system locks up and then.

Jul 15 17:42:47 arch kernel: Out of memory: Killed process 2171 (shellcheck) total-vm:1073851200kB, anon-rss:3937532kB, file-rss:768kB, shmem-rss:0kB, UID:1000 pgtables:7948kB oom_score_adj:0

Unsure if this is bash-language-server or shellcheck issue but it started right after I updated bash-language-server today. I also opened an issue on the shellcheck github page I am unsure how to diagnose this further but thought I would mention it here.

Thank you,
Jason C.

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