This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug malloc/15073] Race condition using ATOMIC_FASTBINS in _int_free causes crash or heap corruption


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

Nate Gallaher <nate+sourceware at jaybridge dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nate+sourceware at jaybridge dot c
                   |                            |om

--- Comment #2 from Nate Gallaher <nate+sourceware at jaybridge dot com> ---
I was able to reproduce this bug on Fedora 19, x86_64.

Reproduction required a slight modification of the recipe: the breakpoint in
malloc.c needs to happen at line 3865.  This line will continue to change as
new versions of the library are released.

Required packages: glibc-debuginfo boost-devel boost-thread gcc-c++

[testuser@localhost ~]$ yum info glibc
Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit
Installed Packages
Name        : glibc
Arch        : x86_64
Version     : 2.17
Release     : 18.fc19

[testuser@localhost ~]$ cat /etc/redhat-release 
Fedora release 19 (SchrÃdingerâs Cat)

[testuser@localhost ~]$ cat gdb_script 
break main
r
set scheduler-locking on
break 54
break 59
break 60
c
break malloc.c:3865
c
thread 2
c
c
thread 1
c
[testuser@localhost ~]$

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]