Opened 7 years ago

Last modified 7 years ago

#11139 new Bug Report - Hang/Deadlock

Mythtranscode hangs from userjob / errors from cli

Reported by: celpa.firl@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - Mythtranscode Version: 0.25.2
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Some shows cause the mythtranscode process to error out / hang indefinetly.

FreeBSD mythJail 8.2-RELEASE-p6 FreeBSD 8.2-RELEASE-p6 #0: Wed Apr 25 15:39:52 UTC 2012 mythtranscode version: [v0.25.2] www.mythtv.org Built from ports.

The script that fails is the following:

mythcommflag -f $VIDEODIR/$FILENAME mythutil --gencutlist --chanid $CHANID --starttime $STARTTIME -f $VIDEODIR/$FILENAME mythtranscode --verbose all --nodblog --loglevel debug --logpath /tmp -p def --honorcutlist --showprogress -i $VIDEODIR/$FILENAME -o $VIDEODIR/$FILENAME.tmp

I added --nodblog, and verbose logging to try to help, but no avail.

The purpose of this script is to remove the commercials in the file itself. This used to work in .24 ( didn't use mythutil to generate cutlist )

On some recordings, this process will hang, and stay hung ( mythtranscode ) for days.

I am forced to do a kill -s 9 to stop the process.

I can replicate the issue on a specific file, so if you want me to run any commands I can.

The logs attached are the error if I run the hung process commands manually on the command line.

/usr/local/bin/mythtranscode --nodblog --verbose all --passthrough --mpeg2 --loglevel debug --honorcutlist --showprogress -i /mnt/mythStorage/defaultstorage/1051_20121001210000.mpg -o /mnt/mythStorage/defaultstorage/1051_20121001210000.mpg.tmp --showprogress --logpath ./

[New Thread 80a20aac0 (LWP 100280)]
2012-10-02 22:03:51.768886 E Skipping unsupported codec 2 on stream 2
2012-10-02 22:07:00.856711 E expectedPTS != expectedDTS + ptsIncrement
2012-10-02 22:07:00.856730 E 00:30:48.644 != 00:30:48.594 + 00:00:00.033
2012-10-02 22:07:00.856738 E 49913406000 != 49912054650 + 3003
2012-10-02 22:07:00.920848 E Transcoding
/mnt/mythStorage/defaultstorage/1051_20121001210000.mpg failed
[Thread 80a2951c0 (LWP 100093) exited]

Attachments (2)

mythtranscode.20121002215952.83782.log.gz (574.7 KB) - added by celpa.firl@… 7 years ago.
verbose log
removecommercials (2.7 KB) - added by celpa.firl@… 7 years ago.
the userjob that removes the commercials

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by celpa.firl@…

verbose log

Changed 7 years ago by celpa.firl@…

Attachment: removecommercials added

the userjob that removes the commercials

comment:1 Changed 7 years ago by celpa.firl@…

just going to downgrade back to .24 until this and other issues get fixed for freebsd

Note: See TracTickets for help on using tickets.