From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14998 invoked by alias); 10 Jan 2003 23:43:00 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 14982 invoked by uid 71); 10 Jan 2003 23:43:00 -0000 Resent-Date: 10 Jan 2003 23:43:00 -0000 Resent-Message-ID: <20030110234300.14981.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, llewins@raytheon.com Received: (qmail 12863 invoked by uid 61); 10 Jan 2003 23:36:35 -0000 Message-Id: <20030110233635.12862.qmail@sources.redhat.com> Date: Fri, 10 Jan 2003 23:43:00 -0000 From: llewins@raytheon.com Reply-To: llewins@raytheon.com To: insight-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/204: SEGV in __libtk80_a_iname X-SW-Source: 2003-q1/txt/msg00011.txt.bz2 List-Id: >Number: 204 >Category: insight >Synopsis: SEGV in __libtk80_a_iname >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Jan 10 15:43:00 PST 2003 >Closed-Date: >Last-Modified: >Originator: Lloyd J. Lewins >Release: cvs Jan 9, 2002 >Organization: >Environment: cygwin >Description: When debugging main.cc, moving the mouse over the statement: thisRoute->analyzeZD(); causes insight to crash with a SEGV. >How-To-Repeat: Set a break point on line 57. Run and then place the mouse on line 57. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="main.cc" Content-Disposition: inline; filename="main.cc" /* Submitted by: Lloyd Lewins, llewins@raytheon.com Cause insight to crash with SEGV Insight version: GNU gdb 2003-01-09-cvs gcc version: gcc version 2.95.3-5 (cygwin special) Compiled with -g option. When debugging main.cc, moving the mouse over the statement: thisRoute->analyzeZD(); causes insight to crash with a SEGV. Set a break point on line 57. Run and then place the mouse on line 57. The following is the error (captured by running insight within gdb): Program received signal SIGSEGV, Segmentation fault. 0x6108d57f in _libtk80_a_iname () */ #include class route { public: route(void) { } static void analyzeAllZD(void); class destination { public: destination(route* const nextRoute) : nextRoute(nextRoute) { } route* const nextRoute; }; typedef std::vector destination_vector; void analyzeZD (void); destination_vector destinations; }; void route::analyzeZD(void) { } void route::analyzeAllZD(void) { route* thisRoute = new route(); thisRoute->analyzeZD(); } int main(void) { route::analyzeAllZD(); }