Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

telegram-cli: loop.c:524: write_secret_chat_file: Assertion `secret_chat_fd >= 0' failed when trying to send a message #1144

Closed
leda-ferreira opened this issue Jun 24, 2016 · 1 comment

Comments

@leda-ferreira
Copy link

I compiled the client at the latest revision. It was necessary to apply the changes suggested at #1070, because I was getting the error described on that issue.
The client works, but everytime I send a message to any contact, I receive the following error:

telegram-cli: loop.c:524: write_secret_chat_file: Assertion `secret_chat_fd >= 0' failed.
SIGNAL received
h./telegram-cli(print_backtrace+0x2c)[0x80a8eac]
./telegram-cli(termination_signal_handler+0x7d)[0x80a8f4d]
[0xb7776404]
[0xb7776428]
/lib/i386-linux-gnu/libc.so.6(gsignal+0x47)[0xb7346607]
/lib/i386-linux-gnu/libc.so.6(abort+0x143)[0xb7349a33]
/lib/i386-linux-gnu/libc.so.6(+0x27757)[0xb733f757]
/lib/i386-linux-gnu/libc.so.6(+0x27807)[0xb733f807]
./telegram-cli(write_secret_chat_file+0x154)[0x80aab34]
./telegram-cli(print_msg_success_gw+0x17)[0x80b51d7]
./telegram-cli[0x80cbe14]
./telegram-cli(tglq_query_result+0x12f)[0x80d37ef]
./telegram-cli[0x80c8ff6]
./telegram-cli[0x80ca612]
./telegram-cli[0x80f541c]
/usr/lib/i386-linux-gnu/libevent-2.0.so.5(event_base_loop+0x6f4)[0xb772f234]
./telegram-cli(net_loop+0xc2)[0x80aa712]
./telegram-cli(loop+0x1d2)[0x80abe22]
./telegram-cli(inner_main+0x17)[0x80a8427]
./telegram-cli(main+0x35b)[0x80a74ab]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb7331a83]
./telegram-cli[0x80a75c4]
@leda-ferreira
Copy link
Author

I deleted the profile folder contents and re-registered the number again, and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant