|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-02-26 16:32 UTC] dg at artegic dot de
Description: ------------ APC fails all tests. Apache 2.0.59 segfaults if started with apc enabled after installing the shared lib. PHP 5.2.1 configured with './configure' '--disable-all' '--enable-thread-safety' '-- enable-static' '--enable-shared' '--enable-sockets' '--enabl e-session' '--enable-libxml' '--enable-xml' '--with-libxml- dir=/usr/local/lib' '--enable-dom' '--with-pcre-regex' '-- enable-mbregex' '--enab le-zts' '--enable-pcntl' '--with-mysql=/usr/local/mysql' '-- with-apxs2=/usr/local/apache2/bin/apxs' '--with-openssl' '-- enable-cgi' '--with- zlib' '--with-png' '--with-jpeg' '--with-gd' '--with- freetype' '--enable-gd-native-ttf' '--with-curl' '--with- iconv' '--with-curlwrappers' ' --enable-mbstring' '--with-tidy' '--enable-zend-multibyte' '--without-pear' '--without-sqlite' '--disable-ipv6' '-- disable-pdo' '--without-s qlite' '--without-pdo-sqlite' Reproduce code: --------------- >phpize >./configure --enable-apc-mmap --with-apxs=/usr/local/apache2/bin/apxs --with-php-config=/usr/local/bin/php-config >make test ... FAIL APC: apc_store/fetch with strings [tests/apc_001.phpt] FAIL APC: apc_store/fetch with objects [tests/apc_002.phpt] FAIL APC: apc_store/fetch with objects [tests/apc_003.phpt] Expected result: ---------------- APC 3.0.12p2 works just fine in the same configuration... Actual result: -------------- Sorry - no GDB on this machine. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 04:00:01 2025 UTC |
Similiar situation, except solaris 8 SunOS xxxx 5.8 Generic_117350-45 sun4u sparc SUNW,Sun-Fire-V240 Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.8d PHP/5.2.3 Phpize output: Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 PHP ./configure line: './configure' \ '--prefix=/sites/asman/php-5.2.3' \ '--with-apxs2=/sites/openldap/apache/bin/apxs' \ '--with-oci8=/sites/asman/oracle/product/10.2.0/client_1' \ '--with-pdo-oci=/sites/asman/oracle/product/10.2.0/client_1' \ '--with-ldap=/sites/openldap/openLdap' \ '--with-zlib=/usr/local' \ APC ./configure line: './configure' \ '--enable-apc' \ '--enable-apc-mmap' \ '--with-apxs=/sites/openldap/apache/bin/apxs' \ '--with-php-config=/sites/asman/php-5.2.3/bin/php-config' All tests fail in the same way as below. PHP coredumps when running 'make test'. #0 0xfda5946c in my_copy_zend_op (dst=0xfb00a0e4, src=0x42c230, allocate=0xfda5e6f0 <apc_sma_malloc>, deallocate=0xfda5e9dc <apc_sma_free>) at /sites/asman/APC-3.0.14/apc_compile.c:391 #1 0xfda5a930 in apc_copy_op_array (dst=0xfb009fec, src=0x42c0d0, allocate=0xfda5e6f0 <apc_sma_malloc>, deallocate=0xfda5e9dc <apc_sma_free>) at /sites/asman/APC-3.0.14/apc_compile.c:1256 #2 0xfda5d350 in my_compile_file (h=0xffbefa58, type=8) at /sites/asman/APC-3.0.14/apc_main.c:418 #3 0x2748c4 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /sites/asman/php-5.2.3/Zend/zend.c:1126 #4 0x22ea18 in php_execute_script (primary_file=0xffbefa58) at /sites/asman/php-5.2.3/main/main.c:1794 #5 0x3289a0 in main (argc=55, argv=0xffbefaf4) at /sites/asman/php-5.2.3/sapi/cli/php_cli.c:1138 The problem exists in 3.0.14, 3.0.13, but not in 3.0.12p2.