Bash environment gets corrupted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
bash 5.1-6ubuntu1 (jammy)
After loading about 1000 aliases totaling 50kB
Setting 200 vars totaling 20kB (half from default profile)
And 1200 functions totaling 400kB (~100/72kB default completions)
After running the occasional basic (but lengthy) scripts with no recursion, runtimes under 1 minute, all under 1 second CPU time in bash,
10-20 times a day for less than a month,
bash starts losing functions and variables and aliases.
Nothing in dmesg or syslog
System is otherwise stable:
-Memtest runs multiple passes ok
-Several GB of apt updates all verify no errors
-Checkrestart did not show any copies of bash needing restarts
-no suspends, no remote shell
-weekly apt updates run in this bash shell
kernel 6.2.0-32 generic
libc6 2.35-0ubuntu3.4