public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18767] New: ASAN attach crash - 7.9 regression
@ 2015-08-03 20:58 jan.kratochvil at redhat dot com
  2015-08-03 21:02 ` [Bug gdb/18767] " jan.kratochvil at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jan.kratochvil at redhat dot com @ 2015-08-03 20:58 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18767

            Bug ID: 18767
           Summary: ASAN attach crash - 7.9 regression
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: jan.kratochvil at redhat dot com
  Target Milestone: ---

-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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/18767] ASAN attach crash - 7.9 regression
  2015-08-03 20:58 [Bug gdb/18767] New: ASAN attach crash - 7.9 regression jan.kratochvil at redhat dot com
@ 2015-08-03 21:02 ` jan.kratochvil at redhat dot com
  2015-08-04 11:44 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jan.kratochvil at redhat dot com @ 2015-08-03 21:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18767

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jan.kratochvil at redhat dot com
           Assignee|unassigned at sourceware dot org   |jan.kratochvil at redhat dot com

--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
[patch] ASAN attach crash - 7.9 regression [Re: [PATCH 4/4] PR gdb/17471:
Repeating a background command makes it foreground]
https://sourceware.org/ml/gdb-patches/2015-08/msg00052.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/18767] ASAN attach crash - 7.9 regression
  2015-08-03 20:58 [Bug gdb/18767] New: ASAN attach crash - 7.9 regression jan.kratochvil at redhat dot com
  2015-08-03 21:02 ` [Bug gdb/18767] " jan.kratochvil at redhat dot com
@ 2015-08-04 11:44 ` cvs-commit at gcc dot gnu.org
  2015-08-04 11:49 ` jan.kratochvil at redhat dot com
  2015-08-25 15:46 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-04 11:44 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18767

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Kratochvil <jkratoch@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=978b9495b78054b76052a09064cae8c94a58b93e

commit 978b9495b78054b76052a09064cae8c94a58b93e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Aug 4 13:40:44 2015 +0200

    ASAN attach crash - 7.9 regression

    -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

    gdb/ChangeLog
    2015-08-04  Jan Kratochvil  <jan.kratochvil@redhat.com>

        PR gdb/18767
        * infcmd.c (attach_command): Move ARGS_CHAIN cleanup after last ARGS
        use.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/18767] ASAN attach crash - 7.9 regression
  2015-08-03 20:58 [Bug gdb/18767] New: ASAN attach crash - 7.9 regression jan.kratochvil at redhat dot com
  2015-08-03 21:02 ` [Bug gdb/18767] " jan.kratochvil at redhat dot com
  2015-08-04 11:44 ` cvs-commit at gcc dot gnu.org
@ 2015-08-04 11:49 ` jan.kratochvil at redhat dot com
  2015-08-25 15:46 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jan.kratochvil at redhat dot com @ 2015-08-04 11:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18767

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.10

--- Comment #3 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
Checked in master + 7.10.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/18767] ASAN attach crash - 7.9 regression
  2015-08-03 20:58 [Bug gdb/18767] New: ASAN attach crash - 7.9 regression jan.kratochvil at redhat dot com
                   ` (2 preceding siblings ...)
  2015-08-04 11:49 ` jan.kratochvil at redhat dot com
@ 2015-08-25 15:46 ` cvs-commit at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-25 15:46 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18767

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-7.10-branch branch has been updated by Jan Kratochvil
<jkratoch@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fa68327bb429223d98887fa43db67fbb49629eb1

commit fa68327bb429223d98887fa43db67fbb49629eb1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Aug 4 13:40:44 2015 +0200

    ASAN attach crash - 7.9 regression

    -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

    gdb/ChangeLog
    2015-08-04  Jan Kratochvil  <jan.kratochvil@redhat.com>

        PR gdb/18767
        * infcmd.c (attach_command): Move ARGS_CHAIN cleanup after last ARGS
        use.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-25 15:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-03 20:58 [Bug gdb/18767] New: ASAN attach crash - 7.9 regression jan.kratochvil at redhat dot com
2015-08-03 21:02 ` [Bug gdb/18767] " jan.kratochvil at redhat dot com
2015-08-04 11:44 ` cvs-commit at gcc dot gnu.org
2015-08-04 11:49 ` jan.kratochvil at redhat dot com
2015-08-25 15:46 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).