This is the mail archive of the libc-alpha@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]

Re: [PATCHv2 0/3] libc: Fix malloc error handling


On Sunday, September 25, 2011 10:30:41 Jiri Olsa wrote:
> I used latrace error simulation and got some crashes from
> code that handles malloc out of memory cases.
> 
> I understand it is quite unlikely those cases would be hit
> in real world, but since I've already tracked them down
> I am sharing them.. ;)

if you disable overcommitting, it shouldn't be hard to hit OOM in userspace

echo 2 > /proc/sys/vm/overcommit_memory
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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