Package: shellcheck
Version: 0.4.4-4

In Debian 9, running shellcheck against a moderate-size file results in the 
error message

    shellcheck: unable to decommit memory: Invalid argument

I can reproduce this with these commands:

    docker run -it debian:9
    apt-get -y update
    apt-get -y install shellcheck
    echo '#!/bin/bash' > test.sh; for i in $(seq 1000); do echo 'echo "hi"' >> 
test.sh; done
    shellcheck test.sh
    # shellcheck: unable to decommit memory: Invalid argument
    # shellcheck: unable to decommit memory: Invalid argument
    # shellcheck: unable to decommit memory: Invalid argument

Since shellcheck is used in CI tests and produces no output on success, these 
error messages shouldn't be present.

Uname: Linux 0b9a6fddbfc7 3.10.0-862.3.3.el7.x86_64 #1 SMP Fri Jun 15 04:15:27 
UTC 2018 x86_64 GNU/Linux
Libc6: Version: 2.24-11+deb9u3

Thanks in advance for your help.

This e-mail message contains confidential information intended only for the use 
of the individual or entity to which it is addressed. If you are not the 
intended recipient, please do not disseminate, distribute or copy this 
communication, by e-mail or otherwise. Instead, please notify us immediately by 
return e-mail and then delete and discard all copies of the e-mail. We have 
taken all reasonable precautions to check this e-mail and any attachments for 
viruses, but we cannot accept any liability for any damage sustained as a 
result of any virus, worm or other malicious software. Achilles Therapeutics 
Limited (10167668) is registered in England and Wales. The registered office is 
at Stevenage Bioscience Catalyst, Gunnels Wood Road, Stevenage SG1 2FX, UK.

Reply via email to