<br><br><div class="gmail_quote">On Sun, Nov 9, 2008 at 10:43 PM, Dave <span dir="ltr"><<a href="mailto:davedog@mac.com">davedog@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey folks,<br>
<br>
I've had a remote frontend hang a couple of times recently while<br>
watching live TV. This specifically happens after I've paused it and<br>
try to resume watching. I am familiar and quite handy with the Mac OS<br>
X development tool set, but know next to nothing about developing on<br>
Linux, other than how to use gdb. The Mac has a nifty tool for<br>
diagnosing hangs called sample, which essentially pokes into the app<br>
every once in a while, takes a look at what the app is doing and<br>
writes it to a file. Is there anything like this on Linux? I'd like<br>
to poke around and see if I can't figure out what's what, hopefully<br>
without having to recompile mythtv by hand.<br>
<br>
Thanks!<br>
<font color="#888888"><br>
-Dave</font></blockquote><div><br>There's strace and ltrace, but unless you're well versed in the C programming language, the output probably won't make a lot of sense. Also, these utilities dump a lot of information very quickly. You're not going to be able to leave them running for very long unless you have a huge amount of disk space for the resulting log. Even then, these tools can change the timing of certain library calls so the results can be inconclusive.<br>
<br>If all of that doesn't scare you away, feel free to play with them and see if it gives you what you want. <br><br>--Darrin <br></div></div><br>