From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 311 invoked by alias); 6 Jun 2002 18:23: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 32765 invoked by uid 71); 6 Jun 2002 18:23:00 -0000 Resent-Date: 6 Jun 2002 18:23:00 -0000 Resent-Message-ID: <20020606182300.32764.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, r.scher@varilog.com Received:(qmail 32092 invoked by uid 61); 6 Jun 2002 18:19:42 -0000 Message-Id:<20020606181942.32091.qmail@sources.redhat.com> Date: Thu, 06 Jun 2002 11:23:00 -0000 From: r.scher@varilog.com Reply-To: r.scher@varilog.com To: insight-gnats@sources.redhat.com X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/164: insight crashes on binaries from gpc (Gnu Pascal) 2.1 X-SW-Source: 2002-q2/txt/msg00036.txt.bz2 List-Id: >Number: 164 >Category: insight >Synopsis: insight crashes on binaries from gpc (Gnu Pascal) 2.1 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Jun 06 11:23:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Robert Scher >Release: unknown-1.0 >Organization: >Environment: redhat 7.0, kernel 2.4.4 variant, glibc-2.1.92. >Description: I obtained sources to gpc version 2.1 at http://www.gnu-pascal.de/current/ namely, gpc-2.1 and gcc-core-2.95.2 I built & installed per instructions in p/INSTALL under the top-level source directory. I also built insight-5.2 from sources at your site. The insight that I built works fine on C programs. Programs large & small that I compile and link using gpc 2.1 have some slightly unusual stabs, perhaps. In any case, when I try to use insight to open such a file, insight crashes. This only happens in graphical mode, and I have tracked it down and can offer a prospective patch. insight works more or less normally on a gpc2.1 generated binary, except that all variables print as "void". This is a separate problem and looks to me like a gpc 2.1 defect. But this crash situation, I'm not sure who's not following the stabs spec., if there is such a thing... After getting your initial mail, I'll e-mail you three files: my patch (dbxread.c.diff) and the pascal source and gpc2.1-produced executable of "smalltest", a trivial program that will illustrate the crash. In particular a N_FUN with empty name appears at a point when When exercise insight in graphical found that insight (in graphical mode) crashes >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: