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

 ID:                 52943
 Updated by:         fel...@php.net
 Reported by:        tzhang at bankofcanada dot ca
 Summary:            iconv call causes core dump
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            ICONV related
 Operating System:   Solaris 10
 PHP Version:        5.3.3
 Block user comment: N

 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

I can't reproduce this.


Previous Comments:
------------------------------------------------------------------------
[2010-09-28 21:08:47] tzhang at bankofcanada dot ca

Description:
------------
I have PHP 5.3.3 and libiconv 1.13 on a Solaris machine.



When I run the following script. it coredumps.

The same script runs fine with PHP 5.2.6 and libiconv 1.11.



$ more test.php

<?php

$str = "économiques";

$str = iconv('UTF-8', 'UTF-8//IGNORE', $str);



print "$str\n";

?>





$php test.php

Segmentation Fault (core dumped)





Test script:
---------------
<?php

$str = "économiques";

$str = iconv('UTF-8', 'UTF-8//IGNORE', $str);



print "$str\n";

?>



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



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

Reply via email to