GNOME Bugzilla – Bug 571988
Symbolic links can cause infinite loop in resolveSymlink
Last modified: 2009-07-19 09:55:33 UTC
On my os/x box, we have: $ ls -ld /usr/include/c++/4.0.0/i686-apple-darwin8 /usr/include/c++/4.0.0/i686-apple-darwin8 -> i686-apple-darwin9 This causes an infinite loop in static QCString resolveSymlink(QCString path) The problem seems to be that the path /usr/include/c++/4.0.0/i686-apple-darwin8 gets rewritten as /usr/include/c++/4.0.0/i686-apple-darwin8/i686-apple-darwin9 and then reparsed. As it's parsed, we get back to /usr/include/c++/4.0.0/i686-apple-darwin8 and the loop continues. I'm not sure why the rewrite isn't from /usr/include/c++/4.0.0/i686-apple-darwin8 gets rewritten as /usr/include/c++/4.0.0/i686-apple-darwin9
Also seen on Gentoo: http://bugs.gentoo.org/266693 Seems to be solved in r678, Release 1.5.8-20090129. See http://doxygen.svn.sourceforge.net/viewvc/doxygen/trunk/src/doxygen.cpp?view=patch&r1=678&r2=677&pathrev=678
Should be fixed in 1.5.9 (as confirmed by the gentoo users). If you still see this issue please reopen the bug.