Git Product home page Git Product logo

Comments (7)

JCMais avatar JCMais commented on May 18, 2024

Hi,

what version of node-libcurl are you using?

from node-libcurl.

johnnypez avatar johnnypez commented on May 18, 2024

Hey, sorry I forgot to add that. It's 0.7.0

from node-libcurl.

johnnypez avatar johnnypez commented on May 18, 2024

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.

johnnypez avatar johnnypez commented on May 18, 2024

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.

JCMais avatar JCMais commented on May 18, 2024

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.

johnnypez avatar johnnypez commented on May 18, 2024

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.

JCMais avatar JCMais commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.