One thing that I find curious is that I’ve seen like 4 different stack traces. Mono is crashing during arbitrary actions, always in the same function related to memory allocation, but Sonarr is doing arbitrary things.
The console log you sent is only the stderr output, not the stdout as well. So it makes it a bit more difficult.
But I’ll be honest, I don’t know what’s happening. sqlite is a tad older than my already old ubuntu 14.04 install, but libmediainfo (the one I’m worried about most) is fairly up to date.
There have been similar exceptions with Radarr going as far back as January.
I’d like to do an experiment:
In /opt/NzbDrone/NzbDrone.Core.dll.config
you’ll find an xml file with the mapping between MediaInfo and the libmediainfo.so, changing the target
for the os=linux (at least, I think that one is used for Centos) one to something else (libmediainfofake.so.0
for example) should prevent mediainfo from being loaded. Obviously, stop sonarr first before modifying that file, and you might want to disable auto updates too so the file doesn’t get overwritten suddenly.
The consequence is that Sonarr can’t import any downloads automatically since the samplecheck will fail, but at least then you know the modification worked. (You should be able to force the imports manually when needed)
Run that for a day or two, if it crashes again despite not being able to load libmediainfo, then we’ll at least know it’s not caused by that.