Public bug reported: Bash sometimes dies with a SIGABRT on the command read -N $N < /dev/urandom where $N represent an integer >=1.
It occurs frequently for high values of N (>2**20). It occurs rarely for low values of N (<2**20). It has occurred more than once with a value of N as low as 128! With N=2**21, this command aborts approximately 5 out of 10 tries. ( read -N 2097152 < /dev/urandom ) ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: bash 4.3-14ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CurrentDesktop: Unity Date: Wed May 18 12:24:28 2016 DistributionChannelDescriptor: # This is a distribution channel descriptor # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor canonical-oem-formosa-beigang-precise-amd64-20130801-1 InstallationDate: Installed on 2016-01-23 (116 days ago) InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20130801-07:00 SourcePackage: bash UpgradeStatus: Upgraded to xenial on 2016-04-22 (26 days ago) ** Affects: bash (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583269 Title: Bash dies with a SIGABRT sporadically when doing 'read -N INTEGER'. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1583269/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs