[mythtv] Ticket #10724: lossless transcode "'Unrecoverable error"

Steven Adeff adeffs.mythtv at gmail.com
Mon May 14 19:05:11 UTC 2012


On Mon, May 14, 2012 at 2:13 PM, Michael T. Dean
<mtdean at thirdcontact.com> wrote:
> On 05/14/2012 01:48 PM, Steven Adeff wrote:
>>
>> On Mon, May 14, 2012 at 1:38 PM,<noreply at mythtv.org>  wrote:
>>>
>>> #10724: lossless transcode "'Unrecoverable error"
>>>
>>> --------------------------------------------+------------------------------
>>>  Reporter:  Steven Adeff<adeffs.mythtv@…>    |          Owner:
>>>     Type:  Bug Report - General            |         Status:
>>>  Priority:  minor                           |  infoneeded_new
>>> Component:  MythTV - Mythtranscode          |      Milestone:  unknown
>>>  Severity:  medium                          |        Version:  0.25-fixes
>>>  Keywords:                                  |     Resolution:
>>>                                            |  Ticket locked:  0
>>>
>>> --------------------------------------------+------------------------------
>>> Changes (by beirdo):
>>>
>>>  * status:  new =>  infoneeded_new
>>>
>>>
>>> Comment:
>>>
>>>  Where's the backtrace?  That gdb.txt file has just the headers from gdb
>>>  starting up.  Also, what exact version?
>>
>> odd, I ran mythtranscode through gdb, which I was under the impression
>> from the wiki would then collect the data for the application as it
>> ran?
>> perhaps it's not "crashing" out, and just exiting cleanly? is there a
>> way to collect the data of why it's error'ing?
>
>
> You'll want to set a breakpoint at the place where it's issuing the
> "Unrecoverable error" message.
>
> http://sourceware.org/gdb/current/onlinedocs/gdb/Set-Breaks.html#Set-Breaks
>
> easiest way is to add:
>
> break mythfrontend/main.cpp:123
>
> to your gdbcommands.txt file (right after the "break qFatal" line would be a
> good place).  You can get the actual file name and line number of the log
> message directly from the log output.  Note that the filename (when
> specified as a "relative" file name, as above) will match any file with the
> same trailing components--so, I didn't need to say
> "programs/mythfrontend/main.cpp" because "mythfrontend/main.cpp" is unique
> enough, and if I just said, "main.cpp", it would match main.cpp, regardless
> of application I run).

ok, so I look in the log and I see the following:
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mpeg2fix.cpp:954 (ProcessVideo) #1 fl:2PTP1 pos: 1294030862
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mpeg2fix.cpp:954 (ProcessVideo) #2 fl:2PTP1 pos: -1
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mpeg2fix.cpp:954 (ProcessVideo) 1920x1088 P:900900 00:00:00:000 #0
fl:2ITP1 pos: 1294037006
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mpeg2fix.cpp:1844 (InitialPTSFixup) Found frame 2 with missing PTS at
00:12:33.262
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mpeg2fix.cpp:954 (ProcessVideo) #1 fl:2PTP1 pos: 1294080014
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mpeg2fix.cpp:954 (ProcessVideo) 1920x1088 P:900900 18:01:40:021 #0
fl:2IT_0 pos: 1294086158
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mpeg2fix.cpp:2123 (Start) Del map found 0 at 22568 (22568)
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mpeg2fix.cpp:954 (ProcessVideo) 1920x1088 P:900900 00:00:00:000 #0
fl:2ITP1 pos: 1294037006
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mpeg2fix.cpp:954 (ProcessVideo) pos: 1294080014
May 14 15:00:09 mythbackend mythtranscode[20019]: E CoreContext
mpeg2fix.cpp:893 (ProcessVideo) Failed to decode frame.  Position was:
0
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
jobqueue.cpp:974 (ChangeJobStatus) JobQueue: ChangeJobStatus(1702,
Erroring, '')
May 14 15:00:09 mythbackend mythtranscode[20019]: E CoreContext
main.cpp:681 (main) Transcoding
/media/myth/1/tv/8784_20120316165900.mpg failed
May 14 15:00:09 mythbackend mythtranscode[20019]: N CoreContext
main.cpp:775 (WaitToDelete) Transcode: delete old file: waiting while
program is in use.
May 14 15:00:09 mythbackend mythtranscode[20019]: N CoreContext
main.cpp:807 (WaitToDelete) Transcode: program is no longer in use.
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
programinfo.cpp:2271 (GetPlaybackURL)
ProgramInfo(8784_20120316165900.mpg): GetPlaybackURL: File is local:
'/media/myth/1/tv/8784_20120316165900.mpg'
May 14 15:00:09 mythbackend mythtranscode[20019]: N CoreContext
main.cpp:1039 (CompleteJob) Deleting
/media/myth/1/tv/8784_20120316165900.mpg.tmp
May 14 15:00:09 mythbackend mythtranscode[20019]: N CoreContext
main.cpp:706 (transUnlink) Requesting delete for file
'myth://Default@192.168.1.151:6543/8784_20120316165900.mpg.tmp'.
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythcorecontext.cpp:371 (ConnectCommandSocket) MythCoreContext:
Connecting to backend server: 192.168.1.151:6543 (try 1 of 1)
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:826 (connect) MythSocket(82cb970:25): IP is local,
using loopback address instead
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:829 (connect) MythSocket(82cb970:25): attempting
connect() to (127.0.0.1:6543)
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
msocketdevice_unix.cpp:526 (connect) MSocketDevice::connect: setting
Protocol to IPv4
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
msocketdevice_unix.cpp:531 (connect) MSocketDevice::connect:
attempting to create new socket
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:345 (writeStringList) MythSocket(82cb970:25): write ->
25 30      MYTH_PROTO_VERSION 72 D78EFD6F
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:671 (readStringList) MythSocket(82cb970:25): read  <-
25 13      ACCEPT[]:[]72
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythcorecontext.cpp:1178 (CheckProtoVersion) Using protocol version 72
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:345 (writeStringList) MythSocket(82cb970:25): write ->
25 25      ANN Monitor mythbackend 0
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:671 (readStringList) MythSocket(82cb970:25): read  <-
25 2       OK
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:826 (connect) MythSocket(81b0760:27): IP is local,
using loopback address instead
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:829 (connect) MythSocket(81b0760:27): attempting
connect() to (127.0.0.1:6543)
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
msocketdevice_unix.cpp:526 (connect) MSocketDevice::connect: setting
Protocol to IPv4
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
msocketdevice_unix.cpp:531 (connect) MSocketDevice::connect:
attempting to create new socket
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:345 (writeStringList) MythSocket(81b0760:27): write ->
27 25      ANN Monitor mythbackend 1
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:671 (readStringList) MythSocket(81b0760:27): read  <-
27 2       OK
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:345 (writeStringList) MythSocket(82cb970:25): write ->
25 55      DELETE_FILE[]:[]8784_20120316165900.mpg.tmp[]:[]Default
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
mythsocket.cpp:671 (readStringList) MythSocket(82cb970:25): read  <-
25 1       0
May 14 15:00:09 mythbackend mythtranscode[20019]: N CoreContext
main.cpp:712 (transUnlink) Deleting file
'/media/myth/1/tv/8784_20120316165900.mpg.tmp'.
May 14 15:00:09 mythbackend mythtranscode[20019]: I CoreContext
jobqueue.cpp:974 (ChangeJobStatus) JobQueue: ChangeJobStatus(1702,
Errored, 'Unrecoverable error')


so if I'm reading this correctly, I want to use
break mpeg2fix.cpp:893
?

thanks!

-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette


More information about the mythtv-dev mailing list