[mythtv-users] Failed with exit status 140

Karl Newman newmank1 at asme.org
Mon Apr 15 17:44:06 UTC 2013


On Mon, Apr 15, 2013 at 10:22 AM, Rich West <Rich.West at wesmo.com> wrote:

> Since upgrading to 0.26 and getting the system stabilized, all of my
> commercial flagging jobs are failing with "Failed with exit status
> 140".  I've done some googling which suggests that something is killing
> off the commflag process, but I cannot find any evidence of that.
>
> The system is a brand new install of Fedora 17 with a 0.26 db upgrade
> over the years.  It has plenty of memory and disk space. Because
> everything is being encoded by external boards (hdhomerun, pvr150's),
> the CPU is rather bored, too.  The DB tables are all good (nothing
> needing to be repaired).
>
> In looking at the logs:
>
> 1. a majority of the mythcommflag*.log files stop at "Finding Logo" with
> no further information.
>
> 2. he remaining ones (only 14 so far), go as far as "CoreContext
> ClassicCommDetector.cpp:536 (go) - 90% Completed @ 52.179 fps." and then
> generate:
> Decoder avformatdecoder.cpp:4341 (ProcessAudioPacket) - AFD: Unknown
> audio decoding error
> Decoder avformatdecoder.cpp:4556 (GetFrame) - decoding error
>             eno: Unknown error 541478725 (541478725)
> CoreContext main.cpp:941 (FlagCommercials) - Finished, 2 break(s) found.
>
> And the web interface lists all of the jobs with the 140 error..
>
> Any ideas as to where to start digging for this one?
>
> Thanks!
> -Rich
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

I think there are some ffmpeg bugs that are causing the majority of
problems with commflagging in 0.25+. Additionally, there is a race
condition which causes the commflagging job to abort when it hits
end-of-file while operating on a recording in progress. The workaround for
this is to change the setting which prevents commflagging jobs from running
until the recording is finished. For me, commercial flagging was
near-perfect in 0.24, but is quite broken since then. I'm lucky if it finds
one commercial break per show now.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130415/1e54311a/attachment.html>


More information about the mythtv-users mailing list