[mythtv] [mythtv-commits] Ticket #2438: Infinite loop in mythbackend
Sam Varshavchik
mrsam at courier-mta.com
Tue Oct 3 11:02:15 UTC 2006
Steven Adeff writes:
> On 10/2/06, Sam Varshavchik <mrsam at courier-mta.com> wrote:
>> Steven Adeff writes:
>> > On 10/2/06, Chris Pinkham <cpinkham at bc2va.org> wrote:
>> >> * On Mon Oct 02, 2006 at 06:04:48PM -0400, Steven Adeff wrote:
>> >> > On 9/29/06, MythTV <mythtv at cvs.mythtv.org> wrote:
>> >> > > #2438: Infinite loop in mythbackend
>> >>
>> >> > I'm seeing this in 0-20-fixes rev 11349. (fresh download and compile).
>> >> > Don't know how to do the profiling thing, can someone show me what I
>> >> > need to do to figure out why my backend starts using 99%+?
>> >>
>> >> Can you get a backtrace as described in the HOWTO so we can see if it is
>> >> the same issue as discovered in #2438. We shouldn't be calling anything
>> >> like VideoOutput::GetVisibleOSDBounds() or VideoOutput::GetOSDBounds()
>> >> anymore from the backend in either trunk or -fixes.
>> >
>> > sure, though I'm not quite sure how to get a backtrace if mythbackend
>> > doesn't crash?
>>
>> gdb /path/to/mythbackend PID
>>
>> This will attach gdb to the running mythbackend process PID.
>
> cool, when it asks to "restart" should I answer yes or no?
> once i notice mythbackend doing this I'll create the backtrace. seems
> to happen at least once a day
Since it's running in an infinite loop, the process is of no further use
once you've obtained the backtrace, so you can use the kill command to get
rid of it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20061003/3672759c/attachment.pgp
More information about the mythtv-dev
mailing list