From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30931 invoked by alias); 18 Mar 2002 16:51:21 -0000 Mailing-List: contact sourcenav-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sourcenav-owner@sources.redhat.com Received: (qmail 30714 invoked from network); 18 Mar 2002 16:51:08 -0000 Received: from unknown (HELO mailgate.simplex.com) (65.107.25.147) by sources.redhat.com with SMTP; 18 Mar 2002 16:51:08 -0000 Received: from tiger.simplex.com (tiger [207.247.82.25]) by mailgate.simplex.com (8.9.3/8.9.3) with ESMTP id IAA02755 for ; Mon, 18 Mar 2002 08:51:05 -0800 (PST) Received: from phoenix (phoenix [208.203.174.154]) by tiger.simplex.com (8.11.6/8.11.6) with SMTP id g2IGp5s29215 for ; Mon, 18 Mar 2002 08:51:05 -0800 (PST) Reply-To: From: "Jim Avera" To: Subject: snavigator bug after 'unload directory' Date: Mon, 18 Mar 2002 09:10:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-SW-Source: 2002-q1/txt/msg00168.txt.bz2 Hi, This is a bug report on Source Navigator 5.0.0 under Cygwin. It corrupted the project and stopped working after the following actions: 0. Loaded a large project with many subdirectories. About 3000 source files altogether. 1. Tools->Reparse Project, then clicked the CANCEL button before it finished (and confirmed the cancel in the subsequent dialog). 2. In the project editor, I used 'unload directory' to remove a directory containing redundant copies of files (it was a top-level include/ directory containing installed copies of .h files which also existed in source directories elsewhere in the project) 3. Tools->Reload Project (seemed to complete almost instantaneously) 4. Tools->Reparse Project At this point sn seemed to read a few files (possibly from only a single directory) and stop, as though it were done. No xref was generated, or else it took such a short time that I didn't/couldn't observe it (xref is enabled in the Project preferences). Subsequent attempts to reparse the project (~3000 source files) had the same behavior - files flashed by in the progress box for 1-2 seconds, and then nothing. I suspect that deleting the directory made sn forget about most of the remaining files, though they are still displayed in the project file browser. Maybe only the "unloaded" directory is being scanned? The project seems to be hopelessly corrupted. I had to abandon it and create another.