[mythtv] Commercial flagging stopped working for me sometime after rev 9287

David Asher david.asher at caviumnetworks.com
Thu Mar 16 18:51:02 UTC 2006


Hmm... Mine segfaulted much quicker than that.  It looks like you'll 
need to get a backtrace.

David.

Daniel A Segel wrote:
> David Asher wrote:
>
>   
>> My commflagging stopped working once when I forgot to make distclean 
>> between updates.  There's some dependency missing in there which can 
>> cause a rebuild of libmythtv and not relink mythcommflag.
>>
>> Could that be your problem?
>>
>> Trying running mythcommflag from the command line (actually have it 
>> commflag something, just getting help wasn't enough).  It was 
>> segfaulting for me.
>>
>> David.
>>
>> Daniel A Segel wrote:
>>  
>>
>>     
>>> Commercial flagging works fine for me with 9287, but with 9300 and 9371 
>>> (and perhaps revisions between those two) it doesn't work. I looked over 
>>> the changes between 9287 and 9300 but didn't see anything obvious that 
>>> might have broken it for me (but I might have missed it.) I get log 
>>> entries like the following from mythbackend:
>>>
>>> 2006-03-15 20:33:56.209 JobQueue: Commercial Flagging Starting for 
>>> MythBusters "Cell Phones on Planes" recorded from channel 1182 at Wed 
>>> Mar 15 18:00:00 2006
>>> 2006-03-15 20:33:56.318 commflag: Commercial Flagging Starting
>>> 2006-03-15 20:33:56.693 Using runtime prefix = /usr/local
>>> 2006-03-15 20:33:56.775 New DB connection, total: 1
>>> 2006-03-15 20:33:56.802 Connected to database 'mythconverg' at host: 
>>> localhost
>>> 2006-03-15 20:33:56.823 New DB connection, total: 2
>>> 2006-03-15 20:33:56.826 Connected to database 'mythconverg' at host: 
>>> localhost
>>> 2006-03-15 20:33:56.857 Connecting to backend server: 192.168.1.2:6543 
>>> (try 1 of 5)
>>> 2006-03-15 20:33:56.962 Using protocol version 27
>>> 2006-03-15 20:33:56.973 MainServer::HandleAnnounce Monitor
>>> 2006-03-15 20:33:56.984 adding: mythtv as a client (events: 0)
>>> [mpeg @ 0xb74d2378]Parser not found for Codec Id: 94210 !
>>> 0: start_time: 0.036 duration: 323.660
>>> 1: start_time: 2445.322 duration: 323.718
>>> 2: start_time: 0.026 duration: 323.644
>>> stream: start_time: 0.289 duration: 30766.816 bitrate=587 kb/s
>>> 2006-03-15 20:33:57.317 AFD: Opened codec 0x81195c0, id(MPEG2VIDEO) 
>>> type(Video)
>>> 2006-03-15 20:33:57.357 AFD: Opened codec 0x8119df0, id(MP2) type(Audio)
>>> 2006-03-15 20:33:58.033 MainServer::HandleAnnounce Monitor
>>> 2006-03-15 20:33:58.126 adding: mythtv as a client (events: 1)
>>> 2006-03-15 20:33:58.477 commflag: Commercial Flagging Finished
>>> 2006-03-15 20:33:58.610 JobQueue: Commercial Flagging Finished, 0 
>>> break(s) found.
>>>
>>> Could this be a database problem? I haven't seen anybody else 
>>> complaining about this, so I'm thinking it's something wrong with my 
>>> system. Is there anything else I could provide to help figure this out? 
>>> I've already done a make distclean and re-checked out the source to make 
>>> sure there was nothing wrong there.
>>>
>>> Thanks,
>>>
>>> Daniel
>>>
>>>    
>>>
>>>       
> Well, it turns out it *was/is* segfaulting. I found an old version of 
> mythcommflag hanging out in my path, but even after I removed it, did a 
> 'make distclean' and recompiled and installed it, I'm still getting a 
> Segmentation Fault after a few seconds. Here's the last output (from 
> verbose all):
>
> 2006-03-16 10:34:56.485 MSqlQuery: SELECT data FROM settings WHERE 
> value  = 'DefaultCCMode' AND hostname = 'mythtv' ;
> 2006-03-16 10:34:56.486 MSqlQuery: UPDATE jobqueue SET status = 4, 
> comment = 'Searching for Logo' WHERE id = 1235;
> Finding Logo2006-03-16 10:34:56.487 Searching for Station Logo
> 2006-03-16 10:34:56.487 Trying with edgeDiff == 5
> 2006-03-16 10:34:56.524 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.536 AFD: DoFastForward(58 (1), do discard frames)
> 2006-03-16 10:34:56.537 Dec: DoFastForward(58 (1), do discard frames)
> 2006-03-16 10:34:56.537 AFD: SeekReset(45, 13, do flush, do discard)
> 2006-03-16 10:34:56.537 AFD: SeekReset() flushing
> 2006-03-16 10:34:56.537 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> 2006-03-16 10:34:56.537 VideoBuffers::DiscardFrames(): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
> 2006-03-16 10:34:56.538 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
> 2006-03-16 10:34:56.644 AFD: HandleGopStart: gopset not set, syncing 
> positionMap
> 2006-03-16 10:34:56.644 Resyncing position map. posmapStarted = 1 
> livetv(0) watchingRec(0)
> 2006-03-16 10:34:56.644 AFD: HandleGopStart: Initial key frame distance: 15.
> 2006-03-16 10:34:56.649 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.649 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.654 MSqlQuery: SELECT cmds FROM jobqueue WHERE id = 
> 1235;
> 2006-03-16 10:34:56.659 AFD: DoFastForward(117 (59), do discard frames)
> 2006-03-16 10:34:56.660 Dec: DoFastForward(117 (59), do discard frames)
> 2006-03-16 10:34:56.660 AFD: SeekReset(105, 12, do flush, do discard)
> 2006-03-16 10:34:56.660 AFD: SeekReset() flushing
> 2006-03-16 10:34:56.660 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> 2006-03-16 10:34:56.660 VideoBuffers::DiscardFrames(): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
> 2006-03-16 10:34:56.661 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
> 2006-03-16 10:34:56.722 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.722 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.723 AFD: HandleGopStart: gopset not set, syncing 
> positionMap
> 2006-03-16 10:34:56.723 Resyncing position map. posmapStarted = 1 
> livetv(0) watchingRec(0)
> 2006-03-16 10:34:56.723 AFD: HandleGopStart: Initial key frame distance: 15.
> 2006-03-16 10:34:56.732 AFD: DoFastForward(176 (118), do discard frames)
> 2006-03-16 10:34:56.733 Dec: DoFastForward(176 (118), do discard frames)
> 2006-03-16 10:34:56.733 AFD: SeekReset(165, 11, do flush, do discard)
> 2006-03-16 10:34:56.733 AFD: SeekReset() flushing
> 2006-03-16 10:34:56.733 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> 2006-03-16 10:34:56.733 VideoBuffers::DiscardFrames(): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
> 2006-03-16 10:34:56.734 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
> 2006-03-16 10:34:56.780 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.781 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.781 Unknown XDS Packet : 15 22
> 2006-03-16 10:34:56.790 AFD: DoFastForward(235 (177), do discard frames)
> 2006-03-16 10:34:56.790 Dec: DoFastForward(235 (177), do discard frames)
> 2006-03-16 10:34:56.790 AFD: SeekReset(225, 10, do flush, do discard)
> 2006-03-16 10:34:56.790 AFD: SeekReset() flushing
> 2006-03-16 10:34:56.791 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> 2006-03-16 10:34:56.793 VideoBuffers::DiscardFrames(): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
> 2006-03-16 10:34:56.793 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
> 2006-03-16 10:34:56.863 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.864 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.876 AFD: DoFastForward(294 (236), do discard frames)
> 2006-03-16 10:34:56.876 Dec: DoFastForward(294 (236), do discard frames)
> 2006-03-16 10:34:56.876 AFD: SeekReset(285, 9, do flush, do discard)
> 2006-03-16 10:34:56.877 AFD: SeekReset() flushing
> 2006-03-16 10:34:56.877 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> 2006-03-16 10:34:56.877 VideoBuffers::DiscardFrames(): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
> 2006-03-16 10:34:56.877 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
> 2006-03-16 10:34:56.932 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.933 NVP: ClearAfterSeek()
> 2006-03-16 10:34:56.944 AFD: DoFastForward(353 (295), do discard frames)
> 2006-03-16 10:34:56.944 Dec: DoFastForward(353 (295), do discard frames)
> 2006-03-16 10:34:56.944 AFD: SeekReset(345, 8, do flush, do discard)
> 2006-03-16 10:34:56.944 AFD: SeekReset() flushing
> 2006-03-16 10:34:56.944 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
> 2006-03-16 10:34:56.945 VideoBuffers::DiscardFrames(): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
> 2006-03-16 10:34:56.945 VideoBuffers::DiscardFrames(1): 
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
> Segmentation fault
>
> Any ideas on what I should look at next?
>
> Daniel
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>   


More information about the mythtv-dev mailing list