[mythtv-users] What is commflag "exit status 140"?

Michael Watson michael at thewatsonfamily.id.au
Sun Sep 9 21:34:17 UTC 2012


On 10/09/2012 5:37 AM, Gavin Whitehead wrote:
> On 06/09/2012 21:47, Phil Bridges wrote:
>> Since upgrading to .25-fixes, my slave backend has decided to error on
>> commercial detection.  If I look at my backend log, I see:
>>
>> 2012-09-06 16:32:26.352429 I [6825/10080] Commflag_6848
>> jobqueue.cpp:2276 (DoFlagCommercialsThread) - JobQueue: Commercial
>> Detection Starting for "Blah" recorded from channel 1051 at
>> 2012-09-06T16:00:00
>> 2012-09-06 16:32:26.450483 E [6825/10080] Commflag_6848
>> jobqueue.cpp:2362 (DoFlagCommercialsThread) - JobQueue: Commercial
>> Detection Errored: "Blah" recorded from channel 1051 at
>> 2012-09-06T16:00:00 (Failed with exit status 140)
>>
>> Restarting the backend will fix the problem - for a while.  What is
>> "exit status 140", and how do I fix it?
>>
>> I've also noticed that when this happens, the backend stops generating
>> the preview image for MythWeb:
>>
>> 2012-09-06 16:37:00.095873 E [6825/10083] HttpServer50
>> previewgenerator.cpp:254 (Run) - Preview: Encountered problems running
>> '/usr/bin/mythpreviewgen --size 100x56 --chanid 1301 --starttime
>> 20120906060000 --outfile
>> "/mnt/video2/recordings/1301_20120906060000.mpg.-1.100x56.png"
>> --verbose general --logpath /var/log/mythtv --loglevel info --quiet'
>> (140)
>>
>> If I run the command manually, I don't get the error, and the preview
>> works fine.
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
> I get this frequently as well, mainly for "Walker, Texas Ranger" 
> recorded on CSB (from UK FreeSat).  But I get the error when I run 
> mythcommflag from the command line as well.
>
> /data/data2/mythSG2/recordings$ mythcommflag -f 53007_20120907230000.mpg
> 2012-09-09 20:34:04.047506 C  mythcommflag version: fixes/0.25 
> [v0.25.2-16-gd519276] www.mythtv.org
> 2012-09-09 20:34:04.047528 C  Qt version: compile: 4.8.1, runtime: 4.8.1
> MythTV Commercial Flagger, flagging commercials for:
>     Walker, Texas Ranger
> Finding Logo2012-09-09 20:34:12.880890 E  AFD: Unknown audio decoding 
> error
> 2012-09-09 20:34:16.978297 E  AFD: Unknown audio decoding error
> 2012-09-09 20:34:21.070522 E  AFD: Unknown audio decoding error
> 2012-09-09 20:34:25.160840 E  AFD: Unknown audio decoding error
> 2012-09-09 20:34:29.215187 E  AFD: Unknown audio decoding error
> 2012-09-09 20:34:33.332276 E  AFD: Unknown audio decoding error
> 2012-09-09 20:34:41.484593 E  AFD: Unknown audio decoding error 
> 2012-09-09 20:35:58.109429 E  AFD: Unknown audio decoding error
> 2012-09-09 20:35:58.109637 E  decoding error
>                         eno: Input/output error (5)
> 1
>
> And if I check 'dmesg' i see:
>
>  mythcommflag[19265]: segfault at a2d8031 ip b6562d3c sp aaa9a9e0 
> error 4 in libmythavcodec.so.52.113.1[b6338000+54c000]
>
I see this a lot, the odd thing is, that if you rerun commflag again, it 
may run without a problem.  I see it often enought, that I run a script 
that reruns any failed jobs, and eventually they all run fine (some take 
3 and 4 goes before they run properly)




More information about the mythtv-users mailing list