This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] ASAN attach crash - 7.9 regression [Re: [PATCH 4/4] PR gdb/17471: Repeating a background command makes it foreground]
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 04 Aug 2015 09:35:43 +0100
- Subject: Re: [patch] ASAN attach crash - 7.9 regression [Re: [PATCH 4/4] PR gdb/17471: Repeating a background command makes it foreground]
- Authentication-results: sourceware.org; auth=none
- References: <1412877629-12052-1-git-send-email-palves at redhat dot com> <1412877629-12052-5-git-send-email-palves at redhat dot com> <20150803210205 dot GA2019 at host1 dot jankratochvil dot net>
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 <palves@redhat.com>
> 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