From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10755 invoked by alias); 24 Apr 2012 13:35:36 -0000 Received: (qmail 10568 invoked by uid 22791); 24 Apr 2012 13:35:34 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Apr 2012 13:35:20 +0000 From: "gdb.bugs at mfriebe dot de" To: gdb-prs@sourceware.org Subject: [Bug gdb/14014] New: win64 crash with bad dwarf2 symbols (7.4 crash / 7.3 gives error expected) Date: Tue, 24 Apr 2012 13:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gdb.bugs at mfriebe dot de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00046.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14014 Bug #: 14014 Summary: win64 crash with bad dwarf2 symbols (7.4 crash / 7.3 gives error expected) Product: gdb Version: 7.4 Status: NEW Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned@sourceware.org ReportedBy: gdb.bugs@mfriebe.de Classification: Unclassified Created attachment 6361 --> http://sourceware.org/bugzilla/attachment.cgi?id=6361 source and exe Windows 64 bit XP Sp2 (though probably affects any 64 bit win) Intel Free pascal version 2.4.4 does generate broken dwarf2 info. It is expected that gdb reports errors in an attempt to use them. GDB 7.3 reports such errors as expected GDB 7.4 crashes Attached is a simple pascal program, and the exe compiled with fpc 2.4.4 (must be 2.4.4 / other fpc do not generate the required broken dwarf) The source was compiled using: fpc.exe -gw hello.pas GDB was downloaded from http://www.drangon.org/mingw/ mingw-w64-bin-x86_64-20120225.7z : native mingw-w64 toolchain under Windows XP/2003 x64, build (gcc 4.6 branch) from SVN 2012-02-25 (29M) http://www.drangon.org/mingw/mirror.php?num=2&fname=mingw-w64-bin-x86_64-20120225.7z Run gdb as follows: gdb.exe -i mi hello.exe Then enter -break-insert main this crashes gdb 7.4 While this is primarily an issue of fpc and while such a broken file can not be debugged, it still should not lead to a crash. Especially since previous gdb versions were able to detect the error -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.