I found out that though the bug is pretty reproducible on long path lengths,
for short path lengths, the bug is sometimes reproducible, but sometimes not.
Test case:
1. Open an xterm with a bash.
2. Make sure that the command q is not present on your system.
3. cd / [Enter]
4. q & [Enter]
Continue doing 4. until your bash exits. I needed 66 attempts for the root
directory "/" and command "qqq". With the command "q" it was 51 attempts.
The tested locale is de_DE.UTF-8 for LANG, LC_..., and LANGUAGE on ubuntu,
bash has version 4.3-7ubuntu1.3,
xterm has version 297-1ubuntu1.
Since the behavior is not deterministic on the user input, it looks like a
memory corruption issue or a race. Any help?
--
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/241331
Title:
Running a non-existing command in the background causes exit
Status in “bash” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: gnome-terminal
In Ubuntu 8.04, running a command which does not exist can sometimes
cause an exit command. Here is an example cut and pasted when gnome-
terminal is set to "stay open on exit".
richard@sepulchrave:~$ gedit test &
[1] 13336
richard@sepulchrave:~$ gdit test &
[2] 13340
richard@sepulchrave:~$ exit
Other times the exit will not happen but the command will return an
Exit 127 status.
richard@sepulchrave:~$ gdit test &
[1] 13403
richard@sepulchrave:~$ bash: gdit: command not found
[1]+ Exit 127gdit test
richard@sepulchrave:~$ gdit test &
[1] 13405
richard@sepulchrave:~$ exit
Package is
gnome-terminal:
Installed: 2.22.1-0ubuntu2
Candidate: 2.22.1-0ubuntu2
Version table:
*** 2.22.1-0ubuntu2 0
500 http://gb.archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/241331/+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