i am checking my config folder and i have a lot of .core files in my directory.
i deleted all “rm core*”.
I restarted HA but the system is creating again .core files.
Does anyone know how i can figure out what is the problem?
-rw------- 1 root root 123719680 Mar 12 08:09 core.82
-rw------- 1 root root 66531328 Mar 12 08:14 core.96
-rw------- 1 root root 66531328 Mar 12 08:14 core.97
It is usually a sign of a crash. If you google .core files you will find out how to use the .core file to do some troubleshooting, but that may be more of a developer task.
I’ve been plagued with these core files since around release 0.86. I’m running Hassio on a Rpi3. Nothing in the logs that point to what could have caused them. No real easy way to find the cause using the core files.
Without being able to use gdb (which is not included with hassio) it is hard to tell. Try using cat (or strings) on the .core files to see if any info is revealed.
Yes, i tried strings now and i figured out what is / was the problem.
I have a ring doorbell and want to have the camera picture including video.
i commented the following section in my configuration file and it looks like that no .core file is creating anymore.
I think the problem is the ffmpeg_arguments for hassio.
Still getting core files … two more in the last 15 minutes.
@nickrout - I can’t run FFMPEG from the command line as I am running Hassio, and it is not available from the command line. I have run FFMPEG from a Mac to the same cameras, and it is working as expected, then so is the FFMPEG component in Hassio, just every now and again (multiple times daily) it dumps a core file. Sometimes it restarts Hassio but most times not. It has created 5 core files in the last 45 minutes. It seems to be a lot worse if I leave a browser window with the camera on it.
Next is going to be disable the all the cameras and monitor.
Updated HassOS version to 2.11. Been monitoring for 2 hours and no core dumps. To be expected though when you look at the release notes in Github (https://github.com/home-assistant/hassos/releases). Suspect disabling coredumps is just masking the problem, but I guess if no one can understand them there is little point in creating them in the first place.