[mythtv-users] length mismatch between programinfo

Curtis Porter curtis.porter at gmail.com
Mon Jul 5 22:36:29 UTC 2010


On 07/04/2010 10:54 PM, Michael T. Dean wrote:
>  On 07/04/2010 11:01 AM, Curtis Porter wrote:
>> On 07/04/2010 06:36 AM, Michael T. Dean wrote:
>>>>   I built a debug 0.23-fixes frontend and can see that the message 
>>>> is coming from mythtv/libs/libmyth/remoteutil.cpp line 205:
>>>>     if (numrecordings * NUMPROGRAMLINES + 1 > (int)strList.size())
>>>>     {
>>>>         cerr << "length mismatch between programinfo\n";
>>>>         return 0;
>>>>     }
>>>>
>>>> numrecordings is 51, NUMPROGRAMLINES is 47, and strList.size() is 
>>>> 56, so obviously the backend isn't sending over a complete 
>>>> recording list.
>>>
>>> That also means that the frontend is receiving 1 complete record and 
>>> one partial record.  The bug in Qt will result in sending some 
>>> number of complete records less than the total number of 
>>> records--but all records are complete.  Therefore, it seems 
>>> something else is happening here.  It sounds more like an issue with 
>>> socket handling that causes the connection between the frontend and 
>>> backend to fail.  I would also guess that the bookmark changes are a 
>>> placebo, and that--in fact--just restarting the frontend (and 
>>> letting it reconnect to the backend) is what's making a difference.

So I finally got this working today.  It turned out to be caused by some 
corrupt records in the "recorded" table from the day I put it together.  
I'm not sure how they got there, but it's cleared up now.

Thanks Mike and Rob for the suggestions,
Curtis


More information about the mythtv-users mailing list