arachnetech / homebridge-mqttthing

A plugin for Homebridge allowing the integration of many different accessory types using MQTT.
Apache License 2.0
462 stars 104 forks source link

Maximum call stack size exceeded at shim-array.js #517

Closed flok closed 2 years ago

flok commented 2 years ago

Since upgrading the plugin i get the following error when starting up homebridge

[25/12/2021, 18:25:25] RangeError: Maximum call stack size exceeded
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:30:5)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)
    at Function.Array.from (/usr/lib/node_modules/homebridge-mqttthing/node_modules/collections/shim-array.js:31:22)

A downgrade of the version also doesn't fix the error above. Is there some temp file the plugin generates that maybe stops it from starting up?

No changes to config from it running to upgrading and starting it again. Downgraded all the way to 1.1.31 but error still persists.

NorthernMan54 commented 2 years ago

Humm - Had a user of my plugin report the same, turns out it was a different plugin

https://github.com/NorthernMan54/homebridge-alexa/issues/481

arachnetech commented 2 years ago

Thanks, @NorthernMan54 - which plug-in is causing this (assuming it's not mqttthing either!)?

NorthernMan54 commented 2 years ago

The rumour is myq

I’m also wondering if it’s possibly a npm issue

On Dec 25, 2021, at 7:11 PM, David Miller @.***> wrote:

 Thanks, @NorthernMan54 - which plug-in is causing this (assuming it's not mqttthing either!)?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.

flok commented 2 years ago

for me it was homebridge-fritz (0.9.5) somehow, but that didnt get updated in a long time, maybe some changes inside homebridge itself broke that old plugin. Now using homebridge-fritz-platform and it works fine