From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25698 invoked by alias); 8 Feb 2012 16:16:13 -0000 Received: (qmail 25641 invoked by uid 22791); 8 Feb 2012 16:16:05 -0000 X-SWARE-Spam-Status: No, hits=-2.8 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; Wed, 08 Feb 2012 16:15:53 +0000 From: "hyrum at hyrumwright dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/13619] Crash when running binary a second time in the same session Date: Wed, 08 Feb 2012 16:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hyrum at hyrumwright dot org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-q1/txt/msg00222.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13619 --- Comment #8 from Hyrum Wright 2012-02-08 16:15:46 UTC --- Rather than checkout a completely new tree from CVS, I manually applied the patch to my copy of the 7.4 source code. It appears to fix the problem: [[[ $ /usr/local/bin/gdb ./a.out GNU gdb (GDB) 7.4 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-apple-darwin11.3.0". For bug reporting instructions, please see: ... Reading symbols from /Users/Hyrum/dev/test/a.out...Reading symbols from /Users/Hyrum/dev/test/a.out.dSYM/Contents/Resources/DWARF/a.out...done. done. (gdb) r Starting program: /Users/Hyrum/dev/test/a.out Hello, World! [Inferior 1 (process 54972) exited normally] (gdb) r Starting program: /Users/Hyrum/dev/test/a.out Hello, World! [Inferior 1 (process 54974) exited normally] (gdb) r Starting program: /Users/Hyrum/dev/test/a.out Hello, World! [Inferior 1 (process 54976) exited normally] (gdb) r Starting program: /Users/Hyrum/dev/test/a.out Hello, World! [Inferior 1 (process 54978) exited normally] (gdb) ]]] Thanks! -- 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.