php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11345 child pid 12260 exit signal Segmentation fault
Submitted: 2001-06-08 00:57 UTC Modified: 2001-06-23 00:17 UTC
From: lazybrain at rcn dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.5 OS: mandrake 7.1
Private report: No CVE-ID:
 [2001-06-08 00:57 UTC] lazybrain at rcn dot com
I dont know if this will reproduce for you,
but in the following line for me I forgot the
) at the end. I get "child pid 12260 exit signal Segmentation fault (11) " and have to restart apache
every time. If I add the ) it works which is good. I
hope this helps.

if(is_file("$root_dir/images/$cat/a/$file")  

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-08 14:18 UTC] sniper@php.net
I get a parse error. This must be part of some bigger script? Is this apache module/DSO?

--Jani

 [2001-06-09 01:54 UTC] lazybrain at rcn dot com
Hi, yeah its a dso module.  im running apache 1.3.19, php 4.0.5. And yeah that line was part
of a big script.  But that was the line that caused it. maybe if you add that
line to one of your big scripts it might crash. if you need anything else let me know.  I know the parse
error was my fault but the segmentation fault I thought I should report.  Keep
up the good work! peace out.


 [2001-06-09 16:24 UTC] sniper@php.net
Well, I get always a parse error with that line..
So it's something else that segfaults. 

Please try creating a GDB backtrace of the crash
but you have to configure PHP with --enable-debug to
get useful backtraces.

Get the latest PHP 4.0.6 release candidate from:

http://www.php.net/~andi/php-4.0.6RC3.tar.gz

And do this with it.

--Jani


 [2001-06-23 00:17 UTC] sniper@php.net
If you get the segfault with PHP 4.0.6, reopen this report
with GDB backtrace of the crash.

 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 17:01:54 2014 UTC