Bug #13110: Bus Error or Segmentation Fault With apache 1.3.20 in solaris8
| From: | skarges at himalaya-corp dot com | Date: | Mon, 03 Sep 2001 15:29:07 +0000 |
| Subject: | Bug #13110: Bus Error or Segmentation Fault With apache 1.3.20 in solaris8 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-64971@lists.php.net to get a copy of this message | ||
From: skarges@himalaya-corp.com
Operating system: Solaris8
PHP version: 4.0.6
PHP Bug Type: Apache related
Bug description: Bus Error or Segmentation Fault With apache 1.3.20 in solaris8
for ($rub=0; $rub<$nb_news; $rub++)
{
// dans le cas ou cette rubrique est selectionnee
if
(isset($tab_attributs["id_liste_newletterthemes_".$themes[$rub]["id_themes"]])
and $tab_attributs["id_liste_newletterthemes_".$themes[$rub]["id_themes"]]
!= "")
$check = "CHECKED";
else
$check = "";
$liste_elem =
GetListElements($tab_attributs["id_liste_newletterthemes_".$themes[$rub]["id_themes"]]);
debug(sizeof($liste_elem));
for ($i=0; $i<sizeof($liste_elem); $i++)
{
if ($i==0)
$elemrub = $liste_elem[$i]["value"];
else
$elemrub .= ",".$liste_elem[$i]["value"];
}
$tmpl->set_var( array("ID_THEME" =>
$themes[$rub]["id_themes"],
"NUM_RUB" => $rub,
"LISTE_RUB" => $elemrub,
"ACCROCHE_THEME" =>
afficherTexte($tab_attributs["accrochethemes_".$themes[$rub]["id_themes"]]),
"THEME_CHECKED" => $check,
"THEME_NAME" =>
afficherTexte($themes[$rub]["name"])) );
$tmpl->parse("rubriques", "rub", true);
}
if in this loop the number of element is $nb_news = 1.
here 20,1,138 before enter loop an Bus error or a segmentation fault is
generate in Apache log under Solaris8
--
Edit bug report at: http://bugs.php.net/?id=13110&edit=1