﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
12879	Transcoding failed for <filename> with error 139	Rick Steeves <mythtv.org@…>	JYA	"I am attempting to use the removecommercials script on the backend, and it fails part way through, without completing: 
mythtranscode --honorcutlist --showprogress --chanid $CHANID --starttime $STARTTIME -o $VIDEODIR/$FILENAME.tmp

Actual command: mythtranscode --honorcutlist --showprogress --chanid 2501 --starttime 20151021103000 -o /data/mythtv/2501_20151021063000.mpg.tmp


The file gets created and the process works for a while, but fails: 
-rw-r--r-- 1 root   root   3335990440 Sep 13 11:04 /data/mythtv/2501_20151021063000.mpg
-rw-r--r-- 1 root   root     81690762 Sep 15 20:33 /data/mythtv/2501_20151021063000.mpg.tmp

From the script:
./removecommercials2 /data/mythtv 2501_20151021063000.mpg 2501 20151021103000

Transcoding ...
2016-09-15 20:33:22.531859 C  mythtranscode version: fixes/0.28 [v28.0-35-g812ec08] www.mythtv.org
2016-09-15 20:33:22.531941 C  Qt version: compile: 5.6.1, runtime: 5.6.1
2016-09-15 20:33:22.793613 E  RecBase[NULL](): SetOption(): Unknown int option: videocodec: 0
2016-09-15 20:33:22.974437 E  MythSystemEventHandler: SendMythSystemRecEvent() called with empty RecordingInfo
*** Error in `mythtranscode': double free or corruption (out): 0x00007fe3609992f0 ***

Run directly: 
mythtranscode --honorcutlist --showprogress --chanid 2501 --starttime 20151021103000 -o /data/mythtv/2501_20151021063000.mpg.tmp
2016-09-15 21:29:52.392124 C  mythtranscode version: fixes/0.28 [v28.0-35-g812ec08] www.mythtv.org
2016-09-15 21:29:52.392207 C  Qt version: compile: 5.6.1, runtime: 5.6.1
2016-09-15 21:29:53.716723 E  RecBase[NULL](): SetOption(): Unknown int option: videocodec: 0
2016-09-15 21:29:53.884963 E  MythSystemEventHandler: SendMythSystemRecEvent() called with empty RecordingInfo
Segmentation fault (core dumped)

I am running CentOS7. The system has 2 GB of RAM."	Bug Report - Crash	closed	minor	unknown	MythTV - Mythtranscode	0.28.0	medium	Abandoned			0
