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: "bkorb at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 7 Jan 2011 22:26:41 +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
--- Comment #9 from Bruce Korb <bkorb at gnu dot org> 2011-01-07 22:26:36 UTC ---
I have now run ltrace a half dozen times and the problem does not recur.
The test cycle is about 20 minutes, so I don't have time to test it
too many ways. So, it seems, ltrace itself interferes with reproducing
the problem. (The problem recurs when running without ltrace.)
To emphasize: this problem goes away by itself sometimes. Once it
does go away, it stays away until I reboot.
Here is an ltrace for a successful run:
$ cat tst/dprintf-posix2-1.ltrace
0.000000 __libc_start_main(0x400a00, 3, 0x7fff1948c568, 0x400c40, 0x400cd0
<unfinished ...>
0.000195 getrlimit(2, 0x7fff1948c460, 0x7fff1948c588, 0, 0x2b3ec7a39320) = 0
0.000193 setrlimit(2, 0x7fff1948c460, 0x7fff1948c588, -1, 0x2b3ec7a39320) = 0
0.000177 getrlimit(9, 0x7fff1948c460, 0x7fff1948c588, -1, 0x2b3ec7a39320) = 0
0.000176 setrlimit(9, 0x7fff1948c460, 0x7fff1948c588, -1, 0x2b3ec7a39320) = 0
0.000177 strtol(0x7fff1948d124, 0, 10, -1, 0x2b3ec7a39320) = 1
0.000141 rpl_fprintf(0x2b3ec7a38780, 0x400d6a, 17, 1, 0x2b3ec7a38580) =
0xffffffff
0.000465 __errno_location() = 0x2b3ec7c5cac8
0.001162 +++ exited (status 1) +++
--
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.