ID:               43235
 Comment by:       mlaster at wolrdsynergy dot com
 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:

So I am getting this same error. I uploaded my information. from the
make test. I am guessing its ok to install?


Previous Comments:
------------------------------------------------------------------------

[2008-12-12 17:02:18] bugsdotphpdotnet at ominian dot net

Experiencing the same problem but the weird part is visually I can't
see why the tests fail.  I've copied and pasted the test's code and ran
it, copied the output and run diff against the test expected result and
the test script output... no difference?

$ TEST_PHP_EXECUTABLE='sapi/cli/php' sapi/cli/php -c /etc/php5/php.ini
run-tests.php -c /etc/php5/php.ini ext/iconv/tests/bug16069.phpt

=====================================================================
PHP         : sapi/cli/php
PHP_SAPI    : cli
PHP_VERSION : 5.2.6
ZEND_VERSION: 2.2.0
PHP_OS      : Linux - Linux fozzie 2.6.18-53.1.6.el5 #1 SMP Wed Jan 23
11:28:47 EST 2008 x86_64
INI actual  : /etc/php5/php.ini
More .INIs  :
CWD         : /home/davidw/packages/php-5.2.6
Extra dirs  :
=====================================================================
Running selected tests.
FAIL Bug #16069 (ICONV transliteration failure)
[ext/iconv/tests/bug16069.phpt]
=====================================================================
Number of tests :    1                 1
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (100.0%) (100.0%)
Tests passed    :    0 (  0.0%) (  0.0%)
---------------------------------------------------------------------
Time taken      :    0 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #16069 (ICONV transliteration failure)
[ext/iconv/tests/bug16069.phpt]
=====================================================================

Digging into it, I don't think this is a problem with PHP or the
testing harness but with how Centos 5 handles unicode characters.  It
looks like it converts the unicode characters to hexidecimal
representation but not the php output.

------------------------------------------------------------------------

[2007-12-22 07:05:26] morgon at mygamercard dot net

Experiencing same issue on new CentOS 5 install.

[r...@card3 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

------------------------------------------------------------------------

[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".

------------------------------------------------------------------------

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/43235

-- 
Edit this bug report at http://bugs.php.net/?id=43235&edit=1

Reply via email to