pamac-cli search looping in `eshell`
Pamac --version
Pamac 10.5.1-1 - libpamac 11.5.2
Variant in use
CLI
Distribution
Manjaro
What's not working
When running pamac search <package>
in eshell
(emacs built-in shell), one of three things happens (seems random):
- the command runs as expected
- the process enters a silent endless loop that leaks memory.
- the process enters an endless loop, continuously printing:
** (pamac:341961): CRITICAL **: 17:27:36.507: string_substring: assertion '(offset + len) <= string_length' failed
** (pamac:341961): CRITICAL **: 17:27:36.507: string_substring: assertion 'self != NULL' failed
** (pamac:341961): CRITICAL **: 17:27:36.507: string_last_index_of_char: assertion 'self != NULL' failed
** (pamac:341961): CRITICAL **: 17:27:36.507: string_substring: assertion 'self != NULL' failed
Probably when using TERM=dumb, it shouldn't try to do any fancy terminal stuff.