apport information

** Tags added: apport-collected focal

** Description changed:

  (GNU bash 4.3.46)
  (ubuntu 16.04 LTS)
  
  Consider you have out.txt on current dir.
  -------
  >exec 123456789012>out.txt
  bash: exec: 123456789012: not found
  -------
  exec command prints indicated error for large numbers that is supposed to use 
as a fd but redirects /proc/$$/fd/1 to out.txt silently.
  
  Additionally,
  -------
  >exec 1234567890>out.txt
  bash: 123456789: Bad file descriptor
  -------
  For large numbers but not that large (I don't inspect the limits!), exec 
command rejects fd number but silently adds a new fd to current bash process. 
In every execution of the command, bash adds a new fd to itself again and again.
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.11-0ubuntu27.16
+ Architecture: amd64
+ CasperMD5CheckResult: skip
+ CurrentDesktop: ubuntu:GNOME
+ DistroRelease: Ubuntu 20.04
+ NonfreeKernelModules: nvidia_modeset nvidia
+ Package: bash 5.0-6ubuntu1.1
+ PackageArchitecture: amd64
+ ProcVersionSignature: Ubuntu 4.15.0-141.145-generic 4.15.18
+ Tags:  focal
+ Uname: Linux 4.15.0-141-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo wireshark
+ _MarkForUpload: True

** Attachment added: "Dependencies.txt"
   
https://bugs.launchpad.net/bugs/1952584/+attachment/5544258/+files/Dependencies.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952584

Title:
  bash exec command unwanted behaviour

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to