-
-
Notifications
You must be signed in to change notification settings - Fork 384
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 on Hyperion 2.0.0-alpha.7 #903
Comments
This error message can be traced back to this PR.
Thanks for the feedback. We'll take a closer look at that. |
@Paulchen-Panther, hope you fix it soon :-), btw is it the main cause of the crash? After the zip error the following errors shows up as well:
|
You can try the following temporary fix.
|
@Paulchen-Panther, I did the steps like you said and it looks as if the zip error is solved 👍, however Hyperion still crashes because of following error:
|
Could you please start hyperion in debug mode (hyperiond -d) and post the output? |
Sure... this is shown when running in debug.
|
Is the start effect visible on the LEDs? |
When running the command |
Can we narrow down the error and you start again with a clean config? |
I think it can be attributed to the adalight configuration. @Lord-Grey @m-seker |
Step 1:
Step 2: Setup adalight Step 3: Save settings:
Note 1: this is the cpp used on the Arduino Nano hyperion_v9.cpp.zip between the ledstrip ws2813b and the Raspberry PI 3b. Note 2: with previous released Hyperion 2.0.0-alpha.6 the error didn't occur. |
Let's take a look a little further into the course. starts hyperion with gdb After loading hyperiond you start the debugger And if it crashes, show the backtrace. And please post all of this here. thank you |
No problem! Here you go ...
|
What does the |
Not sure which part you need, but below the full
|
Unfortunately,I cannot reproduce the error, but I found a similar issue on QRingBuffer::reserve in a past issue. |
If further assistence is required, don't hesitate to contact me here or on discord Hyperion Dynamic Lighting |
Having the exact same issue here just thought I would mention. |
Any news regarding this issue? |
Do you get the same errors when you start hyperion with root rights? (sudo) |
I reverted back to alpha.6 so I can't test right now, but I'll prepare another sd for alpha.7 and try it with sudo and report back. |
Unfortunately, running as sudo did not fix the problem. Find below all steps to reproduce the error including HyperionNG logs.
|
Selbes problem mit HyperBian, alpha 6 läuft das webinterface bei mir mit der neusten raspbian leider auch nicht. EDIT: das artifakt von hier funktioniert auf dem hyperbian install |
@Lord-Grey Hast du schon was mit den Buster Docker Builds erreichen können? Evtl. eine Ausnahme für die Stretch Releases hinzufügen? |
@Paulchen-Panther Ich war mal ein paar Tage weg. |
@RaymondMouthaan As an immediate workaround for the adalight issue, you could comment out the following line in the adalight.ino sketch file:
Please give, it a try and report back, if this helped. |
@RaymondMouthaan I did a fix with PR #991 . At my end this seems to work. PS: There is currently no need to update the adalight.ino sketch. |
Hello @Lord-Grey, sorry to keep you waiting, I have been busy. I am happy to do some tests related to this issue :-). Can you please provide the steps to be taken to make sure ill test the right thing? Cheers, |
@RaymondMouthaan Thanks for your support! You test following the procedure you executed before. Load the Fix from PR911. Artifact: https://github.com/hyperion-project/hyperion.ng/suites/1139918452/artifacts/16349211 Extracted the tar.gz and copied all of the /share/hyperion content to /usr/share/hyperion as sudo Thank you! Edit: You can validate that you have the correct codebase by checking the following log-line
It must show " |
@Lord-Grey, thanks for the procedure. I'll do the testing tomorrow and report back asap. 💪 |
Hi. It looks like it works. |
I can confirm that the artifact of #991 works perfectly! 💯 Debug log:
Just a quick summery for others, how to apply the fix:
And prevent it from starting at boot:
|
@RaymondMouthaan |
@Paulchen-Panther, that's just great to have such a script, let me test the script right a way 👍 edit: it works perfect 💯 |
@RaymondMouthaan Just checking... |
Both :-) .. This is without the script -> #903 (comment) And this is using the handy script of @Paulchen-Panther -> #903 (comment) |
@Paulchen-Panther, @Lord-Grey just curious - when is the next hyperionNG release expected? |
Keine Ahnung. 😄 |
@RaymondMouthaan no ETA for now...sorry, when we think we are ready... |
Well I guess I'll see it coming when the time is there 👍 Thanks to all to tackled this issue, happy its fixed & merged 💯 |
@Paulchen-Panther your script does not seem to work for me on a RaspberryPi 4:
|
@sh0rez nothing to do with rpi4 itself...the artifacts are only limited time available... |
@tpmodding The manual steps above work for me – so some artifact is still there. Are these different ones? |
@sh0rez tThe script can only download artifacts from open PRs. 991 is merged and closed. |
Bug report
Hyperion 2.0.0-alpha.7 crashes after setting up LED hardware with a segmentation fault
Steps to reproduce
adalight
/dev/ttyUSB0
What is expected?
Hyperion running
What is actually happening?
Hyperion crashes as soon as the Settings are saved. Because by default Hyperion runs as service, Hyperion restarts and crashes again, and again ...
Stopping the service and manual starting
hyperiond
shows these logs:From above logs multiple errors occur, not sure if they are related. The
zipimport.ZipImportError: can't decompress data; zlib not available
error was reported earlier at #881Removing hyperion.db make Hyperion start again.
System
The text was updated successfully, but these errors were encountered: