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"><<a href="mailto:gjhurlbu@gmail.com">gjhurlbu@gmail.com</a>></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">> I find this interesting given that the kernel has protections against<br>
> dereferencing circular symbolic links endlessly. There is even an errno<br>
> for it (ELOOP).<br>
<br>
</div>That's irrelevant. It all has to do with how directory scanning is<br>
implemented.<br></blockquote><div>I think it'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>
> I find it difficult to imagine that the kernel following circular<br>
> symbolic links, with it's "too many links" protection built-in was<br>
> causing so much memory use, so I have to assume that libqt or myth was<br>
> 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'm not going to lose much<br>
sleep over it. Just don'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>
> In that light, if my assumptions are correct, I'd call this one a bug.<br></div></blockquote><div>I think more an exception that hasn'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'll quit bothering you now<br>Rob Verduijn<br>