Sonarr 2.0.0.4949 Crashing on Ubuntu 16.04 (all packages updated as of Sept 14, 2017)

Sonarr version (exact version): 2.0.0.4949
Mono version (if Sonarr is not running on Windows): Mono JIT compiler version 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:19:08 UTC 2016)
OS: Ubuntu 16.04
((Debug logs)):

[Info] RefreshSeriesService: Skipping refresh of series: Teen Titans Go!
[Info] DiskScanService: Scanning disk for Teen Titans Go!
[Info] DiskScanService: Completed scanning disk for Teen Titans Go!
[Info] ExistingMetadataImporter: Found 0 existing metadata files
[Info] ExistingSubtitleImporter: Found 0 existing subtitle files
[Info] ExistingOtherExtraImporter: Found 0 existing other extra files
[Info] ExistingExtraFileService: Found 0 extra files
[Info] RefreshSeriesService: Skipping refresh of series: The Tonight Show Starring Jimmy Fallon
[Info] DiskScanService: Scanning disk for The Tonight Show Starring Jimmy Fallon
[Info] DiskScanService: Completed scanning disk for The Tonight Show Starring Jimmy Fallon
Stacktrace:

at <0xffffffff>
at (wrapper managed-to-native) NzbDrone.Core.MediaFiles.MediaInfo.MediaInfo.MediaInfo_Open_Buffer_Continue (intptr,byte[],intptr) <IL 0x00026, 0xffffffff>
at NzbDrone.Core.MediaFiles.MediaInfo.MediaInfo.Open (System.IO.Stream) [0x00054] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\MediaInfo\MediaInfoLib.cs:210
at NzbDrone.Core.MediaFiles.MediaInfo.VideoFileInfoReader.GetMediaInfo (string) [0x0007b] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\MediaInfo\VideoFileInfoReader.cs:55
at NzbDrone.Core.MediaFiles.MediaInfo.UpdateMediaInfoService.UpdateMediaInfo (NzbDrone.Core.Tv.Series,System.Collections.Generic.List`1<NzbDrone.Core.MediaFiles.EpisodeFile>) [0x00044] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\MediaInfo\UpdateMediaInfoService.cs:49
at NzbDrone.Core.MediaFiles.MediaInfo.UpdateMediaInfoService.Handle (NzbDrone.Core.MediaFiles.Events.SeriesScannedEvent) [0x0005e] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\MediaInfo\UpdateMediaInfoService.cs:71
at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent<T_REF> (T_REF) [0x000c3] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:56
at NzbDrone.Core.MediaFiles.DiskScanService.CompletedScanning (NzbDrone.Core.Tv.Series) [0x00016] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\DiskScanService.cs:128
at NzbDrone.Core.MediaFiles.DiskScanService.Scan (NzbDrone.Core.Tv.Series) [0x001a6] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\MediaFiles\DiskScanService.cs:116
at NzbDrone.Core.Tv.RefreshSeriesService.Execute (NzbDrone.Core.Tv.Commands.RefreshSeriesCommand) [0x000ea] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Tv\RefreshSeriesService.cs:179
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand<T_REF> (T_REF,NzbDrone.Core.Messaging.Commands.CommandModel) [0x00081] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:81
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,NzbDrone.Core.Messaging.Commands.CommandExecutor,object,NzbDrone.Core.Messaging.Commands.CommandModel) <IL 0x00074, 0x00106>
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3<TArgument1_REF, TArgument2_REF, TArgument3_REF> (System.Runtime.CompilerServices.CallSite,TArgument1_REF,TArgument2_REF,TArgument3_REF) <IL 0x00138, 0x00614>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,NzbDrone.Core.Messaging.Commands.CommandExecutor,object,NzbDrone.Core.Messaging.Commands.CommandModel) <IL 0x00096, 0x0016d>
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommands () [0x00027] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:41
at System.Threading.ThreadHelper.ThreadStart_Context (object) <0x00099>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x0016e>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00020>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) <0x00059>
at System.Threading.ThreadHelper.ThreadStart () <0x0002e>
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x00056, 0xffffffff>

Native stacktrace:

    mono() [0x49d5fc]
    mono() [0x424820]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f27efb8d390]
    /usr/lib/x86_64-linux-gnu/libmediainfo.so.0(+0x30c9a1) [0x7f27cbb2e9a1]
    /usr/lib/x86_64-linux-gnu/libmediainfo.so.0(+0x48925) [0x7f27cb86a925]
    /usr/lib/x86_64-linux-gnu/libmediainfo.so.0(+0x494a8) [0x7f27cb86b4a8]
    /usr/lib/x86_64-linux-gnu/libmediainfo.so.0(+0xc6eca) [0x7f27cb8e8eca]
    /usr/lib/x86_64-linux-gnu/libmediainfo.so.0(_ZN12MediaInfoLib9MediaInfo20Open_Buffer_ContinueEPKhm+0xc) [0x7f27cb8b862c]
    /usr/lib/x86_64-linux-gnu/libmediainfo.so.0(MediaInfo_Open_Buffer_Continue+0x9d) [0x7f27cbc7f84d]
    [0x412fc510]

Debug info from gdb:

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Aborted (core dumped)

Description of issue: Sonarr starts, then dies after a 20-30 seconds of working and doing actions. Very reproducable. Did an upgrade of mono and still happens, so this is the most current based on Ubuntu 16.04 standard repos. Seemed to be working on the prior version before the August 12 upgrade.

Ok, well. Deleting my Tonight Show folder (that was being scanned when it barfed) fixed it and it’s up and running well now. Yea!

Which version of libmediainfo do you have installed, the version in the distro repo is probably way out of date,but you can use the mediainfo repo to update to the latest.

Ubuntu 16.04’s latest version of libmediainfo is 0.7.82-1. I’ll try to update it. Thanks for the help!

Latest was 0.7.99-1 and I’ve installed it just now, so we’ll see if we crash down the road. You can close this issue.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.