[mythtv] [mythtv-commits] Ticket #4381: Using a Miscellaneous Status Information (see ticket #4049) makes mythbackend segfault occasionnally...
Nicolas Riendeau
knightr at istop.com
Sat Jan 19 21:21:18 UTC 2008
Hi!
Michael T. Dean wrote:
> 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.
I had not checked but I was pretty sure you would not have written something which
could have locked up the backend... You seem to have contributed multiple times in
the past and I was not expecting somebody who had contributed that much to do
something that could lock up the backend...
>>Sorry for the misunderstanding....
>
> Just using the post as a way of clarifying the changes. Nothing to be
> sorry about. :)
>
Thank you!
BTW, the small problem I mentionned in the ticket is that the output of "sensors" is
localized (at least the one bundled with FC8) so when the locale is different from
en_US.US-ASCII, what gets extracted by awk (in the myth_sensors.sh script) is not
exactly what we would want it to be.
[For example, with a LANG=en_US.UTF-8 or LANG=en_US.ISO-8859-1, there is no longer a
space in the temperatures readings between the units (which now use non us-ascii
characters) and the temperature (number) so what gets extracted contains the units.]
The workaround I used is to add an "export LANG=en_US.US-ASCII" before the call to
sensors so I did not have to find another way to extract the info regardless of locale.
Thank you very much for your help and have a nice day!
Nick
More information about the mythtv-dev
mailing list