Giter VIP home page Giter VIP logo

Comments (2)

jfilby avatar jfilby commented on August 22, 2024 1

I found the problem. I had installed node-gyp using sudo apt install node-gyp.

Installing with npm install -g node-gyp fixed the issue.

from denim.

jfilby avatar jfilby commented on August 22, 2024

I should add that I'm running GCC v12.2.0.

When running valgrind node js/test.js the final part is:

==61918== Process terminating with default action of signal 11 (SIGSEGV)
==61918==    at 0x6B78E2C: __pthread_kill_implementation (pthread_kill.c:44)
==61918==    by 0x6B29FB1: raise (raise.c:26)
==61918==    by 0xF15EE1: node::TrapWebAssemblyOrContinue(int, siginfo_t*, void*) (in /home/debian/.nvm/versions/node/v22.2.0/bin/node)
==61918==    by 0x6B2A04F: ??? (in /usr/lib/x86_64-linux-gnu/libc.so.6)
==61918==    by 0x67BBAC4: bcmp (vg_replace_strmem.c:1203)
==61918==    by 0x11E6EEC: std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, node::UnionBytes, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, node::UnionBytes> > >::map(std::initializer_list<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, node::UnionBytes> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, node::UnionBytes> > const&) (in /home/debian/.nvm/versions/node/v22.2.0/bin/node)
==61918==    by 0x2AB10776: ??? (in /usr/lib/x86_64-linux-gnu/libnode.so.108)
==61918==    by 0x5F769CD: call_init (dl-init.c:74)
==61918==    by 0x5F769CD: call_init (dl-init.c:26)
==61918==    by 0x5F76AB3: _dl_init (dl-init.c:121)
==61918==    by 0x6C3D023: _dl_catch_exception (dl-error-skeleton.c:182)
==61918==    by 0x5F7D21D: dl_open_worker (dl-open.c:808)
==61918==    by 0x6C3CFC9: _dl_catch_exception (dl-error-skeleton.c:208)

from denim.

Related Issues (13)

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.