Bug#911432: posh-0.13.2 massive memory leak / segfault

2018-10-19 Thread or...@fredslev.dk
Package: posh Version: 0.13.2 I have found that when trying to use a function called 'echo' which also calls the 'echo' builtin posh will hang while leaking several GBs of memory and then segfaulting. echo () { echo foo; } ; echo When I rebuilt posh with '-O0 -g' the amount of memory its leaks

Bug#911395: posh-0.13.1 'unset -f' still broken

2018-10-19 Thread or...@fredslev.dk
Package: posh Version: 0.13.2 Please see the previous issue for more discussion. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911264 I am opening a new issue because of the new release where issues still persist. The problem is that when using 'unset -f' to unset a function that has been s

Bug#911264: posh-0.13.1 'unset -f' broken

2018-10-17 Thread or...@fredslev.dk
Thank you for the quick fix, this seems to resolve the immediate blocking issue. However it seems 'unset -f' still has problems. I updated my example case slightly and found while 'unset -f' won't block later commands if the function is not set, it will still do so when the function is previously