[john@localhost php-src-5.2]$ sudo valgrind --tool=memcheck /usr/local/apache222/bin/httpd -X ==14374== Memcheck, a memory error detector for x86-linux. ==14374== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al. ==14374== Using valgrind-2.2.0, a program supervision framework for x86-linux. ==14374== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al. ==14374== For more details, rerun with: -v ==14374== ==14374== Syscall param socketcall.sendto(msg) contains uninitialised or unaddressable byte(s) ==14374== at 0xC9BF01: sendto (in /lib/tls/libc-2.3.5.so) ==14374== by 0xC84353: getaddrinfo (in /lib/tls/libc-2.3.5.so) ==14374== by 0x1B99495A: call_resolver (sockaddr.c:337) ==14374== by 0x1B994AEF: apr_sockaddr_info_get (sockaddr.c:428) ==14374== Address 0x52BFE35D is on thread 1's stack ==14374== ==14374== Syscall param semctl(IPC_SET, arg->buf) contains uninitialised or unaddressable byte(s) ==14374== at 0xC9C778: semctl@@GLIBC_2.2 (in /lib/tls/libc-2.3.5.so) ==14374== by 0x8098011: unixd_set_proc_mutex_perms (unixd.c:416) ==14374== by 0x8096AA9: ap_mpm_run (prefork.c:931) ==14374== by 0x8061E73: main (main.c:717) ==14374== Address 0x52BFE510 is on thread 1's stack ==14374== ==14374== Syscall param epoll_ctl(event) contains uninitialised or unaddressable byte(s) ==14374== at 0xC9B5CE: epoll_ctl (in /lib/tls/libc-2.3.5.so) ==14374== by 0x8096295: child_main (prefork.c:532) ==14374== by 0x80965F3: make_child (prefork.c:680) ==14374== by 0x8096B46: ap_mpm_run (prefork.c:956) ==14374== Address 0x52BFE4B8 is on thread 1's stack ==14374== ==14374== Conditional jump or move depends on uninitialised value(s) ==14374== at 0x1BCDEDB4: php_stream_locate_url_wrapper (streams.c:1506) ==14374== by 0x1BCDFC24: _php_stream_open_wrapper_ex (streams.c:1764) ==14374== by 0x1BCCDAB6: php_stream_open_for_zend (main.c:909) ==14374== by 0x1BD19980: zend_stream_fixup (zend_stream.c:62) ==14374== ==14374== Conditional jump or move depends on uninitialised value(s) ==14374== at 0x1BCDEE56: php_stream_locate_url_wrapper (streams.c:1585) ==14374== by 0x1BCDFC24: _php_stream_open_wrapper_ex (streams.c:1764) ==14374== by 0x1BCCDAB6: php_stream_open_for_zend (main.c:909) ==14374== by 0x1BD19980: zend_stream_fixup (zend_stream.c:62) ==14374== ==14374== Use of uninitialised value of size 4 ==14374== at 0x1BD11AA8: _zend_hash_index_update_or_next_insert (zend_hash.c:354) ==14374== by 0x1BD134CA: zend_list_insert (zend_list.c:47) ==14374== by 0x1BD135EC: zend_register_resource (zend_list.c:99) ==14374== by 0x1BCDD578: _php_stream_alloc (streams.c:263) ==14374== ==14374== Invalid read of size 4 ==14374== at 0x1BD11AA8: _zend_hash_index_update_or_next_insert (zend_hash.c:354) ==14374== by 0x1BD134CA: zend_list_insert (zend_list.c:47) ==14374== by 0x1BD135EC: zend_register_resource (zend_list.c:99) ==14374== by 0x1BCDD578: _php_stream_alloc (streams.c:263) ==14374== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==14374== ==14374== Process terminating with default action of signal 11 (SIGSEGV) ==14374== Access not within mapped region at address 0x0 ==14374== at 0x1BD11AA8: _zend_hash_index_update_or_next_insert (zend_hash.c:354) ==14374== by 0x1BD134CA: zend_list_insert (zend_list.c:47) ==14374== by 0x1BD135EC: zend_register_resource (zend_list.c:99) ==14374== by 0x1BCDD578: _php_stream_alloc (streams.c:263) ==14374== ==14374== ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 62 from 2) ==14374== malloc/free: in use at exit: 1618584 bytes in 13830 blocks. ==14374== malloc/free: 14684 allocs, 854 frees, 1713162 bytes allocated. ==14374== For a detailed leak analysis, rerun with: --leak-check=yes ==14374== For counts of detected errors, rerun with: -v Segmentation fault