grzegorz914 / homebridge-lgwebos-tv

Homebridge plugin for LG WebOS TV, publish as independent external platform accessory.
MIT License
134 stars 15 forks source link

[HB Supervisor] Homebridge Process Ended. Code: null, Signal: SIGBUS Looping Homebridge. #110

Closed Garia666 closed 3 years ago

Garia666 commented 3 years ago

Hi After the last update my homebridge is stuck in aloop.

[HB Supervisor] Homebridge Process Ended. Code: null, Signal: SIGBUS

I have tried to revert to an older installation and the beta beta one however there is no sollution. I have tried deleting everything on home bridge and home kit however nothing works.

When i do a blank install ( with wrong ip ect ect ) then the installation seems stable assoon as i fill in ip and mac adress it starts breaking.

IP and mac are correct

[27/09/2021, 17:09:53] [DenonTv] ---------------------------------- Preparing Advertiser for 'G66 AV Receiver F32B' using bonjour-hap backend! Starting to advertise 'G66 AV Receiver F32B' using bonjour-hap backend! [27/09/2021, 17:09:53] G66 AV Receiver F32B is running on port 36793. [27/09/2021, 17:09:53] Please add [G66 AV Receiver F32B] manually in Home app. Setup Code: 985-73-214 [27/09/2021, 17:09:54] [LgWebOsTv] Device: 192.168.2.35 LG TV, connected. [27/09/2021, 17:09:54] [DenonTv] Device: 192.168.2.32 G66 AV Receiver Main Zone, get Power state successfull, state: OFF [27/09/2021, 17:09:54] [DenonTv] Device: 192.168.2.32 G66 AV Receiver Main Zone, get Input successful, name: , reference: [27/09/2021, 17:09:54] [DenonTv] Device: 192.168.2.32 G66 AV Receiver Main Zone, get Picture mode: 0 [27/09/2021, 17:09:54] [DenonTv] Device: 192.168.2.32 G66 AV Receiver Main Zone, get Mute state successful: ON [27/09/2021, 17:09:54] [DenonTv] Device: 192.168.2.32 G66 AV Receiver Main Zone, get Volume level successful: -80 dB [27/09/2021, 17:09:54] [DenonTv] Device: 192.168.2.32 G66 AV Receiver Main Zone, get Button state successful, state: false [27/09/2021, 17:09:54] [DenonTv] Device: 192.168.2.32 G66 AV Receiver Main Zone, get Button state successful, state: false [27/09/2021, 17:09:58] [HB Supervisor] Homebridge Process Ended. Code: null, Signal: SIGBUS [27/09/2021, 17:10:03] [HB Supervisor] Restarting Homebridge... [27/09/2021, 17:10:03] [HB Supervisor] Starting Homebridge with extra flags: -I

when i disable the plugin homebridge works well.

please advise

I think it has something to do with the software on the TV. I have tried another LG webosTV app and now everytime when i press connection request LG app it will start the loop

gdotp01 commented 3 years ago

Ive been investigating this issue and tracked it down to this plugin Im afraid. If I disable it Homebridge works if its enabled I get into a Homebridge boot loop with exactly the same error as above.

alexsalex commented 3 years ago

Next time please use search before you post the issue. It’s duplicated.

https://github.com/grzegorz914/homebridge-lgwebos-tv/issues/108

gdotp01 commented 3 years ago

I did which is why I found this one

Garia666 commented 3 years ago

Ive been investigating this issue and tracked it down to this plugin Im afraid. If I disable it Homebridge works if its enabled I get into a Homebridge boot loop with exactly the same error as above.

I have the same problem with other webos plugins, the authentication part between plugin and tv is where it goes wrong. I did not see the post from alexalex he has more indept logging as to whats going wrong.

i have version WebosTV 05.10.25 and an OLED65C9PLA TV

marcodelu commented 3 years ago

Same issue here. It started randomly after I rebooted my raspberry. Tried to rollback to previous version but without luck.

marcodelu commented 3 years ago

Plugin is updated to latest version (v1.9.15), HomeBridge was up and running from a very long time, I restarted the raspberry for other reasons, then HomeBridge stopped working, with the issue reported above. This is the debug log: https://pastebin.com/87Rw1GCY

I tried to logout/login on the LG ThinQ account from the TV, it can reach internet, double checked that 'Mobile TV' is active, as well as reboot it, but the issue still persist.

TV Model: 43UM7100PLB WebOS 05.10.25

Happy to provide more details if needed!

komihb commented 3 years ago

Same issue here. Disabling plugin is the only way to stop rebooting for me. Curiously, rolled back to v1.9.14, issue occurred again.

Garia666 commented 3 years ago

Yes my advise would be not to update ;) however when you read this post it’s probably to late :)

gdotp01 commented 3 years ago

Yep tooooo late. Downgrading does not work either so I’ve disabled it for the meantime

Garia666 commented 3 years ago

homebridge-lgwebos-tv@1.9.14 │ ├─┬ @mi-sec/wol@1.0.13 │ │ └── @mi-sec/mac-address@1.0.16 │ ├── tcp-ping@0.1.1 │ └─┬ websocket@1.0.34 │ ├─┬ bufferutil@4.0.4 │ │ └── node-gyp-build@4.3.0 │ ├─┬ debug@2.6.9 │ │ └── ms@2.0.0 │ ├─┬ es5-ext@0.10.53 │ │ ├─┬ es6-iterator@2.0.3 │ │ │ ├── d@1.0.1 │ │ │ ├── es5-ext@0.10.53 deduped │ │ │ └── es6-symbol@3.1.3 deduped │ │ ├─┬ es6-symbol@3.1.3 │ │ │ ├── d@1.0.1 deduped │ │ │ └── ext@1.6.0 │ │ └── next-tick@1.0.0 │ ├─┬ typedarray-to-buffer@3.1.5 │ │ └── is-typedarray@1.0.0 │ ├─┬ utf-8-validate@5.0.6 │ │ └── node-gyp-build@4.3.0 deduped │ └── yaeti@0.0.6

grzegorz914 commented 3 years ago

please go to console and run this: cd /usr/lib/node_modules/homebridge-lgwebos-tv/node_modules sudo npm install bufferutil@4.0.3