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/19243] reused_arena can pick an arena on the free list, leading to an assertion failure


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

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Created attachment 8787
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8787&action=edit
bug19243.c

Preliminary test case.

The real one will have to scale the number of threads based on available
arenas.  Based on my experiments, the outer thread count should be equal to the
maximum number of arenas, the inner thread count should be three, and the
timeout can be fairly low (running the test for 5 seconds should suffice).

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