Package: apt Version: 1.0.9.8.3 apt crashes reproducibly with a malformed /etc/apt/preferences.d/something.pref file, if the package-line is missing or in comments:
> #Package: * > Pin: release n=stretch > Pin-Priority: 50 > apt update > […] > Segmentation fault apt-get shows no error and works as expected! Tested at amd64. -- With kind regards, Christian Schrötter