[Bug 1583269] [NEW] Bash dies with a SIGABRT sporadically when doing 'read -N INTEGER'.

David Hunt another.david.hunt at gmail.com
Wed May 18 17:14:16 UTC 2016


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
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1583269

Title:
  Bash dies with a SIGABRT sporadically when doing  'read -N INTEGER'.

Status in bash package in Ubuntu:
  New

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1583269/+subscriptions



More information about the foundations-bugs mailing list