SIGSEGV When Processing TS (MPEG) Video

Running version 2.0.0.3357 on Arch x86_64 with Mono 4.0.4 - all stock packages. Whenever a TS file is downloaded, sonarr crashes with SIGSEGV. Hopefully there is something in the stacktrace below that’s useful.I’ve tried going back to the two previous versions of mono, but same result.Same with the previous version of libmediainfo (0.7.76). Everything has been running fine for quite a while…guess I just happened to pick up some TS files by chance. There are none currently under my sonarr directory.

Sep 22 15:39:10 host sonarr[3068]: Stacktrace:
Sep 22 15:39:10 host sonarr[3068]: at <unknown> <0xffffffff>
Sep 22 15:39:10 host sonarr[3068]: at (wrapper managed-to-native) NzbDrone.Core.MediaFiles.MediaInfo.MediaInfo.MediaInfo_Open_Buffer_Continue (intptr,byte[],intptr) <0xffffffff>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.MediaInfo.MediaInfo.Open (System.IO.Stream) <0x000a7>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.MediaInfo.VideoFileInfoReader.GetMediaInfo (string) <0x001e3>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.MediaInfo.VideoFileInfoReader.GetRunTime (string) <0x00027>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.EpisodeImport.DetectSample.IsSample (NzbDrone.Core.Tv.Series,NzbDrone.Core.Qualities.QualityModel,string,long,int) <0x0013c>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.EpisodeImport.ImportDecisionMaker/<>c__DisplayClass6.<ShouldUseFolderName>b__5 (string) <0x000a5>
Sep 22 15:39:10 host sonarr[3068]: at System.Linq.Enumerable.Count<TSource> (System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource, bool>) <0x0008a>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.EpisodeImport.ImportDecisionMaker.ShouldUseFolderName (System.Collections.Generic.List`1<string>,NzbDrone.Core.Tv.Series,NzbDrone.Core.Parser.Model.ParsedEpisodeInfo) <0x001ab>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.EpisodeImport.ImportDecisionMaker.GetImportDecisions (System.Collections.Generic.List`1<string>,NzbDrone.Core.Tv.Series,NzbDrone.Core.Parser.Model.ParsedEpisodeInfo,bool) <0x000eb>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.DownloadedEpisodesImportService.ProcessFolder (System.IO.DirectoryInfo,NzbDrone.Core.Tv.Series,NzbDrone.Core.Download.DownloadClientItem) <0x002f6>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.DownloadedEpisodesImportService.ProcessFolder (System.IO.DirectoryInfo,NzbDrone.Core.Download.DownloadClientItem) <0x0012f>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.DownloadedEpisodesImportService.ProcessRootFolder (System.IO.DirectoryInfo) <0x000eb>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.DownloadedEpisodesCommandService.ProcessDroneFactoryFolder () <0x00154>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.MediaFiles.DownloadedEpisodesCommandService.Execute (NzbDrone.Core.MediaFiles.Commands.DownloadedEpisodesScanCommand) <0x00047>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand<TCommand> (TCommand,NzbDrone.Core.Messaging.Commands.CommandModel) <0x001d2>
Sep 22 15:39:10 host sonarr[3068]: 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) <0x0010d>
Sep 22 15:39:10 host sonarr[3068]: at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3<T0, T1, T2> (System.Runtime.CompilerServices.CallSite,T0,T1,T2) <0x00592>
Sep 22 15:39:10 host sonarr[3068]: 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) <0x0017b>
Sep 22 15:39:10 host sonarr[3068]: at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommands () <0x00263>
Sep 22 15:39:10 host sonarr[3068]: at System.Threading.Thread.StartInternal () <0x00074>
Sep 22 15:39:10 host sonarr[3068]: at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>
Sep 22 15:39:10 host sonarr[3068]: Native stacktrace:
Sep 22 15:39:10 host sonarr[3068]: /usr/lib/libmonosgen-2.0.so.1(+0xe42cc) [0x7f5d0e4962cc]
Sep 22 15:39:10 host sonarr[3068]: /usr/lib/libmonosgen-2.0.so.1(+0x4d298) [0x7f5d0e3ff298]
Sep 22 15:39:10 host sonarr[3068]: /usr/lib/libpthread.so.0(+0x10d60) [0x7f5d0e1a2d60]
Sep 22 15:39:10 host sonarr[3068]: /usr/lib/libmediainfo.so.0(_ZN12MediaInfoLib11File_MpegTs24Read_Buffer_AfterParsingEv+0x2f6) [0x7f5cea1cbdf6]

Looks to be the same issue as this thread:

Thanks! I’ll load the sonarr-develop and sonarr-git packages and see if either has the workaround.

The sonarr-develop package seems to have the fix!

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