hyperion-project / hyperion.ng

The successor to Hyperion aka Hyperion Next Generation
https://hyperion-project.org/
MIT License
3.04k stars 377 forks source link

Hyperiond hangs on start if compiled with ENABLE_V4L2 on RP2 #824

Closed szlop closed 4 years ago

szlop commented 4 years ago

Bug report

Steps to reproduce

Start hyperiond without any config on Raspberry Pi 2.

What is expected?

Normal startup.

What is actually happening?

Startup does not finish, the webserver is not starting. Instead, one CPU core goes to 100% load and hyperiond starts allocating memory, till the system gets unresponsive after about one minute. Hyperiond starts normally, if compiled with ENABLE_V4L2 = Off.

hyperiond-debug.txt

System

Hyperion Server:

Hyperion Server OS:

The System info is copied from a build with ENABLE_V4L2 = Off. I am running Rasbian Buster without xserver. There is an Arduino connected via USB, which is meant to be used by the adalight driver. Since the webserver is not starting, I have not configured anything. I got identical results for the armv7 deb package from the Hyperion 2.0.0-alpha.6 release and commit 08de6b7.

Paulchen-Panther commented 4 years ago

Fixed in PR #820

szlop commented 4 years ago

Thanks a lot!

szlop commented 4 years ago

Fixed in PR #820

Today I tested this commit, it fixes the issue for me.