|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-03 22:50 UTC] iliaa@php.net
[2005-05-04 00:11 UTC] majoros at inma dot ucl dot ac dot be
[2005-05-04 00:28 UTC] majoros at inma dot ucl dot ac dot be
[2005-05-04 09:55 UTC] majoros at inma dot ucl dot ac dot be
[2005-05-04 09:56 UTC] majoros at inma dot ucl dot ac dot be
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 12:00:01 2025 UTC |
Description: ------------ PHP is crashing on some page (segfault), at least on two servers. It crashes when I try to create a new array element (see code), not always, but always in the same conditions. Same with 4.3.10, 4.3.11 and latest cvs. configure: './configure' '--with-apxs2' '--with-iconv' Reproduce code: --------------- while ($res=$result->fetchRow(DB_FETCHMODE_ASSOC)) { // TODO: make iconv optional foreach ($res as $key=>$val) $res[$key]=iconv("ISO-8859-1","UTF-8",$val); ////// CRASHING ON FOLLOWING LINE AFTER 5 ITERATIONS (DATA DEPENDANT) $wikireq[$id][]=$res; } Expected result: ---------------- should not crash! Actual result: -------------- crash boom, this line in apache error.log: [Tue May 03 19:33:21 2005] [notice] child pid 10313 exit signal Segmentation fault (11)