After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 571988 - Symbolic links can cause infinite loop in resolveSymlink
Symbolic links can cause infinite loop in resolveSymlink
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.5.8
Other Mac OS
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2009-02-16 13:17 UTC by Robert Lupton
Modified: 2009-07-19 09:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Lupton 2009-02-16 13:17:48 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
Comment 1 Martin von Gagern 2009-04-18 21:17:16 UTC
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
Comment 2 Dimitri van Heesch 2009-07-19 09:55:33 UTC
Should be fixed in 1.5.9 (as confirmed by the gentoo users).
If you still see this issue please reopen the bug.