[mythtv-users] Mythweb Status Crashes mythbackend ???

Michael T. Dean mtdean at thirdcontact.com
Sat Mar 22 16:50:45 UTC 2008


On 03/22/2008 09:58 AM, Nicolas Riendeau wrote:
> Per Jørgensen wrote:
>   
>> When using Mythweb, and wanting to see the status of my server - I'll 
>> press the buttom in the menu about Mythstatus - And getting a error and 
>> the backend crashes. No errorlog -. either in syslog or in mythbackend Log.
>> The only error I get is in the top of the Browser windows Saying:
>> *Error* at /home/httpd/html/mythweb/modules/status/handler.php, line 29:
>> file_get_contents(http://172.16.20.10:6544) [function.file-get-contents 
>> <http://myth.pbj-design.dk/function.file-get-contents>]: failed to open 
>> stream: HTTP request failed!
> Which version of MythTV are you running? There used to be a bug that could cause that 
>   before 0.21 was released but this bug was corrected a while ago and you had to set 
> up a miscelleanous status script to cause it (ticket #4381).
>   

In truth, in 0.20-fixes (which didn't support miscellaneous status 
scripts), frequently querying the backend status would segfault the 
backend.  In trunk between 0.20-fixes, many changes were made to the 
backend status page, including replacement of the libsensors support 
(which, itself was causing many backend crashes) with miscellaneous 
status script support, as well as many thread safety fixes.  The 
miscellaneous status script support added a new thread safety issue, 
but--as you mentioned--it was fixed shortly after.  TTBOMK, by the time 
that issue was fixed, all of the backend status causing segfault issues 
had been fixed.

So, in short, if you're not using 0.21-fixes or above, I'd expect 
frequently querying the backend status page to crash your backend.  
Therefore, I'd recommend you use at least version 0.21-fixes.

Mike


More information about the mythtv-users mailing list