hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

Segment fault starting component

Open krinehart opened this issue 6 years ago • 17 comments

HA 0.88.1 using Hassio component. When I try to start the component I get: /run.sh: line 14: 12 Segmentation fault (core dumped) xbox-rest-server

Not sure what else to try - no other information that I can find.

krinehart avatar Feb 23 '19 00:02 krinehart

Same for me

jesryn avatar Feb 26 '19 21:02 jesryn

Which architecture is the server running on? (Amd64, arm, ..?)

unknownskl avatar Feb 27 '19 08:02 unknownskl

64bit Raspberry Pi 3 B+ Here's the System Health screen from Home Assistant: arch  | aarch64 dev | false docker | true hassio | true os_name | Linux python_version | 3.7.2 version | 0.88.1 virtualenv | false

krinehart avatar Feb 27 '19 13:02 krinehart

System Health from me as well

arch aarch64
dev false
docker true
hassio true
os_name Linux
python_version 3.7.2
timezone Europe/Stockholm
version 0.88.2
virtualenv false

(Updated to 88.2 today)

jesryn avatar Feb 28 '19 20:02 jesryn

I'm sure this has to do with the docker image that's build for amd64 and not for aarch64. @hunterjm: I have an docker file that works in my fork from your repo. Maybe you can use that dockerfile? (Works on both aarch64 and amd64, however I don't use HA, as I've migrated to homebridge, so I can't test and make a pull request)

unknownskl avatar Mar 04 '19 18:03 unknownskl

@krinehart have you found any solution? Feels like I have to move on to something else for the Xbox integration now

jesryn avatar Apr 12 '19 20:04 jesryn

No, @jesryn, I'm holding out hope that @hunterjm can create a docker image for aarch64 as it sounds like that's the problem but I haven't heard anything.

krinehart avatar Apr 13 '19 13:04 krinehart

Have the same issue. Hoping for a resolution

cbuechel avatar Apr 13 '19 17:04 cbuechel

I reinstalled and moved to the 32-bit version today. But when trying to reinstall the Xbox component it seems to have a general problem right now. Not possible to install from that repo. Found others with the same problem. But I will stick to the 32-bit Hassio a couple of days to see if the repo problem will be solved, otherwise might move back to 64-bit.

jesryn avatar Apr 13 '19 19:04 jesryn

@hunterjm is probably very busy as usual. Until he updates the repository a workaround might be to just use the fix from @unknownskl repository by using his fork path https://github.com/unknownskl/hassio-addons to install a third party addon instead of this one. I don't use hassio so I can't tell if it works but it looks alright to me. Let me know if it is in fact successful. If it is I will fork and make a pull request.

webdjoe avatar Apr 13 '19 23:04 webdjoe

@hunterjm is probably very busy as usual. Until he updates the repository a workaround might be to just use the fix from @unknownskl repository by using his fork path https://github.com/unknownskl/hassio-addons to install a third party addon instead of this one. I don't use hassio so I can't tell if it works but it looks alright to me. Let me know if it is in fact successful. If it is I will fork and make a pull request.

Thanks for the info @webdjoe, appreciated. Will switch to your suggestion during the weekend.

jesryn avatar Apr 17 '19 17:04 jesryn

I've been having this problem for a while now. Has anyone found a solution to this? @jesryn did the @unknownskl idea work?

jampez77 avatar Jul 20 '19 16:07 jampez77

Same here...

@unknownskl I added your forked repo in Home Assistant but the Xbox Addon doesn't show up, why is that ?

SBRK avatar Aug 10 '19 12:08 SBRK

@SBRK it is probably outdated. I am waiting for my raspberry pi4 to be delivered and I hope to look into HA again and make it up to date. Could take a while tho..

unknownskl avatar Aug 11 '19 18:08 unknownskl

@SBRK This weekend I updated my hassio to 0.98.1 and the @unknownskl repo appeared in the add on section. This version does not produce this issue and will connect to my Xbox fine. It is however struggling with controlling it.

jampez77 avatar Sep 02 '19 08:09 jampez77

@SBRK This weekend I updated my hassio to 0.98.1 and the @unknownskl repo appeared in the add on section. This version does not produce this issue and will connect to my Xbox fine. It is however struggling with controlling it.

Neat, I will have a try. By controlling it you mean sending controller inputs? Can you manage to turn it on/off? All I'd be interested in is the state and on/off commands

SBRK avatar Sep 03 '19 15:09 SBRK

@SBRK I have my Satellite TV connected through the Xbox. When I try to change channel (via Alexa) the command for changing to TV source is called instead of the channel number as was done in the past.

I will check it in a few hours after work as I have yet to add my username/password in the config yet.

jampez77 avatar Sep 03 '19 15:09 jampez77