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

Title:
  Running a non-existing command in the background causes exit

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

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

Reply via email to