|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52943 iconv call causes core dump
Submitted: 2010-09-28 21:08 UTC Modified: 2013-02-18 00:34 UTC
Avg. Score:4.6 ± 0.8
Reproduced:5 of 5 (100.0%)
Same Version:3 (60.0%)
Same OS:4 (80.0%)
From: tzhang at bankofcanada dot ca Assigned:
Status: No Feedback Package: ICONV related
PHP Version: 5.3.3 OS: Solaris 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
42 - 32 = ?
Subscribe to this entry?

 [2010-09-28 21:08 UTC] tzhang at bankofcanada dot ca
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
$str = "économiques";
$str = iconv('UTF-8', 'UTF-8//IGNORE', $str);

print "$str\n";

$php test.php
Segmentation Fault (core dumped)

Test script:
$str = "économiques";
$str = iconv('UTF-8', 'UTF-8//IGNORE', $str);

print "$str\n";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-29 03:47 UTC]
-Status: Open +Status: Feedback
 [2010-09-29 03:47 UTC]
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 for *NIX and 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.
 [2011-01-11 04:36 UTC] jack at gmail dot com
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
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Oct 02 02:05:52 2022 UTC