#49582 [Fbk-Opn]: high load when PHP compiled using icc
ID: 49582 User updated by: 12985462 at QQ dot com Reported By: 12985462 at QQ dot com -Status: Feedback +Status: Open Bug Type: CGI related Operating System: Linux PHP Version: 5.2.10 New Comment: 5.2.11 2072 nobody25 0 61908 16m 11m R 50.0 6.4 5:58.69 php-cgi 2073 nobody25 0 61296 8376 3584 R 49.7 3.2 76:57.34 php-cgi I have removed -ip ,it's now nice working . Previous Comments: [2009-09-18 09:49:28] j...@php.net Does it happen with PHP 5.2.11? :) And also, WHAT exactly are you running? That isn't exactly high load either. And you also failed to explain the configuration. [2009-09-18 02:55:33] 12985462 at QQ dot com Description: I have tested php v5.2.10 and v5.3.10 and SVN. icc 10.0 10.1 11.0 11.1 and centos 5.3 32bit /ubuntu server 9.04 64bit. If php compiled with icc , server it's high load. like: 18532 nobody25 0 94012 15m 10m R 33.3 6.2 197:04.95 php-cgi 18533 nobody25 0 95032 20m 14m R 33.3 8.0 149:01.55 php-cgi 18534 nobody25 0 93312 7988 3668 R 33.0 3.0 212:03.38 php-cgi Reproduce code: --- compiled your php with icc as fastcgi mode: CFLAGS='-O2 -unroll2 -ip -march=core2 -xT' CXXFLAGS='-O2 -unroll2 -ip -restrict -fno-implicit-templates -fno-exceptions -fno-rtti -march=core2 -xT' ./configure --prefix=/var/webserver/php --with-config-file-path=/var/webserver/php/etc --with-mysql=/var/webserver/mysql --with-mysqli=/var/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-gd --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-mcrypt --with-mhash --without-pear --disable-debug --disable-ipv6 -march=core2 -xT it's optimizeing for intel core2 cpu. -- Edit this bug report at http://bugs.php.net/?id=49582edit=1
#49582 [Bgs]: high load when PHP compiled using icc
ID: 49582 User updated by: 12985462 at QQ dot com Reported By: 12985462 at QQ dot com Status: Bogus Bug Type: CGI related Operating System: Linux PHP Version: 5.2.11 New Comment: . it's icc optiminze bug for php code? submit to icc team or php team?? -_- I don't know. Previous Comments: [2009-09-18 12:34:03] j...@php.net User-error. Hint: Don't use options which you don't know how they work. [2009-09-18 12:30:56] j...@php.net So is it a bug in PHP or icc? What is -ip anyway? [2009-09-18 12:06:49] 12985462 at QQ dot com 5.2.11 2072 nobody25 0 61908 16m 11m R 50.0 6.4 5:58.69 php-cgi 2073 nobody25 0 61296 8376 3584 R 49.7 3.2 76:57.34 php-cgi I have removed -ip ,it's now nice working . [2009-09-18 09:49:28] j...@php.net Does it happen with PHP 5.2.11? :) And also, WHAT exactly are you running? That isn't exactly high load either. And you also failed to explain the configuration. [2009-09-18 02:55:33] 12985462 at QQ dot com Description: I have tested php v5.2.10 and v5.3.10 and SVN. icc 10.0 10.1 11.0 11.1 and centos 5.3 32bit /ubuntu server 9.04 64bit. If php compiled with icc , server it's high load. like: 18532 nobody25 0 94012 15m 10m R 33.3 6.2 197:04.95 php-cgi 18533 nobody25 0 95032 20m 14m R 33.3 8.0 149:01.55 php-cgi 18534 nobody25 0 93312 7988 3668 R 33.0 3.0 212:03.38 php-cgi Reproduce code: --- compiled your php with icc as fastcgi mode: CFLAGS='-O2 -unroll2 -ip -march=core2 -xT' CXXFLAGS='-O2 -unroll2 -ip -restrict -fno-implicit-templates -fno-exceptions -fno-rtti -march=core2 -xT' ./configure --prefix=/var/webserver/php --with-config-file-path=/var/webserver/php/etc --with-mysql=/var/webserver/mysql --with-mysqli=/var/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-gd --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-mcrypt --with-mhash --without-pear --disable-debug --disable-ipv6 -march=core2 -xT it's optimizeing for intel core2 cpu. -- Edit this bug report at http://bugs.php.net/?id=49582edit=1
#49582 [Bgs]: high load when PHP compiled using icc
ID: 49582 User updated by: 12985462 at QQ dot com Reported By: 12985462 at QQ dot com Status: Bogus Bug Type: CGI related Operating System: Linux PHP Version: 5.2.11 New Comment: [r...@cloud php-5.2.11]# icc --help | grep -e '-ip' -fast enable -xT -O3 -ipo -no-prec-div -static n=2 inline any function, at the compiler's discretion (same as -ip) inline any function, at the compiler's discretion (same as -ip) -ip enable single-file IP optimizations (within files) -ipo[n] enable multi-file IP optimizations (between files) -ipo-c generate a multi-file object file (ipo_out.o) -ipo-S generate a multi-file assembly file (ipo_out.s) -ip-no-inliningdisable full and partial inlining (requires -ip or -ipo) -ip-no-pinlining disable partial inlining (requires -ip or -ipo) -ipo-separate create one object file for every source file (overrides -ipo[n]) -ipo-jobsn specify the number of jobs to be executed simultaneously -iprefix prefix append dir to the prefix passed in by -iprefix and put it on Previous Comments: [2009-09-18 12:39:39] 12985462 at QQ dot com . it's icc optiminze bug for php code? submit to icc team or php team?? -_- I don't know. [2009-09-18 12:34:03] j...@php.net User-error. Hint: Don't use options which you don't know how they work. [2009-09-18 12:30:56] j...@php.net So is it a bug in PHP or icc? What is -ip anyway? [2009-09-18 12:06:49] 12985462 at QQ dot com 5.2.11 2072 nobody25 0 61908 16m 11m R 50.0 6.4 5:58.69 php-cgi 2073 nobody25 0 61296 8376 3584 R 49.7 3.2 76:57.34 php-cgi I have removed -ip ,it's now nice working . [2009-09-18 09:49:28] j...@php.net Does it happen with PHP 5.2.11? :) And also, WHAT exactly are you running? That isn't exactly high load either. And you also failed to explain the configuration. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/49582 -- Edit this bug report at http://bugs.php.net/?id=49582edit=1
#49582 [NEW]: high load!! if php with icc compiled!
From: 12985462 at QQ dot com Operating system: Linux PHP version: 5.2.10 PHP Bug Type: CGI related Bug description: high load!! if php with icc compiled! Description: I have tested php v5.2.10 and v5.3.10 and SVN. icc 10.0 10.1 11.0 11.1 and centos 5.3 32bit /ubuntu server 9.04 64bit. If php compiled with icc , server it's high load. like: 18532 nobody25 0 94012 15m 10m R 33.3 6.2 197:04.95 php-cgi 18533 nobody25 0 95032 20m 14m R 33.3 8.0 149:01.55 php-cgi 18534 nobody25 0 93312 7988 3668 R 33.0 3.0 212:03.38 php-cgi Reproduce code: --- compiled your php with icc as fastcgi mode: CFLAGS='-O2 -unroll2 -ip -march=core2 -xT' CXXFLAGS='-O2 -unroll2 -ip -restrict -fno-implicit-templates -fno-exceptions -fno-rtti -march=core2 -xT' ./configure --prefix=/var/webserver/php --with-config-file-path=/var/webserver/php/etc --with-mysql=/var/webserver/mysql --with-mysqli=/var/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-gd --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-mcrypt --with-mhash --without-pear --disable-debug --disable-ipv6 -march=core2 -xT it's optimizeing for intel core2 cpu. -- Edit bug report at http://bugs.php.net/?id=49582edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49582r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49582r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49582r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49582r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49582r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49582r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49582r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49582r=needscript Try newer version: http://bugs.php.net/fix.php?id=49582r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49582r=support Expected behavior: http://bugs.php.net/fix.php?id=49582r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49582r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49582r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49582r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49582r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=49582r=dst IIS Stability: http://bugs.php.net/fix.php?id=49582r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49582r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49582r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49582r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49582r=mysqlcfg
#46770 [Com]: Compile fails with Intel C + + Compiler 11.0
ID: 46770 Comment by: 12985462 at qq dot com Reported By: ryo dot wong at uplinuxes dot net Status: No Feedback Bug Type: Compile Failure Operating System: centos 5.2 64bit PHP Version: 5.2.8 New Comment: try changed 10.1 path to your 11.1 path. ln -s /opt/intel/cc/10.1.025/ /opt/intel/compiler echo /opt/intel/compiler/lib /etc/ld.so.conf.d/intel_lib.conf ldconfig or comiling mysql with '--with-mysqld-ldflags=-static-intel -static-libgcc' '--with-client-ldflags=-static-intel -static-libgcc' Previous Comments: [2009-01-29 01:00:09] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to Open. [2009-01-21 19:48:58] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ [2009-01-05 12:05:02] j...@php.net deleted huge copy'n'paste. Please keep those short. No need to paste every similar line in there.. [2008-12-09 23:16:01] roy dot wong at i010 dot com Without any intel icc environment mysql configure failed. checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... no checking for mysql_close in -lmysqlclient_r... no checking for mysql_error in -lmysqlclient_r... no configure: error: mysql configure failed. Please check config.log for more information. config.log: configure:59985: checking for mysql_close in -lmysqlclient_r configure:60004: gcc -o conftest -I/usr/local/include -g -O2 -pthread -D_REENTRANT -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lmysqlclient_r -lmhash -lmcrypt -lltdl -liconv -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -liconv -lm -lcurl -lxml2 -lz -liconv -lm 15 /usr/local/lib/libmysqlclient_r.a(client.o): In function `cli_read_rows': client.c:(.text+0x583): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(client.o): In function `mysql_real_connect': client.c:(.text+0x23bd): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(viosocket.o): In function `vio_read_buff': viosocket.c:(.text+0x2eb): undefined reference to `_intel_fast_memcpy' viosocket.c:(.text+0x344): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(net.o): In function `net_write_command': net.c:(.text+0x8bc): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(net.o):net.c:(.text+0x965): more undefined references to `_intel_fast_memcpy' follow /usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `fetch_long_with_conversion': libmysql.c:(.text+0x1962): undefined reference to `_intel_fast_memset' /usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `fetch_float_with_conversion': libmysql.c:(.text+0x1e82): undefined reference to `_intel_fast_memset' /usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `fetch_string_with_conversion': libmysql.c:(.text+0x221a): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `cli_read_binary_rows': libmysql.c:(.text+0x234d): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `store_param_str': libmysql.c:(.text+0x325f): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `store_param_datetime': libmysql.c:(.text+0x333f): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(libmysql.o): In function `store_param_date': libmysql.c:(.text+0x33d8): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(libmysql.o):libmysql.c:(.text+0x34b3): more undefined references to `_intel_fast_memcpy' follow /usr/local/lib/libmysqlclient_r.a(password.o): In function `check_scramble': password.c:(.text+0x21b): undefined reference to `_intel_fast_memcmp' /usr/local/lib/libmysqlclient_r.a(my_malloc.o): In function `my_strdup_with_length': my_malloc.c:(.text+0x27): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(my_malloc.o): In function `my_strdup': my_malloc.c:(.text+0x124): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(my_malloc.o): In function `my_memdup': my_malloc.c:(.text+0x156): undefined reference to `_intel_fast_memcpy' /usr/local/lib/libmysqlclient_r.a(my_alloc.o): In function `memdup_root
#49559 [NEW]: php: free(): invalid pointer: 0x0a48f6b0 ***
From: 12985462 at QQ dot com Operating system: CentOS 5.3 32bit PHP version: 5.2.10 PHP Bug Type: CGI related Bug description: php: free(): invalid pointer: 0x0a48f6b0 *** Description: OS:CentOS 5.3 CPU:Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz MEM:256M PHP Version:PHP 5.2.10 + Zend Optimizer v3.3.9 - SELinux is disabled!!! - Compiler : icc -V Intel(R) C Compiler for applications running on IA-32, Version 10.1 Build 20090817 Package ID: l_cc_p_10.1.025 Copyright (C) 1985-2009 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY - gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) --- compiling with CC=icc CXX=icpc CFLAGS='-O2 -unroll2 -ip -fp-model source -restrict -xW ' CXXFLAGS='-O2 -unroll2 -ip -fp-model source -restrict -fno-implicit-templates -fno-exceptions -fno-rtti -xW ' ./configure --prefix=/var/webserver/php --with-config-file-path=/var/webserver/php/etc --with-mysql=/var/webserver/mysql --with-mysqli=/var/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-gd --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-mcrypt --with-mhash --without-pear --disable-debug --disable-ipv6 php.ini [Zend] zend_extension=/var/webserver/zend/ZendOptimizer.so zend_optimizer.optimization_level=1023 ldd /var/webserver/php/bin/php libcrypt.so.1 = /lib/libcrypt.so.1 (0xb7f8f000) librt.so.1 = /lib/librt.so.1 (0xb7f86000) libmhash.so.2 = /usr/lib/libmhash.so.2 (0xb7f3f000) libmcrypt.so.4 = /usr/lib/libmcrypt.so.4 (0xb7f0c000) libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0xb7e8c000) libpng12.so.0 = /usr/lib/libpng12.so.0 (0xb7e66000) libz.so.1 = /usr/lib/libz.so.1 (0xb7e52000) libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb7e3) libcurl.so.3 = /usr/lib/libcurl.so.3 (0xb7df4000) libresolv.so.2 = /lib/libresolv.so.2 (0xb7de1000) libimf.so = /opt/intel/cc/10.1.025/lib/libimf.so (0xb7bb1000) libm.so.6 = /lib/libm.so.6 (0xb7b8a000) libnsl.so.1 = /lib/libnsl.so.1 (0xb7b72000) libxml2.so.2 = /usr/lib/libxml2.so.2 (0xb7a4) libssl.so.6 = /lib/libssl.so.6 (0xb79f9000) libcrypto.so.6 = /lib/libcrypto.so.6 (0xb78b9000) libdl.so.2 = /lib/libdl.so.2 (0xb78b5000) libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0xb7888000) libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0xb77f1000) libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0xb77cb000) libcom_err.so.2 = /lib/libcom_err.so.2 (0xb77c8000) libidn.so.11 = /usr/lib/libidn.so.11 (0xb7797000) libmysqlclient.so.16 = /var/webserver/mysql/lib/mysql/libmysqlclient.so.16 (0xb7641000) libtcmalloc_minimal.so.0 = /usr/local/lib/libtcmalloc_minimal.so.0 (0xb760e000) libiconv.so.2 = /usr/local/lib/libiconv.so.2 (0xb751) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb7504000) libc.so.6 = /lib/libc.so.6 (0xb73c) libpthread.so.0 = /lib/libpthread.so.0 (0xb73a9000) /lib/ld-linux.so.2 (0xb7fc7000) libkrb5support.so.0 = /usr/lib/libkrb5support.so.0 (0xb739f000) libkeyutils.so.1 = /lib/libkeyutils.so.1 (0xb739c000) libintlc.so.5 = /opt/intel/cc/10.1.025/lib/libintlc.so.5 (0xb7358000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb726f000) libselinux.so.1 = /lib/libselinux.so.1 (0xb7257000) libsepol.so.1 = /lib/libsepol.so.1 (0xb721) Expected result: /var/webserver/php/bin/php -v *** glibc detected *** /var/webserver/php/bin/php: free(): invalid pointer: 0x0a48f6b0 *** === Backtrace: = /lib/libc.so.6[0xb74210f1] /lib/libc.so.6(cfree+0x90)[0xb7424bc0] /var/webserver/zend/ZendOptimizer.so[0xb70d0111] === Memory map: 08048000-0869e000 r-xp 08:03 53182695 /var/webserver/php/bin/php
#49559 [Com]: php: free(): invalid pointer: 0x0a48f6b0 ***
ID: 49559 Comment by: 12985462 at QQ dot com Reported By: 12985462 at QQ dot com Status: Feedback Bug Type: CGI related Operating System: CentOS 5.3 32bit PHP Version: 5.2.10 New Comment: Zend optimizer Removed ,it's working! Previous Comments: [2009-09-15 06:19:56] paj...@php.net Please remove the Zend optimizer and try again. [2009-09-15 06:16:55] 12985462 at QQ dot com Description: OS:CentOS 5.3 CPU:Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz MEM:256M PHP Version:PHP 5.2.10 + Zend Optimizer v3.3.9 - SELinux is disabled!!! - Compiler : icc -V Intel(R) C Compiler for applications running on IA-32, Version 10.1 Build 20090817 Package ID: l_cc_p_10.1.025 Copyright (C) 1985-2009 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY - gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) --- compiling with CC=icc CXX=icpc CFLAGS='-O2 -unroll2 -ip -fp-model source -restrict -xW ' CXXFLAGS='-O2 -unroll2 -ip -fp-model source -restrict -fno-implicit-templates -fno-exceptions -fno-rtti -xW ' ./configure --prefix=/var/webserver/php --with-config-file-path=/var/webserver/php/etc --with-mysql=/var/webserver/mysql --with-mysqli=/var/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-gd --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-mcrypt --with-mhash --without-pear --disable-debug --disable-ipv6 php.ini [Zend] zend_extension=/var/webserver/zend/ZendOptimizer.so zend_optimizer.optimization_level=1023 ldd /var/webserver/php/bin/php libcrypt.so.1 = /lib/libcrypt.so.1 (0xb7f8f000) librt.so.1 = /lib/librt.so.1 (0xb7f86000) libmhash.so.2 = /usr/lib/libmhash.so.2 (0xb7f3f000) libmcrypt.so.4 = /usr/lib/libmcrypt.so.4 (0xb7f0c000) libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0xb7e8c000) libpng12.so.0 = /usr/lib/libpng12.so.0 (0xb7e66000) libz.so.1 = /usr/lib/libz.so.1 (0xb7e52000) libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb7e3) libcurl.so.3 = /usr/lib/libcurl.so.3 (0xb7df4000) libresolv.so.2 = /lib/libresolv.so.2 (0xb7de1000) libimf.so = /opt/intel/cc/10.1.025/lib/libimf.so (0xb7bb1000) libm.so.6 = /lib/libm.so.6 (0xb7b8a000) libnsl.so.1 = /lib/libnsl.so.1 (0xb7b72000) libxml2.so.2 = /usr/lib/libxml2.so.2 (0xb7a4) libssl.so.6 = /lib/libssl.so.6 (0xb79f9000) libcrypto.so.6 = /lib/libcrypto.so.6 (0xb78b9000) libdl.so.2 = /lib/libdl.so.2 (0xb78b5000) libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0xb7888000) libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0xb77f1000) libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0xb77cb000) libcom_err.so.2 = /lib/libcom_err.so.2 (0xb77c8000) libidn.so.11 = /usr/lib/libidn.so.11 (0xb7797000) libmysqlclient.so.16 = /var/webserver/mysql/lib/mysql/libmysqlclient.so.16 (0xb7641000) libtcmalloc_minimal.so.0 = /usr/local/lib/libtcmalloc_minimal.so.0 (0xb760e000) libiconv.so.2 = /usr/local/lib/libiconv.so.2 (0xb751) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb7504000) libc.so.6 = /lib/libc.so.6 (0xb73c) libpthread.so.0 = /lib/libpthread.so.0 (0xb73a9000) /lib/ld-linux.so.2 (0xb7fc7000) libkrb5support.so.0 = /usr/lib/libkrb5support.so.0 (0xb739f000) libkeyutils.so.1 = /lib/libkeyutils.so.1 (0xb739c000) libintlc.so.5 = /opt/intel/cc/10.1.025/lib/libintlc.so.5 (0xb7358000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb726f000) libselinux.so.1 = /lib/libselinux.so.1 (0xb7257000) libsepol.so.1 = /lib/libsepol.so.1 (0xb721) Expected result: /var
#49559 [Com]: php: free(): invalid pointer: 0x0a48f6b0 ***
ID: 49559 Comment by: 12985462 at QQ dot com Reported By: 12985462 at QQ dot com Status: Feedback Bug Type: CGI related Operating System: CentOS 5.3 32bit PHP Version: 5.2.10 New Comment: Fixed! I have remake mysql with '--disable-thread-safe-client' Zend Optimizer it's working!!with '--enable-thread-safe-client' Zend Optimizer it's can't working. In Zend 3.3.9 don't support thread-safe,The Zend 3.3.9 don't include TS edition. working : ./configure --prefix='/var/webserver/mysql' '--libexecdir=/var/webserver/mysql/bin' '--with-comment=MySQL Server XTM Edition(GPL)''--disable-thread-safe-client' '--enable-local-infile' '--enable-assembler' '--with-pic' '--with-readline' '--without-debug' '--with-unix-socket-path=/tmp/mysqld.sock' '--with-extra-charsets=complex' CFLAGS='-O2 -unroll2 -ip -xW' CXXFLAGS='-O2 -unroll2 -ip -fno-implicit-templates -fno-exceptions -fno-rtti -xW' '--with-low-memory' '--without-server' make Previous Comments: [2009-09-15 10:56:26] 12985462 at QQ dot com Zend optimizer Removed ,it's working! [2009-09-15 06:19:56] paj...@php.net Please remove the Zend optimizer and try again. [2009-09-15 06:16:55] 12985462 at QQ dot com Description: OS:CentOS 5.3 CPU:Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz MEM:256M PHP Version:PHP 5.2.10 + Zend Optimizer v3.3.9 - SELinux is disabled!!! - Compiler : icc -V Intel(R) C Compiler for applications running on IA-32, Version 10.1 Build 20090817 Package ID: l_cc_p_10.1.025 Copyright (C) 1985-2009 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY - gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) --- compiling with CC=icc CXX=icpc CFLAGS='-O2 -unroll2 -ip -fp-model source -restrict -xW ' CXXFLAGS='-O2 -unroll2 -ip -fp-model source -restrict -fno-implicit-templates -fno-exceptions -fno-rtti -xW ' ./configure --prefix=/var/webserver/php --with-config-file-path=/var/webserver/php/etc --with-mysql=/var/webserver/mysql --with-mysqli=/var/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-gd --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-mcrypt --with-mhash --without-pear --disable-debug --disable-ipv6 php.ini [Zend] zend_extension=/var/webserver/zend/ZendOptimizer.so zend_optimizer.optimization_level=1023 ldd /var/webserver/php/bin/php libcrypt.so.1 = /lib/libcrypt.so.1 (0xb7f8f000) librt.so.1 = /lib/librt.so.1 (0xb7f86000) libmhash.so.2 = /usr/lib/libmhash.so.2 (0xb7f3f000) libmcrypt.so.4 = /usr/lib/libmcrypt.so.4 (0xb7f0c000) libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0xb7e8c000) libpng12.so.0 = /usr/lib/libpng12.so.0 (0xb7e66000) libz.so.1 = /usr/lib/libz.so.1 (0xb7e52000) libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0xb7e3) libcurl.so.3 = /usr/lib/libcurl.so.3 (0xb7df4000) libresolv.so.2 = /lib/libresolv.so.2 (0xb7de1000) libimf.so = /opt/intel/cc/10.1.025/lib/libimf.so (0xb7bb1000) libm.so.6 = /lib/libm.so.6 (0xb7b8a000) libnsl.so.1 = /lib/libnsl.so.1 (0xb7b72000) libxml2.so.2 = /usr/lib/libxml2.so.2 (0xb7a4) libssl.so.6 = /lib/libssl.so.6 (0xb79f9000) libcrypto.so.6 = /lib/libcrypto.so.6 (0xb78b9000) libdl.so.2 = /lib/libdl.so.2 (0xb78b5000) libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0xb7888000) libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0xb77f1000) libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0xb77cb000) libcom_err.so.2 = /lib/libcom_err.so.2 (0xb77c8000) libidn.so.11 = /usr/lib/libidn.so.11 (0xb7797000