Hi again.<br><br>You guys are getting deep into the bowels of kernel/qt/myth. I think I cannot be much of any assistance here, unless you want some more logs.<br>If you wish to reproduce the problem localy to study it some more simply create a circular link in your video storage directory and you will get all the errors you like.<br>
<br><div class="gmail_quote">2010/11/3 Gavin Hurlbut <span dir="ltr">&lt;<a href="mailto:gjhurlbu@gmail.com">gjhurlbu@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">&gt; I find this interesting given that the kernel has protections against<br>
&gt; dereferencing circular symbolic links endlessly.  There is even an errno<br>
&gt; for it (ELOOP).<br>
<br>
</div>That&#39;s irrelevant.  It all has to do with how directory scanning is<br>
implemented.<br></blockquote><div>I think it&#39;s a good one for trivia<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
&gt; I find it difficult to imagine that the kernel following circular<br>
&gt; symbolic links, with it&#39;s &quot;too many links&quot; protection built-in was<br>
&gt; causing so much memory use, so I have to assume that libqt or myth was<br>
&gt; in fact doing the symbolic link deferencing.  Was that the case?<br></div></blockquote><div><br>I really have no idea. <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
<br>
</div>Of course our code was doing it.  That code is slated to be<br>
potentially removed anyways after 0.24, so I&#39;m not going to lose much<br>
sleep over it.  Just don&#39;t put loops in your video filesystem that<br>
gets scanned, or you are asking for issues.<br></blockquote><div>Yup I learned my lesson. <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im"><br>
&gt; In that light, if my assumptions are correct, I&#39;d call this one a bug.<br></div></blockquote><div>I think more an exception that hasn&#39;t been caught yet.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
<br>
</div>Go ahead and call it a bug.  But the workaround for now is to not have<br>
silly choices in your use of your filesystem. :)<br></blockquote><div>I think it was more a decision based on ignorance and/or not reading the manual properly.<br>But you could call that silly to I guess. :P<br> <br></div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>Thanx again, I&#39;ll quit bothering you now<br>Rob Verduijn<br>