From owner-freebsd-questions@FreeBSD.ORG Fri Feb 22 19:14:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE66C16A408 for ; Fri, 22 Feb 2008 19:14:21 +0000 (UTC) (envelope-from forrie@forrie.com) Received: from forrie.com (demon.dce.harvard.edu [140.247.198.85]) by mx1.freebsd.org (Postfix) with ESMTP id 72B9913C442 for ; Fri, 22 Feb 2008 19:14:21 +0000 (UTC) (envelope-from forrie@forrie.com) Received: from forrest-aldrichs-macbook-pro.local (dsl092-075-097.bos1.dsl.speakeasy.net [66.92.75.97]) (authenticated bits=0) by forrie.com (8.14.2/8.13.8) with ESMTP id m1MJEAIo008774 for ; Fri, 22 Feb 2008 14:14:16 -0500 (EST) (envelope-from forrie@forrie.com) Message-ID: <47BF1F02.5020200@forrie.com> Date: Fri, 22 Feb 2008 14:14:10 -0500 From: Forrest Aldrich User-Agent: Thunderbird 2.0.0.13pre (Macintosh/20080220) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <47BD8BE3.8070209@forrie.com> <200802221821.12561.fbsd.questions@rachie.is-a-geek.net> <47BF083B.2050405@forrie.com> <200802221910.21532.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200802221910.21532.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.92/5938/Fri Feb 22 13:08:07 2008 on mail.forrie.com X-Virus-Status: Clean Subject: Re: 6.3-STABLE Apache 2.0 uses high CPU when restarted.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 19:14:21 -0000 Mel, I recompiled php5 with debugging enabled; but it seems the FreeBSD php5-extensions build ignores this flag and compiles the extensions as-is. No option in their makefile. Anyway, here's the output... I don't think it really says much than before. Thanks, Forrest # php -v PHP Warning: PHP Startup: pdf: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: session: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: bz2: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: calendar: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: ctype: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: curl: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: pcre: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: SimpleXML: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: SPL: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: dom: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: exif: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: filter: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: ftp: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: gd: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: gettext: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: gmp: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: hash: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: iconv: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: imap: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: json: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: mcrypt: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: mhash: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: mysql: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=1, thread-safety=0 These options need to match in Unknown on line 0 Segmentation fault: 11 (core dumped) [root@mail /usr/local/lib/php]# gdb /usr/local/bin/php php.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `php'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libcrypt.so.3...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /lib/libm.so.4...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /usr/local/lib/libxml2.so.5...done. Loaded symbols for /usr/local/lib/libxml2.so.5 Reading symbols from /lib/libz.so.3...done. Loaded symbols for /lib/libz.so.3 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2870a7c3 in ?? () (gdb) bt #0 0x2870a7c3 in ?? () #1 0x285698fe in _UTF8_init () from /lib/libc.so.6 #2 0x285ee060 in _thread_autoinit_dummy_decl_stub () from /lib/libc.so.6 #3 0xbfbfe8d4 in ?? () #4 0x2828fd3e in elf_hash () from /libexec/ld-elf.so.1 #5 0x0813aa97 in php_error_cb (type=32, error_filename=0x827fb03 "Unknown", error_lineno=0, format=0x8262067 "%s", args=0xbfbfe4e8 "L\235*\b") at /usr/ports/lang/php5/work/php-5.2.5/main/main.c:822 #6 0x0818e12d in zend_error (type=32, format=0x8262067 "%s") at /usr/ports/lang/php5/work/php-5.2.5/Zend/zend.c:1048 #7 0x0813a821 in php_verror (docref=0x0, params=0x8261ac1 "", type=32, format=0x8254848 "Unable to load dynamic library '%s' - %s", args=0xbfbfe58c "\230¡*\b\200\a+( \224*\b") at /usr/ports/lang/php5/work/php-5.2.5/main/main.c:723 #8 0x0813a886 in php_error_docref0 (docref=0x0, type=32, format=0x8254848 "Unable to load dynamic library '%s' - %s") at /usr/ports/lang/php5/work/php-5.2.5/main/main.c:735 #9 0x080c64b0 in php_dl (file=0x82a2f08, type=1, return_value=0xbfbfe5f0, start_now=0) at /usr/ports/lang/php5/work/php-5.2.5/ext/standard/dl.c:152 #10 0x081426e5 in php_load_function_extension_cb (arg=0x82a2f08) at /usr/ports/lang/php5/work/php-5.2.5/main/php_ini.c:235 #11 0x08183b5f in zend_llist_apply (l=0x829ee1c, func=0x81426b7 ) at /usr/ports/lang/php5/work/php-5.2.5/Zend/zend_llist.c:375 #12 0x081433e1 in php_ini_register_extensions () at /usr/ports/lang/php5/work/php-5.2.5/main/php_ini.c:590 #13 0x0813cabb in php_module_startup (sf=0x829d620, additional_modules=0x0, num_additional_modules=0) at /usr/ports/lang/php5/work/php-5.2.5/main/main.c:1839 #14 0x081ff825 in php_cli_startup (sapi_module=0x829d620) at /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php_cli.c:358 #15 0x082004f1 in main (argc=2, argv=0xbfbfe8c8) at /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php_cli.c:717