DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17500>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17500 Memory Leak from use of initgroups() Summary: Memory Leak from use of initgroups() Product: Apache httpd-2.0 Version: 2.0.44 Platform: All OS/Version: Linux Status: NEW Severity: Minor Priority: Other Component: All AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Hello, This is really a libc bug, but since it gets called often in the worker module, I thought I would pass it on. I am seeing a 192 byte memory leak when running agaist libc-2.2.5 on Linux (RedHat 7.3 to be exact) whenever initgroups() is called. This happens in mod_worker whenever a connection is made. I'll also send off a note to the libc maintainers. As a side note, the comment in support/suexec.c starting at line 97 is no longer true with QNX 6.2. initgroups() is supported and in fact does not leak. The path to the leak is below and I've also checked it with a tight loop running while(true). ==29174== 192 bytes in 2 blocks are definitely lost in loss record 60 of 70 ==29174== at 0x40044851: calloc (vg_clientfuncs.c:239) ==29174== by 0x41598A5A: __yp_bind (in /lib/libnsl-2.2.5.so) ==29174== by 0x415996A0: yp_all (in /lib/libnsl-2.2.5.so) ==29174== by 0x41FFC8CD: _nss_nis_initgroups_dyn (in /lib/libnss_nis-2.2.5.so) ==29174== by 0x420B24EE: (within /lib/i686/libc-2.2.5.so) ==29174== by 0x420B26C8: (within /lib/i686/libc-2.2.5.so) ==29174== by 0x806FF17: set_group_privs (unixd.c:142) ==29174== by 0x806FF66: unixd_setup_child (unixd.c:156) ==29174== by 0x8058D6D: child_main (worker.c:1210) ==29174== by 0x8059057: make_child (worker.c:1393) ==29174== by 0x80593FA: perform_idle_server_maintenance (worker.c:1551) ==29174== by 0x80595D5: server_main_loop (worker.c:1646) ==29174== by 0x8059824: ap_mpm_run (worker.c:1745) ==29174== by 0x805F1C7: main (main.c:651) Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
