Comments (7)
Hi,
what version of node-libcurl are you using?
from node-libcurl.
Hey, sorry I forgot to add that. It's 0.7.0
from node-libcurl.
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.
from node-libcurl.
Just adding more detail as I poke around.
I added libcurl-dbg package and ran my sample code above through gdb.
At this point though, I'm not sure what I'm looking for.
0x00007ffff672e42c in Curl_hash_pick (h=0xf56a20, key=key@entry=0x7fffffffac08, key_len=key_len@entry=4)
at hash.c:215
215 hash.c: No such file or directory.
(gdb) bt
#0 0x00007ffff672e42c in Curl_hash_pick (h=0xf56a20, key=key@entry=0x7fffffffac08, key_len=key_len@entry=4)
at hash.c:215
#1 0x00007ffff672ecca in singlesocket (multi=multi@entry=0xf52180, data=data@entry=0xf73990) at multi.c:1953
#2 0x00007ffff67315be in multi_socket (multi=multi@entry=0xf52180, checkall=checkall@entry=false, s=10,
ev_bitmask=1, running_handles=0xf34714) at multi.c:2235
#3 0x00007ffff6731627 in curl_multi_socket_action (multi_handle=0xf52180, s=<optimized out>,
ev_bitmask=<optimized out>, running_handles=<optimized out>) at multi.c:2367
#4 0x00007ffff69ad5fb in NodeLibcurl::Multi::OnSocket (handle=0xef6ae8, status=0, events=1)
at ../src/Multi.cc:187
#5 0x00000000009e5a40 in uv__io_poll (loop=0xeae720 <default_loop_struct>, timeout=-1)
at ../deps/uv/src/unix/linux-core.c:308
#6 0x00000000009d9398 in uv_run (loop=0xeae720 <default_loop_struct>, mode=<optimized out>)
at ../deps/uv/src/unix/core.c:317
#7 0x00000000009853ec in node::Start(int, char**) ()
---Type <return> to continue, or q <return> to quit---
#8 0x00007ffff6becec5 in __libc_start_main (main=0x9966a0 <main>, argc=2, argv=0x7fffffffdfe8,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdfd8)
at libc-start.c:287
#9 0x00000000005a54a9 in _start ()
from node-libcurl.
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. 😄
from node-libcurl.
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.
from node-libcurl.
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.
from node-libcurl.
Related Issues (20)
- How can I write a custom request asynchronously? HOT 1
- [feat] rewrite `node-libcurl` with, the **ONLY** isomorphic way, napi HOT 1
- Curl Easy segmentation fault with requests to external site HOT 3
- Expected npx node-libcurl $URL to work as curl $URL HOT 1
- TypeError: Class extends value #<Object> is not a constructor or null HOT 1
- HTTP_CONTENT_DECODING = false but still decodes the server's responses HOT 1
- How to make multiple curly instances maintain separate connections to same host? HOT 2
- unable to npm install HOT 3
- npm install issues. HOT 5
- libcurl vuln HOT 2
- Add prebuilt binaries for nodejs 20 LTS HOT 13
- read raw msg HOT 3
- Does node-libcurl support res_init? HOT 1
- Error after upgrade to Node 20.10 ...: ERR_DLOPEN_FAILED HOT 2
- SFTP / SSH stuck on login when using Curl/Multi and password auth HOT 2
- Curly - Close connection - Timeout Exception HOT 3
- Cannot install HOT 3
- Send binary data with HTTPPOST option HOT 1
- Hanging on PROTOCONNECTING
- Add prebuilt binaries for node 21(macOS) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-libcurl.