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/19182] malloc deadlock between ptmalloc_lock_all and _int_new_arena/reused_arena


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

Barkdull <jasonbarkdull at yahoo dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jasonbarkdull at yahoo dot com

--- Comment #6 from Barkdull <jasonbarkdull at yahoo dot com> ---
Is this a bug/deadlock? 
Both ptmalloc_lock_all and _int_new_arena try to lock lock_list.
ptmalloc_lock_all also locks all the arenas in the "main_arena" list but
_int_new_arena locks a newly created arena which is not yet in "main_arena".
How can this deadlock?
Thanks

-- 
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]