Giter Site home page Giter Site logo

Comments (7)

lacker avatar lacker commented on September 3, 2024

Hmm. This sounds like a problem within the WebTorrent dependency, since the Axiom CLI codebase itself is just javascript/typescript and wouldn't seg fault. Do downloads work, could you try downloading the www:counter bucket?

from axiom.

andrewljohnson avatar andrewljohnson commented on September 3, 2024

Same sort of error on download:

➜ src axiom download counter
downloading magnet:?xt=urn:btih:379326fa0b25c472256613aff3dfb313ee0ff3b4&dn=.&tr=ws%3A%2F%2F0.alphatest.network%3A4000&tr=ws%3A%2F%2F1.alphatest.network%3A4000&tr=ws%3A%2F%2F2.alphatest.network%3A4000&tr=ws%3A%2F%2F3.alphatest.network%3A4000 to www:counter
[1] 57386 segmentation fault axiom download counter

from axiom.

lacker avatar lacker commented on September 3, 2024

Could you try running:

DEBUG=webtorrent* axiom download www:counter

That will turn on debug logging for the webtorrent dependency, which I suspect of being the source of this seg fault.

from axiom.

andrewljohnson avatar andrewljohnson commented on September 3, 2024

Seems hung on this output:

➜ src DEBUG=webtorrent* axiom download www:counter
downloading magnet:?xt=urn:btih:379326fa0b25c472256613aff3dfb313ee0ff3b4&dn=.&tr=ws%3A%2F%2F0.alphatest.network%3A4000&tr=ws%3A%2F%2F1.alphatest.network%3A4000&tr=ws%3A%2F%2F2.alphatest.network%3A4000&tr=ws%3A%2F%2F3.alphatest.network%3A4000 to www:counter
webtorrent [2d57573] new webtorrent (peerId 2d5757303030332d3570725762626e4a4e723467, nodeId c569a42fd22f6d167c47d4778e378913050878af, port 0) +0ms
webtorrent:tcp-pool create tcp pool (port 0) +0ms
webtorrent [2d57573] add +6ms
webtorrent:torrent [2d57573] [379326f] new torrent +0ms
webtorrent [2d57573] listening +1ms
webtorrent:torrent [2d57573] [379326f] add peer 104.197.68.5:34551 +609ms
webtorrent:peer new tcpOutgoing Peer 104.197.68.5:34551 +0ms
webtorrent:torrent [2d57573] [379326f] _drain numConns 0 maxConns 55 +0ms
webtorrent:torrent [2d57573] [379326f] drain (2 queued, 0/55 peers) +0ms
webtorrent:torrent [2d57573] [379326f] tcp connect attempt to 104.197.68.5:34551 +0ms
webtorrent:torrent [2d57573] [379326f] add peer 35.225.45.45:46169 +58ms
webtorrent:peer new tcpOutgoing Peer 35.225.45.45:46169 +58ms
webtorrent:torrent [2d57573] [379326f] _drain numConns 0 maxConns 55 +0ms
webtorrent:torrent [2d57573] [379326f] drain (3 queued, 0/55 peers) +0ms
webtorrent:torrent [2d57573] [379326f] tcp connect attempt to 35.225.45.45:46169 +0ms
webtorrent:torrent [2d57573] [379326f] add peer 35.238.104.237:45593 +1ms
webtorrent:peer new tcpOutgoing Peer 35.238.104.237:45593 +1ms
webtorrent:torrent [2d57573] [379326f] _drain numConns 0 maxConns 55 +0ms
webtorrent:torrent [2d57573] [379326f] drain (4 queued, 0/55 peers) +0ms
webtorrent:torrent [2d57573] [379326f] tcp connect attempt to 35.238.104.237:45593 +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +0ms
webtorrent:torrent [2d57573] [379326f] add peer 35.225.45.45:32827 +0ms
webtorrent:peer new tcpOutgoing Peer 35.225.45.45:32827 +0ms
webtorrent:torrent [2d57573] [379326f] _drain numConns 0 maxConns 55 +0ms
webtorrent:torrent [2d57573] [379326f] drain (5 queued, 0/55 peers) +0ms
webtorrent:torrent [2d57573] [379326f] tcp connect attempt to 35.225.45.45:32827 +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:46169) +16ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.238.104.237:45593) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +23ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:46169) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.238.104.237:45593) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +55ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +93ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.238.104.237:45593) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:46169) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +23ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:46169) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.238.104.237:45593) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +57ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.238.104.237:45593) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:46169) +0ms

from axiom.

lacker avatar lacker commented on September 3, 2024

Wait, so before it seg faulted but now it just hangs?

from axiom.

andrewljohnson avatar andrewljohnson commented on September 3, 2024

Now it's back to segfaulting.

➜ src DEBUG=webtorrent* axiom download www:counter
downloading magnet:?xt=urn:btih:379326fa0b25c472256613aff3dfb313ee0ff3b4&dn=.&tr=ws%3A%2F%2F0.alphatest.network%3A4000&tr=ws%3A%2F%2F1.alphatest.network%3A4000&tr=ws%3A%2F%2F2.alphatest.network%3A4000&tr=ws%3A%2F%2F3.alphatest.network%3A4000 to www:counter
webtorrent [2d57573] new webtorrent (peerId 2d5757303030332d3570725762626e4a4e723467, nodeId c569a42fd22f6d167c47d4778e378913050878af, port 0) +0ms
webtorrent:tcp-pool create tcp pool (port 0) +0ms
webtorrent [2d57573] add +6ms
webtorrent:torrent [2d57573] [379326f] new torrent +0ms
webtorrent [2d57573] listening +1ms
webtorrent:torrent [2d57573] [379326f] add peer 104.197.68.5:34551 +609ms
webtorrent:peer new tcpOutgoing Peer 104.197.68.5:34551 +0ms
webtorrent:torrent [2d57573] [379326f] _drain numConns 0 maxConns 55 +0ms
webtorrent:torrent [2d57573] [379326f] drain (2 queued, 0/55 peers) +0ms
webtorrent:torrent [2d57573] [379326f] tcp connect attempt to 104.197.68.5:34551 +0ms
webtorrent:torrent [2d57573] [379326f] add peer 35.225.45.45:46169 +58ms
webtorrent:peer new tcpOutgoing Peer 35.225.45.45:46169 +58ms
webtorrent:torrent [2d57573] [379326f] _drain numConns 0 maxConns 55 +0ms
webtorrent:torrent [2d57573] [379326f] drain (3 queued, 0/55 peers) +0ms
webtorrent:torrent [2d57573] [379326f] tcp connect attempt to 35.225.45.45:46169 +0ms
webtorrent:torrent [2d57573] [379326f] add peer 35.238.104.237:45593 +1ms
webtorrent:peer new tcpOutgoing Peer 35.238.104.237:45593 +1ms
webtorrent:torrent [2d57573] [379326f] _drain numConns 0 maxConns 55 +0ms
webtorrent:torrent [2d57573] [379326f] drain (4 queued, 0/55 peers) +0ms
webtorrent:torrent [2d57573] [379326f] tcp connect attempt to 35.238.104.237:45593 +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +0ms
webtorrent:torrent [2d57573] [379326f] add peer 35.225.45.45:32827 +0ms
webtorrent:peer new tcpOutgoing Peer 35.225.45.45:32827 +0ms
webtorrent:torrent [2d57573] [379326f] _drain numConns 0 maxConns 55 +0ms
webtorrent:torrent [2d57573] [379326f] drain (5 queued, 0/55 peers) +0ms
webtorrent:torrent [2d57573] [379326f] tcp connect attempt to 35.225.45.45:32827 +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:46169) +16ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.238.104.237:45593) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +23ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:46169) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.238.104.237:45593) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +55ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +93ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.238.104.237:45593) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:46169) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +23ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:46169) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.238.104.237:45593) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:32827) +57ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (104.197.68.5:34551) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.238.104.237:45593) +0ms
webtorrent:torrent [2d57573] [379326f] ignoring peer: duplicate (35.225.45.45:46169) +0ms
^C
➜ src rm -rf www:counter
➜ src axiom download www:counter
downloading magnet:?xt=urn:btih:379326fa0b25c472256613aff3dfb313ee0ff3b4&dn=.&tr=ws%3A%2F%2F0.alphatest.network%3A4000&tr=ws%3A%2F%2F1.alphatest.network%3A4000&tr=ws%3A%2F%2F2.alphatest.network%3A4000&tr=ws%3A%2F%2F3.alphatest.network%3A4000 to www:counter
[1] 61223 segmentation fault axiom download www:counter
➜ src rm -rf www:counter
➜ src DEBUG=webtorrent* axiom download www:counter
downloading magnet:?xt=urn:btih:379326fa0b25c472256613aff3dfb313ee0ff3b4&dn=.&tr=ws%3A%2F%2F0.alphatest.network%3A4000&tr=ws%3A%2F%2F1.alphatest.network%3A4000&tr=ws%3A%2F%2F2.alphatest.network%3A4000&tr=ws%3A%2F%2F3.alphatest.network%3A4000 to www:counter
webtorrent [2d57573] new webtorrent (peerId 2d5757303030332d494f4a414c723646634c5038, nodeId 490c7e2c6f56538bef8354fd7d6972d7d56174b4, port 0) +0ms
webtorrent:tcp-pool create tcp pool (port 0) +0ms
webtorrent [2d57573] add +5ms
webtorrent:torrent [2d57573] [379326f] new torrent +0ms
webtorrent [2d57573] listening +1ms
[1] 61277 segmentation fault DEBUG=webtorrent* axiom download www:counter

from axiom.

lacker avatar lacker commented on September 3, 2024

Sounds like this is fixed with the fix for dependencies' Node 12 support

from axiom.

Related Issues (9)

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.