-
Notifications
You must be signed in to change notification settings - Fork 16
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
Segmentation fault on "this.tdlib.td_json_client_receive.async" #18
Comments
What Node.js version you currently using? Also, please provide what OS, version you try to run with. |
I am running node 10.1 in linux (Amazon aws) Btw, I am doing some troubleshoot too Some logs I added in Client.js to show where it dies below loop updateAuthorizationState |
Have you try other libraries in Node.js or other programming languages? It looks the TDLib is not ready for Linux.. I think you need to open an issue in tdlib/td |
There is tg_cli (executable) in the tdlib build I tried another lib before but that seems to be outdated And missing message from channels |
@panda2048 What it prints with verbosityLevel 10? |
@Bannerets I changed verbosityLevel to 10 inside Client.js but nothing new are printed |
@panda2048 You can change verbosityLevel in options: const client = new Client({
apiId: 'YOUR_API_ID',
apiHash: 'YOUR_API_HASH',
phoneNumber: 'YOUR_PHONE_NUMBER',
verbosityLevel: 10,
}) |
@Bannerets still the same, no other message other than segmentation fault |
@panda2048 Please check the |
The TDlib messages are saved in separate text file and not displayed on console directly in order to avoid the pollution. |
I just get the td lib built and trying on the sample
But I got segmentation fault even if I only new Client as below
And I go in the src and add some log to troubleshoot
I found that it is crashed after a few run of _recieve and end up in this.tdlib.td_json_client_receive.async
Is there any clue of how to resolve this issue?
The text was updated successfully, but these errors were encountered: