<br><br><div class="gmail_quote">On Sun, Nov 9, 2008 at 10:43 PM, Dave <span dir="ltr">&lt;<a href="mailto:davedog@mac.com">davedog@mac.com</a>&gt;</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&#39;ve had a remote frontend hang a couple of times recently while<br>
watching live TV. This specifically happens after I&#39;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. &nbsp;Is there anything like this on Linux? I&#39;d like<br>
to poke around and see if I can&#39;t figure out what&#39;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&#39;s strace and ltrace, but unless you&#39;re well versed in the C programming language, the output probably won&#39;t make a lot of sense.&nbsp; Also, these utilities dump a lot of information very quickly.&nbsp; You&#39;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.&nbsp; 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&#39;t scare you away, feel free to play with them and see if it gives you what you want.&nbsp; <br><br>--Darrin <br></div></div><br>