-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Segfault with ftp get #46
Comments
Hi, what version of node-libcurl are you using? |
Hey, sorry I forgot to add that. It's 0.7.0 |
In case it was anything to do with having an older version of libcurl, I built and installed curl 7.47.1. Then reinstalled node-libcurl 0.7.0 with the --build-from-source flag but still experience the same problem. |
Just adding more detail as I poke around.
|
Hi, thanks for all the info, I will have time to take a look into it by today or tomorrow. I didn't tested ftp or ssh with the addon, probably I've forgot to add something. 😄 |
No worries. I actually got it working with libcurl 7.47.1. Even though I had installed that earlier, the lib for 7.35.0 was still around and that was being used when node-libcurl was being installed. I had to add /usr/local/lib to /etc/ld.so.conf to get around it. |
As you got it working after updating libcurl I'm closing this since looks like the issue is from libcurl itself. If the problem reappears feel free to reopen. |
Hi, I'm just trying to do a simple FTP get and hitting a segfault on Ubuntu 14.04.3 LTS with Node 0.10.40 and libcurl 7.35.0.
It works locally on my macbook (osx 10.10.5 / node 0.10.40 / libcurl 7.43.0)
From poking around other segfault issues reported here, it's clear they are very hard to reproduce.
Here's what I use to trigger the error. The ftp host and credentials have been swapped out for dummy credentials.
Which results in a segfault just as the transfer is about to begin.
So whatever is going wrong is happening in
NodeLibcurl::Multi::OnSocket(uv_poll_s*, int, int)
I guess but I'm not sure how to debug any further than that.Any help anyone could offer would be greatly appreciated. Let me know if I need to provide any more information for context.
The text was updated successfully, but these errors were encountered: