Sonarr Crash while Getting media info

Sonarr version (exact version): 3.0.3.664
Mono version (if Sonarr is not running on Windows): 5.20.1.19
OS: QNAP OS
Description of issue:

My Sonarr will crash about once a week while it tries to import a downloaded episode.
I had to delete the downloaded episode manually before I can start Sonarr again, because it would crash again as soon it tries to import this episode.
I also tried to move the file manually in to the Series folder, but then Sonarr will crash, as soon it tries to update the Serie Information.

I can’t explain why this could be, but it seems it only happens on Animes right now. Maybe Anime release groups use different codecs?

Debug logs also don’t give any good informations. It just stops on the “Debug|VideoFileInfoReader|Getting media info from”.

If you need such a file for testing, please send me a message

Debug Log:

19-12-8 00:38:40.4|Debug|Parser|Parsing string 'Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-'
19-12-8 00:38:40.4|Debug|Parser|Episode Parsed. Is It Wrong to Try to Pick Up Girls in a Dungeon - S02E04 
19-12-8 00:38:40.4|Debug|Parser|Language parsed: English
19-12-8 00:38:40.4|Debug|QualityParser|Trying to parse quality for Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-
19-12-8 00:38:40.4|Debug|Parser|Quality parsed: WEBDL-1080p v2
19-12-8 00:38:40.4|Debug|Parser|Release Group parsed: KS
19-12-8 00:38:40.4|Debug|ParsingService|Using Scene to TVDB Mapping for: Is it Wrong to Try to Pick Up Girls in a Dungeon? - Scene: 2x04 - TVDB: 2x04
19-12-8 00:38:40.4|Debug|TrackedDownloadService|Tracking 'NZBGet:Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-': ClientState=Completed SonarrStage=Downloading Episode='Is It Wrong to Try to Pick Up Girls in a Dungeon - S02E04 WEBDL-1080p v2' OutputPath=/share/Download/nzbget/dst/Serien/Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-.
19-12-8 00:38:40.4|Debug|Parser|Parsing string 'Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-'
19-12-8 00:38:40.4|Debug|Parser|Episode Parsed. Is It Wrong to Try to Pick Up Girls in a Dungeon - S02E04 
19-12-8 00:38:40.4|Debug|Parser|Language parsed: English
19-12-8 00:38:40.4|Debug|QualityParser|Trying to parse quality for Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-
19-12-8 00:38:40.4|Debug|Parser|Quality parsed: WEBDL-1080p v2
19-12-8 00:38:40.4|Debug|Parser|Release Group parsed: KS
19-12-8 00:38:40.4|Debug|Parser|Parsing string 'Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-'
19-12-8 00:38:40.4|Debug|Parser|Episode Parsed. Is It Wrong to Try to Pick Up Girls in a Dungeon - S02E04 
19-12-8 00:38:40.4|Debug|Parser|Language parsed: English
19-12-8 00:38:40.4|Debug|QualityParser|Trying to parse quality for Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-
19-12-8 00:38:40.4|Debug|Parser|Quality parsed: WEBDL-1080p v2
19-12-8 00:38:40.4|Debug|Parser|Release Group parsed: KS
19-12-8 00:38:40.4|Debug|DiskScanService|Scanning '/share/Download/nzbget/dst/Serien/Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-' for video files
19-12-8 00:38:40.4|Debug|DiskScanService|1 video files were found in /share/Download/nzbget/dst/Serien/Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-
19-12-8 00:38:40.5|Debug|ImportDecisionMaker|Analyzing 1/1 files.
19-12-8 00:38:40.5|Debug|Parser|Parsing string 'Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-'
19-12-8 00:38:40.5|Debug|Parser|Episode Parsed. Is It Wrong to Try to Pick Up Girls in a Dungeon - S02E04 
19-12-8 00:38:40.5|Debug|Parser|Language parsed: English
19-12-8 00:38:40.5|Debug|QualityParser|Trying to parse quality for Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-
19-12-8 00:38:40.5|Debug|Parser|Quality parsed: WEBDL-1080p v2
19-12-8 00:38:40.5|Debug|Parser|Release Group parsed: KS
19-12-8 00:38:40.5|Debug|VideoFileInfoReader|Getting media info from /share/Download/nzbget/dst/Serien/Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-/Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04.MKV
19-12-8 00:38:40.6|Debug|DetectSample|Runtime is over 90 seconds
19-12-8 00:38:40.6|Debug|Parser|Parsing string 'Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04.MKV'
19-12-8 00:38:40.6|Debug|Parser|Episode Parsed. Is It Wrong to Try to Pick Up Girls in a Dungeon - S02E04 
19-12-8 00:38:40.6|Debug|Parser|Language parsed: English
19-12-8 00:38:40.6|Debug|QualityParser|Trying to parse quality for Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04.MKV
19-12-8 00:38:40.6|Debug|Parser|Quality parsed: HDTV-720p v1
19-12-8 00:38:40.6|Debug|Parser|Release Group parsed: S02E04
19-12-8 00:38:40.6|Debug|VideoFileInfoReader|Getting media info from /share/Download/nzbget/dst/Serien/Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04v2-War.Game.1080p.HiDive.Dual.Audio.WEB-DL.-KS-/Is.It.Wrong.to.Try.to.Pick.Up.Girls.in.a.Dungeon-S02E04.MKV

Here are the Media Infos of this mkv file:

index: ‘0’,
codec_name: ‘hevc’,
codec_long_name: ‘H.265 / HEVC (High Efficiency Video Coding)’,
profile: ‘Main’,
codec_type: ‘video’,
codec_time_base: ‘1001/24000’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
width: ‘1920’,
height: ‘1080’,
coded_width: ‘1920’,
coded_height: ‘1080’,
has_b_frames: ‘2’,
sample_aspect_ratio: ‘1:1’,
display_aspect_ratio: ‘16:9’,
pix_fmt: ‘yuv420p’,
level: ‘120’,
color_range: ‘tv’,
color_space: ‘bt709’,
color_transfer: ‘bt709’,
color_primaries: ‘bt709’,
refs: ‘1’,
r_frame_rate: ‘24000/1001’,
avg_frame_rate: ‘24000/1001’,
time_base: ‘1/1000’,
start_pts: ‘0’,
start_time: ‘0.000000’,
disposition: ‘[object Object]’,
tags: ‘[object Object]’,
index: ‘1’,
codec_name: ‘aac’,
codec_long_name: ‘AAC (Advanced Audio Coding)’,
profile: ‘LC’,
codec_type: ‘audio’,
codec_time_base: ‘1/48000’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
sample_fmt: ‘fltp’,
sample_rate: ‘48000’,
channels: ‘2’,
channel_layout: ‘stereo’,
bits_per_sample: ‘0’,
r_frame_rate: ‘0/0’,
avg_frame_rate: ‘0/0’,
time_base: ‘1/1000’,
start_pts: ‘21’,
start_time: ‘0.021000’,
disposition: ‘[object Object]’,
tags: ‘[object Object]’,
index: ‘2’,
codec_name: ‘aac’,
codec_long_name: ‘AAC (Advanced Audio Coding)’,
profile: ‘LC’,
codec_type: ‘audio’,
codec_time_base: ‘1/48000’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
sample_fmt: ‘fltp’,
sample_rate: ‘48000’,
channels: ‘2’,
channel_layout: ‘stereo’,
bits_per_sample: ‘0’,
r_frame_rate: ‘0/0’,
avg_frame_rate: ‘0/0’,
time_base: ‘1/1000’,
start_pts: ‘0’,
start_time: ‘0.000000’,
disposition: ‘[object Object]’,
tags: ‘[object Object]’,
index: ‘3’,
codec_name: ‘ass’,
codec_long_name: ‘ASS (Advanced SSA) subtitle’,
codec_type: ‘subtitle’,
codec_time_base: ‘0/1’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
r_frame_rate: ‘0/0’,
avg_frame_rate: ‘0/0’,
time_base: ‘1/1000’,
start_pts: ‘0’,
start_time: ‘0.000000’,
duration_ts: ‘1466560’,
duration: ‘1466.560000’,
disposition: ‘[object Object]’,
tags: ‘[object Object]’,
index: ‘4’,
codec_name: ‘ass’,
codec_long_name: ‘ASS (Advanced SSA) subtitle’,
codec_type: ‘subtitle’,
codec_time_base: ‘0/1’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
r_frame_rate: ‘0/0’,
avg_frame_rate: ‘0/0’,
time_base: ‘1/1000’,
start_pts: ‘0’,
start_time: ‘0.000000’,
duration_ts: ‘1466560’,
duration: ‘1466.560000’,
disposition: ‘[object Object]’,
tags: ‘[object Object]’,
index: ‘5’,
codec_name: ‘ttf’,
codec_long_name: ‘TrueType font’,
codec_type: ‘attachment’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
r_frame_rate: ‘0/0’,
avg_frame_rate: ‘0/0’,
time_base: ‘1/90000’,
start_pts: ‘0’,
start_time: ‘0.000000’,
duration_ts: ‘131990400’,
duration: ‘1466.560000’,
disposition: ‘[object Object]’,
tags: ‘[object Object]’,
index: ‘6’,
codec_name: ‘ttf’,
codec_long_name: ‘TrueType font’,
codec_type: ‘attachment’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
r_frame_rate: ‘0/0’,
avg_frame_rate: ‘0/0’,
time_base: ‘1/90000’,
start_pts: ‘0’,
start_time: ‘0.000000’,
duration_ts: ‘131990400’,
duration: ‘1466.560000’,
disposition: ‘[object Object]’,
tags: ‘[object Object]’,
index: ‘7’,
codec_name: ‘ttf’,
codec_long_name: ‘TrueType font’,
codec_type: ‘attachment’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
r_frame_rate: ‘0/0’,
avg_frame_rate: ‘0/0’,
time_base: ‘1/90000’,
start_pts: ‘0’,
start_time: ‘0.000000’,
duration_ts: ‘131990400’,
duration: ‘1466.560000’,
disposition: ‘[object Object]’,
tags: ‘[object Object]’,
index: ‘8’,
codec_name: ‘ttf’,
codec_long_name: ‘TrueType font’,
codec_type: ‘attachment’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
r_frame_rate: ‘0/0’,
avg_frame_rate: ‘0/0’,
time_base: ‘1/90000’,
start_pts: ‘0’,
start_time: ‘0.000000’,
duration_ts: ‘131990400’,
duration: ‘1466.560000’,
disposition: ‘[object Object]’,
tags: ‘[object Object]’,
index: ‘9’,
codec_name: ‘ttf’,
codec_long_name: ‘TrueType font’,
codec_type: ‘attachment’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
r_frame_rate: ‘0/0’,
avg_frame_rate: ‘0/0’,
time_base: ‘1/90000’,
start_pts: ‘0’,
start_time: ‘0.000000’,
duration_ts: ‘131990400’,
duration: ‘1466.560000’,
disposition: ‘[object Object]’,
tags: ‘[object Object]’,
index: ‘10’,
codec_name: ‘ttf’,
codec_long_name: ‘TrueType font’,
codec_type: ‘attachment’,
codec_tag_string: ‘[0][0][0][0]’,
codec_tag: ‘0x0000’,
r_frame_rate: ‘0/0’,
avg_frame_rate: ‘0/0’,

And Here’s an other example of today, when Sonarr crashed:

19-12-8 16:50:28.0|Debug|Parser|Parsing string '[AnimePlaza] One Piece - 913 [720p] [HEVC]'
19-12-8 16:50:28.0|Debug|Parser|Episode Parsed. One Piece - 913 
19-12-8 16:50:28.0|Debug|Parser|Language parsed: English
19-12-8 16:50:28.0|Debug|QualityParser|Trying to parse quality for [AnimePlaza] One Piece - 913 [720p] [HEVC]
19-12-8 16:50:28.0|Debug|Parser|Quality parsed: HDTV-720p v1
19-12-8 16:50:28.0|Debug|Parser|Release Group parsed: AnimePlaza
19-12-8 16:50:28.0|Debug|ParsingService|Using absolute episode number 913 for: One Piece - TVDB: 21x22
19-12-8 16:50:28.0|Debug|TrackedDownloadService|Tracking 'NZBGet:[AnimePlaza] One Piece - 913 [720p] [HEVC]': ClientState=Completed SonarrStage=Downloading Episode='One Piece - 913 HDTV-720p v1' OutputPath=/share/Download/nzbget/dst/Serien/[AnimePlaza] One Piece - 913 [720p] [HEVC].
19-12-8 16:50:28.0|Debug|Parser|Parsing string '[AnimePlaza] One Piece - 913 [720p] [HEVC]'
19-12-8 16:50:28.0|Debug|Parser|Episode Parsed. One Piece - 913 
19-12-8 16:50:28.0|Debug|Parser|Language parsed: English
19-12-8 16:50:28.0|Debug|QualityParser|Trying to parse quality for [AnimePlaza] One Piece - 913 [720p] [HEVC]
19-12-8 16:50:28.0|Debug|Parser|Quality parsed: HDTV-720p v1
19-12-8 16:50:28.0|Debug|Parser|Release Group parsed: AnimePlaza
19-12-8 16:50:28.0|Debug|Parser|Parsing string '[AnimePlaza] One Piece - 913 [720p] [HEVC]'
19-12-8 16:50:28.0|Debug|Parser|Episode Parsed. One Piece - 913 
19-12-8 16:50:28.0|Debug|Parser|Language parsed: English
19-12-8 16:50:28.0|Debug|QualityParser|Trying to parse quality for [AnimePlaza] One Piece - 913 [720p] [HEVC]
19-12-8 16:50:28.0|Debug|Parser|Quality parsed: HDTV-720p v1
19-12-8 16:50:28.0|Debug|Parser|Release Group parsed: AnimePlaza
19-12-8 16:50:28.0|Debug|DiskScanService|Scanning '/share/Download/nzbget/dst/Serien/[AnimePlaza] One Piece - 913 [720p] [HEVC]' for video files
19-12-8 16:50:28.0|Debug|DiskScanService|1 video files were found in /share/Download/nzbget/dst/Serien/[AnimePlaza] One Piece - 913 [720p] [HEVC]
19-12-8 16:50:28.3|Debug|ImportDecisionMaker|Analyzing 1/1 files.
19-12-8 16:50:28.3|Debug|Parser|Parsing string '[AnimePlaza] One Piece - 913 [720p] [HEVC]'
19-12-8 16:50:28.3|Debug|Parser|Episode Parsed. One Piece - 913 
19-12-8 16:50:28.3|Debug|Parser|Language parsed: English
19-12-8 16:50:28.3|Debug|QualityParser|Trying to parse quality for [AnimePlaza] One Piece - 913 [720p] [HEVC]
19-12-8 16:50:28.3|Debug|Parser|Quality parsed: HDTV-720p v1
19-12-8 16:50:28.3|Debug|Parser|Release Group parsed: AnimePlaza
19-12-8 16:50:28.3|Debug|VideoFileInfoReader|Getting media info from /share/Download/nzbget/dst/Serien/[AnimePlaza] One Piece - 913 [720p] [HEVC]/[AnimePlaza] One Piece - 913 [720p] [HEVC].mkv
19-12-8 16:50:28.3|Debug|DetectSample|Runtime is over 90 seconds
19-12-8 16:50:28.3|Debug|Parser|Parsing string '[AnimePlaza] One Piece - 913 [720p] [HEVC].mkv'
19-12-8 16:50:28.3|Debug|Parser|Episode Parsed. One Piece - 913 
19-12-8 16:50:28.3|Debug|Parser|Language parsed: English
19-12-8 16:50:28.3|Debug|QualityParser|Trying to parse quality for [AnimePlaza] One Piece - 913 [720p] [HEVC].mkv
19-12-8 16:50:28.3|Debug|Parser|Quality parsed: HDTV-720p v1
19-12-8 16:50:28.3|Debug|Parser|Release Group parsed: AnimePlaza
19-12-8 16:50:28.3|Debug|VideoFileInfoReader|Getting media info from /share/Download/nzbget/dst/Serien/[AnimePlaza] One Piece - 913 [720p] [HEVC]/[AnimePlaza] One Piece - 913 [720p] [HEVC].mkv

Check which version of libmediainfo is installed. You’re probably going to need to update it as there is likely something in the files that triggers the crash of mono.

Capturing the standard output and error of the mono process to a file (not Sonarr’s log file) may yield more information as Sonarr’s log files aren’t written if mono crashes.

You was right. Thank you very much!
I run now Sonarr in a container (more easy than update mediainfo on the QNAP OS) and those problems are gone.

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