From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82684 invoked by alias); 24 Mar 2015 20:08:11 -0000 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 Received: (qmail 82653 invoked by uid 48); 24 Mar 2015 20:08:10 -0000 From: "keiths at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/18157] Segfault when debugging a program where an initializer list contains a lambda function with auto variables Date: Wed, 25 Mar 2015 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: keiths at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 7.8 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q1/txt/msg00485.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18157 Keith Seitz changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |keiths at redhat dot com Resolution|--- |FIXED Target Milestone|--- |7.8 --- Comment #1 from Keith Seitz --- I've verified that this is another libiberty demangler crashing bug. It is also fixed in GDB 7.8+. If you'd like a patch, look at commits 91662bad2, fd259167d, 9548bbede, and 53f94b92e (all in libiberty). It might be possible to toss together something relatively easily by simply grabbing a recent copy of libiberty/cp-demangle.[ch]. Otherwise, the easiest thing to do is simply upgrade to 7.8 or 7.9. -- You are receiving this mail because: You are on the CC list for the bug.