[mythtv] [mythtv-commits] Ticket #4381: Using a Miscellaneous Status Information (see ticket #4049) makes mythbackend segfault occasionnally...

Michael T. Dean mtdean at thirdcontact.com
Wed Jan 16 02:00:35 UTC 2008


On 01/14/2008 07:37 AM, Nicolas Riendeau wrote:
> Michael T. Dean wrote:
>> On 01/13/2008 09:23 PM, MythTV wrote:
>>> #4381: Using a Miscellaneous Status Information (see ticket #4049) makes
>>> mythbackend segfault occasionnally...
>> ...
>>> It would be nice to eventually give back to mythbackend control over
>>> misbehaving programs (in the form of a timeout) but as far as I am
>>> concerned this fix gets the job done.
>> Since the HTTP request is being processed in its own thread, if the 
>> miscellaneous status script takes a long time to execute, it's only that 
>> one thread that will wait.  So, basically the only difference is that 
>> the request for the backend status will wait for the information.  In 
>> other words, the lack of a timeout simply affects when the status page 
>> is returned--it has no other effects on mythbackend.
> The intent of my comment was more to suggest putting it as a "TODO" of the QT4 
> transition...
>   

I didn't really think you were suggesting I should write the code, but
decided for anyone else reading the ticket, it may sound like the
miscellaneous status script could lock up mythbackend, so I wanted to
clarify what's happening and how it differs from the previous
implementation.

> Unless I misunderstood what you said in the ticket it was my understanding that the 
> code has it was originally written would have worked without problems on QT4, what 
> was causing problem is the implementation of QProcess in QT3.
>   

Yeah.  Pretty much.

> Until then the current solution should, as far as I am concerned, be used...
>
> Sorry for the misunderstanding....

Just using the post as a way of clarifying the changes.  Nothing to be
sorry about.  :)

Mike



More information about the mythtv-dev mailing list