Re: Bug #1710: split() causes seg fault
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Bug #1710: split() causes seg fault | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-8468@lists.php.net to get a copy of this message | ||
> From: evan715@sirius.com
> Operating system: Red Hat Linux 6.0
> PHP version: 3.0.11
> PHP Bug Type: Misbehaving function
> Bug description: split() causes seg fault
>
> When I try to run the following PHP script, I get:
>
> [notice] child pid 13881 exit signal Segmentation fault (11)
>
>
> <?
> $file = file("alert");
> for($i = 0; $i < sizeof($file); $i++)
> $action = split(":",$file[$i]);
> echo $action[1];
> ?>
>
> The file does exist and I cannot get any other information out of this. Thank you.
We'd need the contents of your alert file to track this one down. I tried
it on an RH6 box with just some random : delimited data in the alert file
and it worked fine.
-Rasmus