Bug #52943 [Com]: iconv call causes core dump
| From: | jack at gmail dot com | Date: | Tue, 11 Jan 2011 03:37:01 +0000 |
| Subject: | Bug #52943 [Com]: iconv call causes core dump | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157809@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52943&edit=1
ID: 52943
Comment by: jack at gmail dot com
Reported by: tzhang at bankofcanada dot ca
Summary: iconv call causes core dump
Status: Feedback
Type: Bug
Package: ICONV related
Operating System: Solaris 10
PHP Version: 5.3.3
Block user comment: N
Private report: N
New Comment:
if you install with source code, before make, replace ext/iconv with
same folder in PHP-5.2.0
succeeded in PHP-5.2.16 on solaris 10 sparc
Previous Comments:
------------------------------------------------------------------------
[2010-09-29 03:47:35] felipe@php.net
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.
------------------------------------------------------------------------
[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