https://defect.opensolaris.org/bz/show_bug.cgi?id=18144

           Summary: indexer will enter infinite cycle if it encounters
                    symlink to dot
    Classification: Development
           Product: opengrok
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P3
         Component: indexer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


This directory was traversed by the indexer:

drwxrwxr-x   8 vk staff         25 Jan 19  1996 .
drwxrwxr-x   5 vk staff         19 Jan 19  1996 ..
drwxrwxr-x   2 vk staff          9 Jan 19  1996 cat1m
drwxrwxr-x   2 vk staff          2 Sep 24  1992 cat2
drwxrwxr-x   2 vk staff          2 Sep 24  1992 cat3c
drwxrwxr-x   2 vk staff          2 Sep 24  1992 catman
-rw-rw-r--   1 vk staff      41501 Oct 12  1992 cpu-control.ps
lrwxrwxrwx   1 vk staff          1 Apr  6 22:38 man -> .
lrwxrwxrwx   1 vk staff          1 Apr  6 22:38 man1m -> .
lrwxrwxrwx   1 vk staff          1 Apr  6 22:38 man2 -> .
lrwxrwxrwx   1 vk staff          1 Apr  6 22:38 man3c -> .
-r--r--r--   1 vk staff       1769 Sep 24  1992 p_online.2
-rw-r--r--   1 vk staff       3181 Sep 25  1992 pbind.1m
-r--r--r--   1 vk staff       2270 Sep 24  1992 processor_bind.2
-rw-r--r--   1 vk staff       1800 Sep 25  1992 processor_info.2
-r--r--r--   1 vk staff       1861 Sep 24  1992 psradm.1m
-r--r--r--   1 vk staff       1751 Sep 24  1992 psrinfo.1m
drwxrwxr-x   2 vk staff          8 Jan 19  1996 raw
-r--r--r--   1 vk staff       9106 Sep 23  1992 README
-rw-rw-r--   1 vk staff       1106 Nov  3  1992 request-form
drwxrwxr-x   2 vk staff         12 Jan 19  1996 SCCS
-rw-r--r--   1 vk staff       3492 Sep 25  1992 sysconf.3c
-rw-rw-r--   1 vk staff       8083 Sep 23  1992 t
-rwxr-xr-x   1 vk staff       4848 Sep 24  1992 template
-r--r--r--   1 vk staff      11569 Sep 24  1992 template.orig 

and it entered infinite loop, adding entries from the directory again and
again. Couple of samples:

2011-04-12 15:47:35.722+0200 FINER t20 DefaultIndexChangedListener.fileAdded:
Added:
/infinite/man/man3c/man3c/man3c/man3c/man3c/man3c/man3c/man3c/raw/processor_bind.2
(PlainAnalyzer)
2011-04-12 15:47:35.723+0200 INFO t20 DefaultIndexChangedListener.fileAdd: Add:
/infinite/man/man3c/man3c/man3c/man3c/man3c/man3c/man3c/man3c/raw/processor_info.2
(PlainAnalyzer)
2011-04-12 15:47:35.725+0200 FINER t20 DefaultIndexChangedListener.fileAdded:
Added:
/infinite/man/man3c/man3c/man3c/man3c/man3c/man3c/man3c/man3c/raw/processor_info.2
(PlainAnalyzer)

-- 
Configure bugmail: https://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to