Comskip in Linux container is crashing in 2025.08.19.2102

I'm seeing a rare crash when detecting commercials for American Ninja Warrior recorded from a broadcast channel using an HD Homerun & antenna. The only thing in the logs is:

2025/08/19 20:54:09.805545 [DVR] Running commercial detection on file 14063 (TV/American Ninja Warrior/American Ninja Warrior S17E12 Finals 3 2025-08-18-1959.mpg)
2025/08/19 20:54:10.078855 [DVR] Commercial detection failed for American Ninja Warrior S17E12 Finals 3 2025-08-18-1959.mpg: exit status 11: Comskip 0.82.011, made using ffmpeg
Donator build
Received signal 11 (Segmentation fault)

It doesn't seem to produce any comskip logs when it fails like this.

Running commercial detection on other shows from various sources works fine, it only seems to crash on this show. The show plays just fine in Channels on my Apple TV. I've submitted diagnostics under 0dd1a2f5-3e41-4d1a-9993-04a38d41c660. You mentioned changes to comskip in a beta from yesterday, so I'm reporting the failure. I'm running Channels DVR on my Synology DS1821+ in a container.

[TVOS/IOS] v2025.08.18.1309 • IMPROVED: more commercial skipping changes. Please report any changed behavior to Community.

1 Like

I think this is happening to me too on Synology. These were also recordings from my HDHomerun and are both MPEG2/1080i.

2025/08/20 00:21:17.878559 [DVR] Running commercial detection on file 11469 (TV/2025 Cincinnati Open Tennis/2025 Cincinnati Open Tennis ATP Singles Final 2025-08-18-1445.mpg)
2025/08/20 00:21:17.901625 [DVR] Commercial detection failed for 2025 Cincinnati Open Tennis ATP Singles Final 2025-08-18-1445.mpg: exit status 11: Comskip 0.82.011, made using ffmpeg
Donator build
Received signal 11 (Segmentation fault)
2025/08/20 00:21:35.938893 [DVR] Running commercial detection on file 11474 (TV/MLB Baseball/MLB Baseball Seattle Mariners at Phila 2025-08-19-1829.mpg)
2025/08/20 00:21:36.007338 [DVR] Commercial detection failed for MLB Baseball Seattle Mariners at Phila 2025-08-19-1829.mpg: exit status 11: Comskip 0.82.011, made using ffmpeg
Donator build
Received signal 11 (Segmentation fault)
2 Likes

Comskip seems to be working as expected on this HDHomerun MPEG2/720p channel though

2025/08/20 00:27:54.948604 [DVR] Starting job 1755664074-ch86 MLB Baseball on ch=[86]
2025/08/20 00:27:54.948672 [DVR] Waiting 12h31m35s until next job 1755709170-22 MLB Baseball
2025/08/20 00:27:54.964961 [HTTP] | 200 |     95.2581ms |     192.168.1.2 | GET      "/dvr/groups?all=true"
2025/08/20 00:27:55.415987 [TNR] Opened connection to M3U-HDHRPrime for ch86 MLBN
2025/08/20 00:27:55.416372 [DVR] Recording for job 1755664074-ch86 from M3U-HDHRPrime ch86 into "TV/MLB Baseball/MLB Baseball Regional Coverage 2025-08-20-0027.mpg" for 3m5.051261572s

...

2025/08/20 00:28:19.682753 [SNR] Buffer statistics for "TV/MLB Baseball/MLB Baseball Regional Coverage 2025-08-20-0027.mpg": buf=0%-3% drop=0%
2025/08/20 00:28:19.684408 [TNR] Closed connection to M3U-HDHRPrime for ch86 MLBN
2025/08/20 00:28:19.684516 [DVR] Job cancelled: 1755664074-ch86 MLB Baseball
2025/08/20 00:28:20.072540 [HTTP] | 200 |     596.194µs |     192.168.1.2 | GET      "/dvr/files/11478"
2025/08/20 00:28:20.407556 [DVR] Waiting 12h31m10s until next job 1755709170-22 MLB Baseball
2025/08/20 00:28:20.649855 [DVR] Processing file-11478: TV/MLB Baseball/MLB Baseball Regional Coverage 2025-08-20-0027.mpg
2025/08/20 00:28:20.729950 [HTTP] | 200 |     7.19028ms |     192.168.1.2 | GET      "/log"
2025/08/20 00:28:20.786484 [HTTP] | 200 |    7.137489ms |     192.168.1.2 | GET      "/log"
2025/08/20 00:28:20.975590 [HTTP] | 200 |     548.204µs |     192.168.1.2 | GET      "/dvr/files/11478"
2025/08/20 00:28:21.568524 [HTTP] | 200 |    1.014809ms |     192.168.1.2 | GET      "/dvr/files/11478"
2025/08/20 00:28:22.026450 [HTTP] | 200 |     336.473µs |     192.168.1.2 | GET      "/dvr/files/11478"
2025/08/20 00:28:22.665116 [DVR] Running commercial detection on file 11478 (TV/MLB Baseball/MLB Baseball Regional Coverage 2025-08-20-0027.mpg)
2025/08/20 00:28:23.833805 [DVR] Commercial detection failed for MLB Baseball Regional Coverage 2025-08-20-0027.mpg: comskip did not detect any commercials

I'm having the same problem with my Synology NAS too.

> 2025/08/19 19:30:56.446115 [DVR] Running commercial detection on file 13065 (TV/The Young and the Restless/The Young and the Restless S52E221 2025-08-19-1230.mpg)
> 2025/08/20 01:58:57.573195 [DVR] Commercial detection failed for The Young and the Restless S52E221 2025-08-19-1230.mpg: Aborted commercial detection after 8 hours
> 2025/08/20 01:58:57.573321 [ERR] Failed to pop queued comskip work: database not open
> 2025/08/20 03:30:56.480488 [DVR] Commercial detection failed for The Young and the Restless S52E221 2025-08-19-1230.mpg: Aborted commercial detection after 8 hours

Getting a slightly different error:

2025/08/20 09:00:00.705157 [DVR] Commercial detection failed for Today S73E283 2025-08-20-0700.mpg: exit status 11: Comskip 0.82.011, made using ffmpeg
Donator build
Received signal 11 (Segmentation fault)

IIRC from previous investigations, failing with an error of 11 relates to the process running out of memory.

This is unrelated. That relates to the client devices, while your issue is with the DVR server itself.

Has anyone had any luck with their Linux/Synology comskip? Like I mentioned earlier my 720p/MPEG2 recordings are successful but it's immediately failing with the 1080i/MPEG2 recordings, something it never had a problem with for years.

Oops, good point. The latest beta seems to be proceeding on the same show.

Looks like latest prerelease solved it for me. Thanks devs!

1 Like