-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault #457
Comments
I believe this was caused from a corrupt download as I uninstalled and then installed beta13 without issue then updated to 15. I then uninstalled and redownloaded 15 which installed and ran without issue. |
well this doesn't appear to be a corrupt download I get this repeatedly trying to run a installed HG on a different SD card even beta 9 usually when attempting setup. I have to start over with a fresh install. |
Segmentation faults are related to memory so I did some playing arround It seemed like this was related to my sd card which although is 32 meg in size appears to possibly have a bad section. It is not HomeGenie code in my case. |
I am also facing this issue on a RPi4 but only when using X10 drivers that use pi@raspberrypi:~/homegenie $ dpkg -l | grep libusb
ii libusb-1.0-0:arm64 2:1.0.24-3 arm64 userspace USB programming library
ii libusb-1.0-0-dev:arm64 2:1.0.24-3 arm64 userspace USB programming library development files
ii libusb-1.0-doc 2:1.0.24-3 all documentation for userspace USB programming I uninstalled it and re-built the latest libusb 1.0.26 from source: |
From reading this seems to be more a core issue. I've not experianced this on the 32 bit pi os. I also haven't experianced this since moving things to a 64 gig usb stick. The issues were when running a 32 gig card, experianced this with two cards. I do use X10 though last time I experianced it was prior to installing the x10 drivers or HG. |
Yes, it seems more a core libs/framework issue on the 64bit OS. |
What mem does your pi 4 have? |
My RPi4 has got 4GB of memory, the lite version of the latest Raspbian, a 16GB SD card and HG with X10, Z-Wave, a HG mini connected via MQTT, nine GroveRGB leds via I2C, Philips Hue and other programs for automation tasks. |
I attempted a restore again but ran into the same issues(probably due to all the custom widgets. |
My reply to your message disappeared :| (the other one with the screenshot) |
OK I found the "disappeared" reply :D it was in the other issue #458 =))) |
If I add the program with a download it is possible to switch the widget to the HG status module and things work for most custom programs. However if I attempt to change any setting in the problem programs with custom widgets that have been restored from a backup it doesn't work as posted in issue #458 |
Now running beta 24 and I've not experianced this since running my Raspi OS from a larger USB drive (64 gig) |
I found a bug in CM15 and CM19 drivers that causes "Segmentation fault" when trying to disable/enable the X10 interface. |
When I was getting this fault it was never from doing the same things in HG which made it hard for me to nail down. It wasn't till I got this fault prior to installing HG that I realized HG was not be the only thing causing this. Seems the raspi 64 bit OS may also be a factor as I never even had Core installed I was doing a raspberry update/upgrade right after the OS install. I did notice a HG hang up when playing with the X10 disable/enable but a reboot fixed it. Never got the fault though. |
I decided to do a fresh install of raspi OS and HG 64bit.
|
- updated X10 drivers with a fix for ARM64 (#457) - added new block for handling module parameter's events in VPL (#463) - added switch..case block to VPL - optimized Python script engine - fix Program.UseWidget API bug - general automation program editor UX improvements - upgraded nuget packages - added fix for integrating Machine Learning libs (ML.NET)
Version
homegenie_1.4.0-beta.15_linux-arm64.zip
Describe the bug
typing in sudo ./HomGenie or just ./HomeGenie results in tha return of
Segmentation fault
Code to Reproduce
installed a fresh 64 bit rasbian OS on my 3b+ pi then unzipped the zip file
opening the homegenie folder and typing in sudo ./HomGenie or just ./HomeGenie results in the fault.
Expected behavior
I either expected a confirmation the HG service was started ,running or so sort of confirmation things were OK
Screenshots/Stacktrace
pi@64bit-raspberrypi:~ $ cd homegenie
pi@64bit-raspberrypi:
/homegenie $ sudo ./HomeGenie/homegenie $ ./HomeGenieSegmentation fault
pi@64bit-raspberrypi:
Segmentation fault
pi@64bit-raspberrypi:
/homegenie $ cd$ dirpi@64bit-raspberrypi:
Bookshelf Downloads homegenie_1.4.0-beta.15_linux-arm64.zip Public
Desktop ha-bridge Music Templates
Documents homegenie Pictures Videos
Additional context
@genemars this is my first beta 64 bit install attempt so I may have missed something I did include the additional installs adds for x10 and gpio prior to unzipping HG.
Maybe these should have been done after installing HG and from the HG folder?
The text was updated successfully, but these errors were encountered: