[mythtv-users] Backend Watchdog??

dave at theansells.com dave at theansells.com
Tue Jan 23 08:13:06 UTC 2007


> Dave Ansell wrote:
>> ----- Original Message -----
>> From: "Kevin Kuphal" <kuphal at dls.net>
>> To: "Discussion about mythtv" <mythtv-users at mythtv.org>
>> Sent: Monday, January 22, 2007 10:20 PM
>> Subject: Re: [mythtv-users] Backend Watchdog??
>>
>>
>> Dave Ansell wrote:
>>
>>> Hi,
>>>
>>>      I'm a dedicated myth fan for nearly two years now.
>>>
>>>      My backend system has had several incarnations from Fc3 to Fc6 on
>>> two
>>> different hardware platforms.
>>>
>>>     My only issue is that the backend service occasionally dies for no
>>> aparent reason.  This has been the case in every incarnation to date,
>>> whatever I try.   It doesnt happen often, but enought to be annoying
>>> and
>>> reduce WAF etc.
>>>
>>>     I guess this behaviour is to be expected with any developing
>>> software.
>>> However it strikes me that it would be relatively simple to set up an
>>> independant process to monitor the status of the backend and kick it
>>> back
>>> into life automatically if it dies.   (ie what I do now manually!)
>>>
>>>     I fully accept that the answer to how to do this may be trivial,
>>> but I
>>> am light on linux skills so if someone could help me out I would be
>>> very
>>> gratefull!
>>>
>>>
>> Many will chime in with scripts but one thing to keep in mind is that
>> this is your opportunity to contribute to the development.  Compile your
>> setup with debugging symbols per the documentation on mythtv.org and
>> capture a backtrace of this crash and you may be able to identify a bug
>> that can be fixed so you never have to watchdog
>>
>> Kevin
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>>
>>
>> Kevin
>>      Sure (see below).    But that doesnt protect me when mythbackend
>> fails
>> to record my wife's favorite show ;-)
>>
>> cheers,
>> Dave
>>
>>
>> *** glibc detected *** /usr/bin/mythbackend: malloc(): memory corruption
>> (fast): 0x0000000000963e3f ***
>> ======= Backtrace: =========
>> /lib64/libc.so.6[0x3a5366f624]
>> /lib64/libc.so.6(__libc_malloc+0x7d)[0x3a5367086d]
>> /usr/lib64/libstdc++.so.6(_Znwm+0x1d)[0x3a556bd12d]
>> /usr/lib64/qt-3.3/lib/libqt-mt.so.3(_ZN7QGArray7newDataEv+0xe)[0x3a5a0143ce]
>> /usr/lib64/qt-3.3/lib/libqt-mt.so.3(_ZN7QGArrayC2Ev+0x17)[0x3a5a0146b7]
>> /usr/lib64/qt-3.3/lib/libqt-mt.so.3(_ZN7QRegExpC1ERK7QStringbb+0xd6)[0x3a5a0315d6]
>> /usr/lib64/libmythupnp-0.20.so.0(_ZN11HTTPRequest18ProcessRequestLineERK7QString+0x46)[0x3483815aa6]
>> /usr/lib64/libmythupnp-0.20.so.0(_ZN11HTTPRequest12ParseRequestEv+0x1d1)[0x34838175f1]
>> /usr/lib64/libmythupnp-0.20.so.0(_ZN16HttpWorkerThread11ProcessWorkEv+0x322)[0x348382e432]
>> /usr/lib64/libmythupnp-0.20.so.0(_ZN12WorkerThread3runEv+0x77)[0x348382bfa7]
>> /usr/lib64/qt-3.3/lib/libqt-mt.so.3(_ZN15QThreadInstance5startEPv+0x45)[0x3a59cf92c5]
>> /lib64/libpthread.so.0[0x3a54206305]
>> /lib64/libc.so.6(clone+0x6d)[0x3a536cd50d]
>>
> <snip>  I'm no expert in reading these, but do you have an Xbox 360?
>
> Kevin
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


Kevin,

     Nope.  I have a PC (celeron) frontend and a Hauppaugge MVP

cheers,
Dave



More information about the mythtv-users mailing list