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

Error on requesting phone code #155

Closed
NotAFile opened this issue Mar 20, 2014 · 4 comments
Closed

Error on requesting phone code #155

NotAFile opened this issue Mar 20, 2014 · 4 comments

Comments

@NotAFile
Copy link

This is running on a ssh server where I do not have root rights. Here is the dump:

´´´
*** phone registered
*** sending code
*** send_code: dc_num = 4
telegram: queries.c:392: send_code_on_answer: Assertion `fetch_int () == 0x2215bcbd' failed.
SIGABRT received
./telegram(print_backtrace+0x20)[0x8053090]
./telegram(sig_abrt_handler+0x2c)[0x80537bc]
/lib/libc.so.6(abort+0x1a4)[0xb73e3b64]
/lib/libc.so.6(+0x27ddf)[0xb73daddf]
/lib/libc.so.6(+0x27ea7)[0xb73daea7]
./telegram(send_code_on_answer+0x241)[0x806b9f1]
./telegram(query_result+0xa3)[0x8070013]
./telegram(process_rpc_message+0x391)[0x8063291]
./telegram(rpc_execute+0x264)[0x8063684]
./telegram(try_rpc_read+0xbe)[0x805a8de]
./telegram(connections_poll_result+0x90)[0x805b8c0]
./telegram(net_loop+0x112)[0x8055442]
./telegram(do_send_code+0x146)[0x8067d46]
./telegram(loop+0x4f3)[0x8055ae3]
./telegram(main+0x8d)[0x80538ed]
/lib/libc.so.6(__libc_start_main+0xe1)[0xb73cd591]
./telegram[0x8052f41]
´´´

@vysheng
Copy link
Owner

vysheng commented Mar 20, 2014

Thx, should be fine now

@ekx
Copy link

ekx commented Mar 21, 2014

I have a similiar problem, although I'm getting a different error:

*** phone registered
*** sending code
*** send_code: dc_num = 2
telegram: mtproto-common.h:286: fetch_bool: Assertion `*(in_ptr) == (int)0x997275b5 || *(in_ptr) == (int)0xbc799737' failed.
SIGABRT received
./telegram(print_backtrace+0x1c)[0x40d2dc]
./telegram(sig_abrt_handler+0x22)[0x40d352]
/lib/x86_64-linux-gnu/libc.so.6(+0x36ff0)[0x7f1385694ff0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f1385694f77]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f13856985e8]
/lib/x86_64-linux-gnu/libc.so.6(+0x2fd43)[0x7f138568dd43]
/lib/x86_64-linux-gnu/libc.so.6(+0x2fdf2)[0x7f138568ddf2]
./telegram(send_code_on_answer+0x27b)[0x41dceb]
./telegram(query_result+0xa0)[0x4226c0]
./telegram(process_rpc_message+0x22d)[0x41c40d]
./telegram(rpc_execute+0x26f)[0x41c89f]
./telegram(try_rpc_read+0x9e)[0x4142fe]
./telegram(connections_poll_result+0xa8)[0x414868]
./telegram(net_loop+0xfb)[0x40e00b]
./telegram(do_send_code+0x149)[0x4233e9]
./telegram(loop+0x4d1)[0x40f0d1]
./telegram(main+0x6d)[0x40c70d]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f138567fde5]
./telegram[0x40c73d]

@vysheng
Copy link
Owner

vysheng commented Mar 21, 2014

Sorry, prev fix was bad. Now should be fine

@NotAFile
Copy link
Author

Telegram-client version 0.01-beta, Copyright (C) 2013 Vitaly Valtman
Telegram-client 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.
libconfig not enabled
 *** public key 'tg-server.pub' loaded successfully
 *** Requesting info about DC...
 *** connect to 31.210.235.12:443 successful
 *** outbound connection #3 becomes ready
Out of memory

sorry, can't close this just yet

Edit: this seems like a dependency problem, maybe I can close this after all

Edit 2: The above fix works.

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

3 participants