Comment 3 for bug 1815129

Revision history for this message
Heitor Alves de Siqueira (halves) wrote :

Tested on apt-1.0.1ubuntu2.20 from trusty-proposed. Tried reproducing according to the test case from description, and verified that apt-cache does not crash:

ubuntu@apt-stress:~/stress-ng$ dpkg -l | grep apt
ii apt 1.0.1ubuntu2.20

(while having stress-ng running)
ubuntu@apt-stress:~/stress-ng$ for i in `seq 1 10000`;do apt-cache policy vsftpd;done
E: Couldn't make mmap of 30021560 bytes - MMap-mmap (12: Cannot allocate memory)
E: The package lists or status file could not be parsed or opened.