Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Segfault on connect

See original GitHub issue

Tried running example from readme on my linux machine and received segfault when connect method was called.

node 10.4.1 tdl latest tdlib 1.2.0

PID 15192 received SIGSEGV for address: 0x10

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

SkeLLLacommented, Jun 14, 2018

Ok. Seems I’ve got the root cause. Node.js that came from nvm should be compiled with the same version of openssl that tdlib. If they have different versions, then it will receive segfault.


SkeLLLacommented, Jun 14, 2018

I’ve tried latest node that uses openssl 1.1.X and tdlib with openssl 1.0.1 and 1.0.2 - received segfaults.

Read more comments on GitHub >

github_iconTop Results From Across the Web

qt signals cause segmentation fault on connect - Stack Overflow
1 Answer 1 · Null pointers should result in connect returning false according to the source. Uninitialized pointers could do just about anything ......
Read more >
Thread: Connect call causes a SEGFAULT - Qt Centre Forum
Hey all, The code compiles and links w/o issue. Here's where I make the connect() call in my MainWindow class.
Read more >
Segmentation Fault when using SSL to connect inside a ...
I've provided the node-pg client connecting successfully alongside the segfault in the repo below.
Read more >
MySQL Workbench Segmentation Fault after Connecting to DB
Program opens successfully, but when connecting to a database, after entering the password the program crashes with a segfault. How to repeat: ...
Read more >
Identify what's causing segmentation faults (segfaults) - IU KB
A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found