[Bug 1797387] [NEW] bash crashes on PS1 set, wait, press enter, Ctrl-C, enter

Eric Curtin 1797387 at bugs.launchpad.net
Thu Oct 11 13:42:20 UTC 2018


Public bug reported:

Reproducible on xubuntu 16.04 x86_64 (reproduced on two machines I
tried). Steps to reproduce:

export PS1="\e[1;32m\u@$HOSTNAME \t \$()\e[1;36m\$(sleep 1)\e[m\n\w>"
Press enter
wait
Press enter
Ctrl-C
Press enter

bash will crash. My PS1 line calls (and forks) a little shell script to
report a status I want to see. It seems to be specific to bash on 16.04

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1797387

Title:
  bash crashes on PS1 set, wait, press enter, Ctrl-C, enter

Status in bash package in Ubuntu:
  New

Bug description:
  Reproducible on xubuntu 16.04 x86_64 (reproduced on two machines I
  tried). Steps to reproduce:

  export PS1="\e[1;32m\u@$HOSTNAME \t \$()\e[1;36m\$(sleep 1)\e[m\n\w>"
  Press enter
  wait
  Press enter
  Ctrl-C
  Press enter

  bash will crash. My PS1 line calls (and forks) a little shell script
  to report a status I want to see. It seems to be specific to bash on
  16.04

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



More information about the foundations-bugs mailing list