tg/telegram-cli exits with error
After setting up authentication, I only need to run 'telegram-cli' (from the package 'tg') and wait 2-3 seconds for it to exit with the error below. Previously it didnt't exit by itself, but when I ran 'dialog_list' and the list was over 2 lines it exited with a similar error.
> telegram-cli Telegram-cli version 1.3.1, Copyright (C) 2013-2015 Vitaly Valtman Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type `show_license'. This is free software, and you are welcome to redistribute it under certain conditions; type `show_license' for details. Telegram-cli uses libtgl version 2.0.1 I: config dir=[/4/.telegram-cli] > Assertion failed: 0 (tgl/structures.c: tglf_fetch_message_media_new: 944) zsh: illegal hardware instruction telegram-cli