ID: 43235 Comment by: morgon at mygamercard dot net Reported By: gashev at zahav dot net dot il Status: No Feedback Bug Type: ICONV related Operating System: Debian etch PHP Version: 5.2.5 New Comment:
Experiencing same issue on new CentOS 5 install. [EMAIL PROTECTED] php-5.2.5]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.00GHz stepping : 3 cpu MHz : 2992.868 cache size : 2048 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr bogomips : 5988.37 (Snip - two processors) Also, this may be related - I had previously had this build running (I admit I'm not a big 'make test'er) and would get all sorts of faults which seem to indicate a problem between PHP 5.2.5 and glibc *** glibc detected *** /usr/bin/php-cgi: malloc(): memory corruption (fast): 0x096fd108 *** ======= Backtrace: ========= /lib/libc.so.6[0x3ee631] /lib/libc.so.6(__libc_malloc+0x7e)[0x3ef2ee] /lib/libc.so.6(__strdup+0x30)[0x3f3d20] /usr/bin/php-cgi(fcgi_putenv+0x2f)[0x830e58f] /usr/bin/php-cgi[0x8310b39] /usr/bin/php-cgi(main+0x1590)[0x8312160] /lib/libc.so.6(__libc_start_main+0xdc)[0x39cdec] /usr/bin/php-cgi(xmlTextReaderConstName+0x149)[0x80b5471] gcc version 4.1.2(-14.el5) glibc version 2.5(-18.el5_1.1) Configure.. messy, but that's what I want: ./configure --prefix=/usr --with-config-file-path=/etc --enable-fastcgi --enable-force-cgi-redirect --enable-force-redirect --enable-discard-path --disable-ipv6 --with-openssl --with-zlib --with-bz2 --with-curl --enable-mbstring --with-mysqli=/usr/bin/mysql_config --disable-pdo --without-sqlite --with-gd --with-ttf --with-freetype-dir=/usr/local/lib --enable-gd-native-ttf --with-jpeg-dir --with-png-dir --enable-memcache --enable-inline-optimization --disable-debug Previous Comments: ------------------------------------------------------------------------ [2007-11-26 13:41:41] pete at partnercomm dot com Sorry - additional info: Configure line: ./configure --with-iconv --enable-mbstring=all --enable-mbregex --with-apxs2=/usr/local/apache2/bin/apxs --with-gettext --with-imap=/usr/local/imap-2006k/ --with-imap-ssl --with-mcrypt --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --with-openssl --with-gd --with-kerberos --with-mime-magic=/usr/share/file/magic.mime I can provide the config.log if that would be helpful, though I didn't see anything of interest in there. ------------------------------------------------------------------------ [2007-11-26 13:33:52] pete at partnercomm dot com ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 48 Exts tested : 31 --------------------------------------------------------------------- Number of tests : 4566 3159 Tests skipped : 1407 ( 30.8%) -------- Tests warned : 3 ( 0.1%) ( 0.1%) Tests failed : 3 ( 0.1%) ( 0.1%) Tests passed : 3153 ( 69.1%) ( 99.8%) --------------------------------------------------------------------- Time taken : 210 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #16069 (ICONV transliteration failure) [ext/iconv/tests/bug16069.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15) [ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly braindead libc) htmlentities() test 4 (setlocale / ja_JP.EUC-JP) [ext/standard/tests/strings/htmlentities04.phpt] (warn: possibly braindead libc) htmlentities() test 15 (setlocale / KOI8-R) [ext/standard/tests/strings/htmlentities15.phpt] (warn: possibly braindead libc) Test setlocale() function : usage variations - Setting all available locales in the platform [ext/standard/tests/strings/setlocale_variation2.phpt] ===================================================================== This is from running the "make test" script. Using GCC 4.1.2: Thread model: posix gcc version 4.1.2 20070925 (Red Hat 4.1.2-27) System is Fedora 7. Kernel: Linux evolution.partnercomm.com 2.6.23.1-21.fc7 #1 SMP Thu Nov 1 21:09:24 EDT 2007 i686 i686 i386 GNU/Linux ------------------------------------------------------------------------ [2007-11-18 01:00:00] 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". ------------------------------------------------------------------------ [2007-11-10 22:16:51] [EMAIL PROTECTED] Exactly how do these fail..? ------------------------------------------------------------------------ [2007-11-10 15:20:43] gashev at zahav dot net dot il Description: ------------ TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 53 Exts tested : 26 --------------------------------------------------------------------- Number of tests : 4566 3131 Tests skipped : 1435 ( 31.4%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 10 ( 0.2%) ( 0.3%) Tests passed : 3121 ( 68.4%) ( 99.7%) --------------------------------------------------------------------- Time taken : 462 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #16069 (ICONV transliteration failure) [ext/iconv/tests/bug16069.phpt] iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt] money_format test [ext/standard/tests/strings/moneyformat.phpt] Test setlocale() function : basic functionality - setting system locale to a specific [ext/standard/tests/strings/setlocale_basic1.phpt] Test setlocale() function : basic functionality - set locale using an array [ext/standard/tests/strings/setlocale_basic2.phpt] Test setlocale() function : basic functionality - passing multiple locales as argument [ext/standard/tests/strings/setlocale_basic3.phpt] Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument [ext/standard/tests/strings/setlocale_variation1.phpt] Test setlocale() function : usage variations - setting system locale = 0 [ext/standard/tests/strings/setlocale_variation3.phpt] Test setlocale() function : usage variations - setting system locale as null [ext/standard/tests/strings/setlocale_variation4.phpt] Test setlocale() function : usage variations - Setting system locale as empty string [ext/standard/tests/strings/setlocale_variation5.phpt] Reproduce code: --------------- './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql=/home/oleg/mysql' '--enable-mbstring' '--with-zlib' '--with-gd' '--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' make all make test ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43235&edit=1
