Package: exuberant-ctags Version: 1:5.6-1 Severity: normal I'm running ctags on gcc source, and it runs into an endless loop at: #2 0x08052315 in readToken (token=0x8086b10) at fortran.c:992 #3 0x08053349 in findFortranTags (passCount=2) at fortran.c:1998 #4 0x080593d0 in parseFile ( fileName=0x8080248 "gcc/testsuite/gfortran.dg/invalid_contains_1.f90") at parse.c:620 #5 0x080556d0 in createTagsForEntry ( entryName=0x8080248 "gcc/testsuite/gfortran.dg/invalid_contains_1.f90") at main.c:303 #6 0x080555cd in recurseIntoDirectory ( dirName=0x8083380 "gcc/testsuite/gfortran.dg") at main.c:161 #7 0x080555cd in recurseIntoDirectory (dirName=0x8084768 "gcc/testsuite") at main.c:161 #8 0x080555cd in recurseIntoDirectory (dirName=0x807d3c0 "gcc") at main.c:161 #9 0x080555cd in recurseIntoDirectory (dirName=0x80649cb ".") at main.c:161 #10 0x080559e4 in main (argc=Cannot access memory at address 0xffffffff
because getChar() always returns EOF. The source file is gcc/testsuite/gfortran.dg/invalid_contains_1.f90 : ! { dg-do compile } ! PR18923 segfault after subroutine name confusion. module FOO contains subroutine FOO ! { dg-error "conflicts with PROCEDURE" } character(len=selected_int_kind(0)) :: C ! { dg-error "data declaration statement" } end subroutine ! { dg-error "Expecting END MODULE statement" } end ! { dg-warning "CONTAINS statement without FUNCTION" } Adding && c != EOF to the while loop makes it run fine. Samuel -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.18-xen Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages exuberant-ctags depends on: ii libc6 2.5-9+b1 GNU C Library: Shared libraries exuberant-ctags recommends no packages. -- no debconf information -- Samuel Thibault <[EMAIL PROTECTED]> <P> moo <N> moo ? <D> P: keski t'arrive? :)) <P> moooo <N> moooooo ? <P> rien le net marche je suis content :) -+- #ens-mim - accro du net -+- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]