telegram-bot icon indicating copy to clipboard operation
telegram-bot copied to clipboard

Bot crashing after any command

Open patschi opened this issue 10 years ago • 4 comments
trafficstars

Hello,

my bot is crashing since couple of days after any command - even with "!help". Does not mather which command.

The backtrace:

> telegram-cli: tgl/structures.c:2035: tglm_message_insert_tree: Assertion `M->id' failed.
SIGNAL received
h./tg/bin/telegram-cli(print_backtrace+0x1c)[0x44abec]
./tg/bin/telegram-cli(termination_signal_handler+0x64)[0x44ac74]
/lib/x86_64-linux-gnu/libc.so.6(+0x321e0)[0x7f961646c1e0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f961646c165]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x180)[0x7f961646f3e0]
/lib/x86_64-linux-gnu/libc.so.6(__assert_fail+0xf1)[0x7f9616465311]
./tg/bin/telegram-cli[0x476cf5]
./tg/bin/telegram-cli(tglm_message_alloc+0x36)[0x476d36]
./tg/bin/telegram-cli(tglf_fetch_alloc_message+0x9b)[0x479e2b]
./tg/bin/telegram-cli(tglu_work_update+0x1075)[0x486e25]
./tg/bin/telegram-cli(tglu_work_updates+0xf3)[0x487e63]
./tg/bin/telegram-cli[0x45d8de]
./tg/bin/telegram-cli[0x45e5b9]
./tg/bin/telegram-cli[0x4893e5]
/usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x414)[0x7f9617d59254]
./tg/bin/telegram-cli(net_loop+0x9c)[0x44bd5c]
./tg/bin/telegram-cli(loop+0x16e)[0x44d00e]
./tg/bin/telegram-cli(main+0x274)[0x449734]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f9616458ead]
./tg/bin/telegram-cli[0x449805]

patschi avatar Aug 14 '15 12:08 patschi

I have the same issue.

Fireblade954 avatar Aug 14 '15 17:08 Fireblade954

Try removing the tg folder and clone tg-cli manually from https://github.com/vysheng/tg/ (git clone https://github.com/vysheng/tg/ --recursive && cd tg && ./configure && make) yeah thanks @Akamaru, I always forget that ._.

Brawl345 avatar Aug 15 '15 14:08 Brawl345

@Brawl345 git clone --recursive https://github.com/vysheng/tg.git && cd tg && ./configure && make You need --recursive

Akamaru avatar Aug 15 '15 14:08 Akamaru

Updated tg and now it's running fine again, thanks for your help!

patschi avatar Aug 15 '15 21:08 patschi