[krbdev.mit.edu #2862] Memory leak in krb5-libs up to 1.3.6

Tom Yu via RT rt-comment at krbdev.mit.edu
Mon Jan 10 15:49:11 EST 2005


>>>>> "Bojan" == Bojan Smojver via RT <rt-comment at krbdev.mit.edu> writes:

Bojan> ---------------------------------------
Bojan> *** glibc detected *** free(): invalid pointer: 0x08d68670 ***
Bojan> [Mon Jan 10 08:08:26 2005] [notice] child pid 14565 exit signal Abort (6)
Bojan> *** glibc detected *** double free or corruption (out): 0x08d46d38 ***
Bojan> [Mon Jan 10 08:08:49 2005] [notice] child pid 14630 exit signal Abort (6)
Bojan> *** glibc detected *** double free or corruption (out): 0x08d6ca60 ***
Bojan> [Mon Jan 10 08:09:13 2005] [notice] child pid 14496 exit signal Abort (6)
Bojan> [Mon Jan 10 08:09:49 2005] [notice] child pid 14494 exit signal Segmentation fau
Bojan> lt (11)
Bojan> ---------------------------------------

Do the above errors occur when running with one of the 1.4 beta
releases, or with the 1.3.6 release?

Bojan> You'll also notice another segfault, which is probably a result
Bojan> of closing the invalid ccache handle, as you explained
Bojan> above. This all happened within 10000 requests, which is
Bojan> considered a "small test". I normally run millions of requests
Bojan> when I want to stress test the whole setup.

Do the invalid free() and double-free errors occur when you change the
code to not attempt to close an invalid ccache handle?

Bojan> If you want to run inside gdb to produce stack traces or some
Bojan> other info, let me know.

Stack traces would be useful.

---Tom



More information about the krb5-bugs mailing list