Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Please see https://wiki.ubuntu.com/StableReleaseUpdates for details of
Ubuntu's stable release update process. Based on your report it sounds
like this patch would qualify, but please could you update us on the
status of the bug in newer releases of Ubuntu so we can note where work
is needed?

I'm not sure how to prioritize this bug. Under what circumstances are
users affected by this problem? Is this problem likely to affect a large
number of Ubuntu users?

Either way, if it's a bug with a straightforward patch then you're
welcome to follow
https://wiki.ubuntu.com/StableReleaseUpdates#Procedure, and if you can
provide us with patches ready for inclusion in Ubuntu under that
procedure (and it turns out to qualify under our policy), I'd be happy
to help you get the fix landed.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1822776

Title:
  Apply Bash 4.4.20 to fix cpu spinning on built-in wait

Status in bash package in Ubuntu:
  New

Bug description:
  Bash pre-4.4.20 has a bug in its PID hash table that causes spin-loops
  when spawning sub processes and waiting for them. There is a fix:

  https://ftp.gnu.org/gnu/bash/bash-4.4-patches/bash44-020

  Our application started being affected (locking up) by this since
  migrating from Ubuntu 14.04 to 18.04. Ubuntu 14.04 has bash 4.3.11(1),
  Ubuntu 18.04 has bash 4.4.19 (that is, when running 'bash --version',
  because of their unusual versions as patches, apt shows it as
  4.4.18-2ubuntu1).

  The 4.4-020 version needs to be included. I think it's actually quite
  critical, also for older Ubuntus.

  The Bash bug report mentions longer running loops, but it seems hash
  collisions are the cause, meaning it's just a matter of chance,
  influenced by how fast PIDs are cycled on the machine.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to