From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461; .NET CLR 1.0.3705) Description of problem: date('r') in some timezones causes apache to segfault Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.set timezone +0930 2.use date('r') in PHP script 3. Actual Results: Apache segfaults [Sun Jun 23 10:05:15 2002] [notice] child pid 1508 exit signal Segmentation fault (11) [Sun Jun 23 10:05:15 2002] [notice] child pid 1507 exit signal Segmentation fault (11) Expected Results: No Segfault Additional info: See bug report at http://bugs.php.net/bug.php?id=15362 If I replace date('r') with strftime('%a, %e %b %Y %T %z') in my scripts apache does not segfault.
php-4.0.6-15 on RedHat 7.2 exhibits the same behaviour.
php-4.2.1-6 on Limbo also exhibits the above behaviour.
php-4.1.2-0horde1 custom rpm from IMP ( Horde ) webmail System on Red Hat 7.2 and php-4.1.2-7 on Red Hat 7.3 exibit the same behaviour. I came across this bug while testing the IMP Webmail System.
Thanks for the report. This is a mass bug update; since this release of Red Hat Linux is no longer supported, please either: a) try and reproduce the bug with a supported version of Red Hat Enterprise Linux or Fedora Core, and re-open this bug as appropriate after changing the Product field, or, b) if relevant, try and reproduce this bug using the current version of the upstream package, and report the bug upstream. c) report the bug to the Fedora Legacy project who may wish to continue maintenance of this package.