This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12232] setrlimit interferes with malloc
- From: "roucaries.bastien+bugs at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 22 Nov 2010 12:38:09 +0000
- Subject: [Bug libc/12232] setrlimit interferes with malloc
- Auto-submitted: auto-generated
- References: <bug-12232-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12232
roucaries.bastien+bugs at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roucaries.bastien+bugs at
| |gmail dot com
--- Comment #7 from roucaries.bastien+bugs at gmail dot com 2010-11-22 12:37:51 UTC ---
I use ltrace -S ./a.out on the bruce program and I get this. Dear bruce could
you retest using ltrace ?
Bastien
setrlimit(9, 0x7fff34694fc0, 0x7f06d7cc8df0, 0x40076f, 1 <unfinished ...>
SYS_setrlimit(9, 0x7fff34694fc0)
= 0
<... setrlimit resumed> )
= 0
malloc(136 <unfinished ...>
SYS_brk(NULL)
= 0x020fa000
SYS_brk(0x0211b000)
= 0x020fa000
SYS_mmap(0, 0x100000, 3, 34, 0xffffffff)
= -12
SYS_mmap(0, 0x8000000, 0, 16418, 0xffffffff)
= -12
SYS_mmap(0, 0x4000000, 0, 16418, 0xffffffff)
= -12
SYS_mmap(0, 0x8000000, 0, 16418, 0xffffffff)
= -12
SYS_mmap(0, 0x4000000, 0, 16418, 0xffffffff)
= -12
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.