You are reading content from Scuttlebutt
@SoapDog %NlMjeM4t8V4AZYtLDx7aJj4LPRMEkVIPrYOCcIClH/I=.sha256
Re: %K+hbT4mTr

@Christian Bundy

This is the stack trace from trying to start ssb-server if that broken thing is in your feed:

PS C:\Users\andre\prog\ssbc\hermiebox> ssb-server start
ssb-server 14.1.2 C:\Users\andre\.ssb logging.level:notice
my key ID: qv10rF4IsmxRZb7g5ekJ33EakYBpdrmV/vtP1ij5BS4=.ed25519
WARNING-DEPRECATION: ssb-links not installed as a plugin. If you are using git-ssb, ssb-npm or patchfoo please consider installing it
Listening on :::8008 (multiserver net plugin)
Listening on :::8989 (multiserver ws plugin)
ssb-friends: stream legacy api used
C:\Users\andre\AppData\Roaming\npm\node_modules\ssb-server\node_modules\ssb-msgs\index.js:75
    var r = (typeof obj == 'string') ? obj : obj.link
                                                 ^

TypeError: Cannot read property 'link' of null
    at C:\Users\andre\AppData\Roaming\npm\node_modules\ssb-server\node_modules\ssb-msgs\index.js:75:50
    at C:\Users\andre\AppData\Roaming\npm\node_modules\ssb-server\node_modules\ssb-msgs\index.js:50:9
    at Array.forEach (<anonymous>)
    at traverse (C:\Users\andre\AppData\Roaming\npm\node_modules\ssb-server\node_modules\ssb-msgs\index.js:49:11)
    at Object.exports.indexLinks (C:\Users\andre\AppData\Roaming\npm\node_modules\ssb-server\node_modules\ssb-msgs\index.js:72:3)
    at indexMsg (C:\Users\andre\AppData\Roaming\npm\node_modules\ssb-server\node_modules\ssb-db\indexes\links.js:25:10)
    at C:\Users\andre\AppData\Roaming\npm\node_modules\ssb-server\node_modules\ssb-db\indexes\links.js:34:12
    at reduce (C:\Users\andre\AppData\Roaming\npm\node_modules\ssb-server\node_modules\flumeview-level\index.js:90:25)
    at C:\Users\andre\AppData\Roaming\npm\node_modules\ssb-server\node_modules\pull-write\index.js:35:23
    at C:\Users\andre\AppData\Roaming\npm\node_modules\ssb-server\node_modules\pull-write\index.js:41:13

This is the last console.log() from Patchfox when it happened:

Patchfox_compose_Firefox_Developer.png

I've placed in red squares the important parts of the screenshot. There are two items in that message that should appear in the mentions array, one is one of my identities, the other is the patchfox channel. From the info on the console, we can see that the channel never made into the array. There is a position for it there but it is null.

If SSB feeds are something for the long run, then we need to make sure that parts of the stack don't crash sbot when they encounter a malformed message because malformed messages will happen....

Join Scuttlebutt now