Public bug reported:
Simple function gives different results when interpretator set in first string
of script
CHECKPROC()
{
i=$(ps aux | grep -c $0)
ps aux | grep -c $0
echo variable is $i
sleep 10
}
CHECKPROC
Expected
In any conditions it will return same values, then will increments when other
up.
String without shebang returns 0 for pgrep -c $0 or 1 for ps aux | grep -c $0.
Solved with help of user Valrust from forum.ubuntu.ru, it's standart behavior
of the system.
In that case new copy of script runs as "bash" without agruments and try to
find /address/name.sh in ps aux returns nothi
up.
String without shebang returns 0 for pgrep -c $0 or 1 for ps aux | grep -c $0.
Solved with help of user Valrust from forum.ubuntu.ru, it's standart behavior
of the system.
In that case new copy of script runs as "bash" without agruments and try to
find /address/name.sh in ps aux returns nothi
Brian Murray (brian-murray)
It's tested other man on ubuntu 20.04 x64 and apple mac pro with m1 pro CPU.
GNU bash, version 5.1.16(1)-release (aarch64-apple-darwin21.1.0)
GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
I will test it from lubuntu 20.04 x64 livecd and will add new results.
Brian Murray (brian-murray)
It's tested other man on ubuntu 20.04 x64 and apple mac pro with m1 pro CPU.
GNU bash, version 5.1.16(1)-release (aarch64-apple-darwin21.1.0)
GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
I will test it from lubuntu 20.04 x64 livecd and will add new results.
Public bug reported:
Ubuntu 22.04.
Old hardware: Intel H67 chipset, intel xeon 1240 v2, ddr3 8 GB summary.
Sometimes GIMP crushes or stop working on some filters, in that time I need to
kill GIMP manually.
Today GIMP works normal, but crushed on exit and suggests to send bug report.
So bug repo