#37111 [Com]: Apache crashes when strftime is called inside user defined session write func

From: Date: Thu, 07 Feb 2008 15:45:10 +0000
Subject: #37111 [Com]: Apache crashes when strftime is called inside user defined session write func
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-122074@lists.php.net to get a copy of this message
ID: 37111 Comment by: nego at mail dot ru Reported By: haakonsk at gmail dot com Status: No Feedback Bug Type: Date/time related Operating System: Windows XP PHP Version: 5.1.2 New Comment: Unfortunately, I have the same problem. How I can see this problem is not resolved and this topic is frozen 8-(. May be you have resolved this problem and I can't find it? Thank you. Previous Comments: ------------------------------------------------------------------------ [2006-08-04 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-07-27 09:27:06] derick@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] tony2001@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. ------------------------------------------------------------------------ [2006-07-27 01:57:25] sniper@php.net And I can not reproduce this with latest of everything on Linux. Bate: Provide the backtrace please. ------------------------------------------------------------------------ [2006-07-17 14:32:23] bate@php.net I can verify this bug. This happens too with latest of everything. (apache, php) This is also related to the pear::HTTP_Session2 package, because if you use this package you will get too an segfault under FreeBSD. I will provide a .core or backtrace later today. For both. WinXP and FreeBSD. (have to install MSVC) ------------------------------------------------------------------------ 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/37111 -- Edit this bug report at http://bugs.php.net/?id=37111&edit=1

« previous php.bugs (#122074) next »