kenorb-contrib / tg

`telegram-cli` for Telegram IM
https://github.com/telegramdesktop/tdesktop
GNU General Public License v2.0
383 stars 53 forks source link

Crashes on launch #13

Closed abdrysdale closed 4 years ago

abdrysdale commented 4 years ago

Last few times I've tried to run telegram-cli it exits immediately on launch with the following output. Do you have any suggestion for a fix?

I: config dir=[/home/usr/.telegram-cli] 1585475653.916003 Skipped 11 int out of 1706 (type updates.Difference) (query type get difference) 1585475653.916176 0x00000000 0x00f49ca0 0x1cb5c415 0x0000002c

dialogtelegram-cli: tgl/queries.c:471: tglq_query_result: Assertion `0' failed. SIGNAL received Stelegram-cli(print_backtrace+0x2e)[0x55e2fed4549a] telegram-cli(termination_signal_handler+0x98)[0x55e2fed4556b] /usr/lib/libc.so.6(+0x3bd70)[0x7f3c11f80d70] /usr/lib/libc.so.6(gsignal+0x145)[0x7f3c11f80ce5] /usr/lib/libc.so.6(abort+0x12b)[0x7f3c11f6a857] /usr/lib/libc.so.6(+0x25727)[0x7f3c11f6a727] /usr/lib/libc.so.6(+0x34426)[0x7f3c11f79426] telegram-cli(tglq_query_result+0x370)[0x55e2fed74f40] telegram-cli(+0x9ee8b)[0x55e2fed6fe8b] telegram-cli(+0x9f4b4)[0x55e2fed704b4] telegram-cli(+0x9ffd7)[0x55e2fed70fd7] telegram-cli(+0xa02ef)[0x55e2fed712ef] telegram-cli(+0xd18be)[0x55e2feda28be] telegram-cli(+0xd1b05)[0x55e2feda2b05] telegram-cli(+0xd096d)[0x55e2feda196d] /usr/lib/libevent-2.1.so.7(+0x21e2a)[0x7f3c124e6e2a] /usr/lib/libevent-2.1.so.7(event_base_loop+0x37f)[0x7f3c124e74cf] telegram-cli(net_loop+0xad)[0x55e2fed4652b] telegram-cli(loop+0x30b)[0x55e2fed48cb0] telegram-cli(inner_main+0x9)[0x55e2fed44a66] telegram-cli(main+0x477)[0x55e2fed45b12] /usr/lib/libc.so.6(__libc_start_main+0xf3)[0x7f3c11f6c023] telegram-cli(_start+0x2e)[0x55e2fed43c4e]

abdrysdale commented 4 years ago

It seemed to be a problem with the auth key. Removing the .telegram-cli/ directory and reinstalled worked as pseudo fix