Coder Social home page Coder Social logo

Comments (2)

davidlehn avatar davidlehn commented on June 30, 2024
  • What version of jsonld-signatures and Node.js?
  • Just to check, you're saying that installing jsonld-signatures in addition to all those packages causes problems?
  • Does this happen even if you don't call anything in jsonld-signatures? Is it just while starting up?
  • If you are calling something, what is it?
  • Can you narrow it down to a simple test case project you could share?
  • Causing segfaults is not a common thing in Node.js. However, the one thing we have found that will almost certainly cause non-deterministic segfaults is mixing native ESM use with the esm.js package. It's terrible.
  • I'd check npm explain esm to see if you are using the esm package anywhere. If you are, that's a very likely cause. The solution is to tear out esm from everything, or ensure you are not also using native ESM code. This can be a difficult ask, but esm is unmaintained and obsolete so it needs to be removed at some point.
  • You'll notice jsonld-signatures is just ComonJS, not ESM, but that doesn't stop this bug from happening for reasons I don't understand. It's a very odd bug that be triggered in odd ways, and it may be that some module loading pattern jsonld-signatures uses triggers the problem.
  • If you're not using esm.js, then it's difficult to help without more details or, ideally, test code to run. You could run node in gdb to try and catch the stack traces. That's how I find these esm.js issues. It'll crash in some import or require stack.

from jsonld-signatures.

dlongley avatar dlongley commented on June 30, 2024

Closing as not an issue with this library.

from jsonld-signatures.

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.