From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54380 invoked by alias); 4 Aug 2015 08:35:47 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 54367 invoked by uid 89); 4 Aug 2015 08:35:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 04 Aug 2015 08:35:46 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 271688E502 for ; Tue, 4 Aug 2015 08:35:45 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t748ZhTc007690; Tue, 4 Aug 2015 04:35:44 -0400 Message-ID: <55C0795F.6020300@redhat.com> Date: Tue, 04 Aug 2015 08:35:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Jan Kratochvil CC: gdb-patches@sourceware.org Subject: Re: [patch] ASAN attach crash - 7.9 regression [Re: [PATCH 4/4] PR gdb/17471: Repeating a background command makes it foreground] References: <1412877629-12052-1-git-send-email-palves@redhat.com> <1412877629-12052-5-git-send-email-palves@redhat.com> <20150803210205.GA2019@host1.jankratochvil.net> In-Reply-To: <20150803210205.GA2019@host1.jankratochvil.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00061.txt.bz2 On 08/03/2015 10:02 PM, Jan Kratochvil wrote: > On Thu, 09 Oct 2014 20:00:29 +0200, Pedro Alves wrote: >> Tested on x86_64 Fedora 20, native and gdbserver. > > -fsanitize=address > gdb.base/attach-pie-noexec.exp > > ==32586==ERROR: AddressSanitizer: heap-use-after-free on address 0x60200004ed90 at pc 0x48ad50 bp 0x7ffceb3aef50 sp 0x7ffceb3aef20 > READ of size 2 at 0x60200004ed90 thread T0 > #0 0x48ad4f in __interceptor_strlen (/home/jkratoch/redhat/gdb-test-asan/gdb/gdb+0x48ad4f) > #1 0xeafe5c in xstrdup xstrdup.c:33 > #2 0x85e024 in attach_command /home/jkratoch/redhat/gdb-test-asan/gdb/infcmd.c:2680 > > regressed by: > > commit 6c4486e63f7583ed85a0c72841f6ccceebbf858e > Author: Pedro Alves > Date: Fri Oct 17 13:31:26 2014 +0100 > PR gdb/17471: Repeating a background command makes it foreground > > > OK for check-in and for 7.10? OK. Thanks, Pedro Alves