Edit report at http://bugs.php.net/bug.php?id=37111&edit=1

 ID:               37111
 Updated by:       fel...@php.net
 Reported by:      haakonsk at gmail dot com
 Summary:          Apache crashes when strftime is called inside user
                   defined session write func
-Status:           Assigned
+Status:           Feedback
 Type:             Bug
 Package:          Date/time related
 Operating System: *
 PHP Version:      5.*, 6CVS (2008-11-11)
 Assigned To:      tony2001

 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------
[2009-11-28 01:23:53] j...@php.net

Antony, since you could reproduce this (?), can you try this patch:



  http://pecl.php.net/~jani/patches/bug37111.patch



------------------------------------------------------------------------
[2008-11-02 12:35:26] j...@php.net

Derick, would you mind responding to my comment above?

------------------------------------------------------------------------
[2008-02-15 00:11:11] j...@php.net

Why can't this be fixed by making ext/date the last extension to be
unloaded? ie. simply rename config.m4 to config9.m4 :) (dunno how to do
it for the windows build..does it have the same method of simple
rename?)

------------------------------------------------------------------------
[2006-07-27 09:27:06] der...@php.net

But as we can't just run it at the end... I would say there is a more
fundamental problem here...

------------------------------------------------------------------------
[2006-07-27 06:32:34] tony2...@php.net

AFAIK I told Derick what should be the reason: ext/date shutdowns and
frees all resources before ext/session, so strftime() will access
already freed timezonedb and other ext/date resources.

I'd say this is more ext/date related, as I suppose it's mshutdown
handler should be run at the very end.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=37111


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=37111&edit=1

Reply via email to