ssbc / ssb-ebt

secure scuttlebutt replication with epidemic-broadcast-trees
MIT License
18 stars 10 forks source link

Maximum call stack size exceeded #3

Closed evbogue closed 5 years ago

evbogue commented 7 years ago

I get this sometimes when replicating using ebt, while syncing a ton of messages.

exports.receiveMessage = function (state, msg) {
                                  ^

RangeError: Maximum call stack size exceeded
    at Object.exports.receiveMessage (/home/ev/ssssb/node_modules/epidemic-broadcast-trees/state.js:91:35)
    at cb (/home/ev/ssssb/node_modules/epidemic-broadcast-trees/index.js:105:61)
    at source (/home/ev/ssssb/node_modules/muxrpc/pull-weird.js:46:30)
    at cb (/home/ev/ssssb/node_modules/epidemic-broadcast-trees/index.js:120:15)
    at source (/home/ev/ssssb/node_modules/muxrpc/pull-weird.js:46:30)
    at cb (/home/ev/ssssb/node_modules/epidemic-broadcast-trees/index.js:120:15)
    at source (/home/ev/ssssb/node_modules/muxrpc/pull-weird.js:46:30)
    at cb (/home/ev/ssssb/node_modules/epidemic-broadcast-trees/index.js:120:15)
    at source (/home/ev/ssssb/node_modules/muxrpc/pull-weird.js:46:30)
    at cb (/home/ev/ssssb/node_modules/epidemic-broadcast-trees/index.js:120:15)
dominictarr commented 7 years ago

were did you install epidemic-broadcast-trees from? 3.0.0 should be good.

dominictarr commented 7 years ago

but I previously pushed a commit (unpublished) that had this problem, reverted it though but you may have pulled that from git.

evbogue commented 7 years ago

@dominictarr This is on ssb-ebt@1.3.1, which is using "epidemic-broadcast-trees": "^3.0.0"

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.