#37111 [Opn]: Apache crashes when strftime is called inside user defined session write func
ID: 37111 Updated by: [EMAIL PROTECTED] Reported By: haakonsk at gmail dot com Status: Open Bug Type: Session related Operating System: Windows XP PHP Version: 5.1.2 New Comment: And I can not reproduce this with latest of everything on Linux. Bate: Provide the backtrace please. Previous Comments: [2006-07-17 14:32:23] [EMAIL PROTECTED] 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) [2006-05-18 03:05:11] pnoster at mail dot ru Forgot to add, I experienced this error on Windows Server 2003 SP1. [2006-05-18 03:02:50] pnoster at mail dot ru Same problem with PHP 5.1.4/Apache 2.0.58! I cannot generate a backtrace right now, but the error can be reproduced with osCommerce 2.2-MS2 (www.oscommerce.com) with 'Store Database Queries' set to 'true' in Admin panel. strftime() that causes the error resides in catalog\admin\includes\classes\logger.php (line 50). The crach happens almost everytime on the main admin page. Thank you for fixing this bug in advance. [2006-05-10 10:58:50] haakonsk at gmail dot com Same problem with PHP5.1.2/Apache1.3.35. [2006-05-04 19:48:27] haakonsk at gmail dot com Apache version is 1.3.33 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
#37111 [Opn]: Apache crashes when strftime is called inside user defined session write func
ID: 37111 Updated by: [EMAIL PROTECTED] Reported By: haakonsk at gmail dot com Status: Open Bug Type: Session related Operating System: Windows XP PHP Version: 5.1.2 New Comment: 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) Previous Comments: [2006-06-24 23:05:53] haakonsk at gmail dot com What is MSVC6 short for and where can I download it? [2006-06-20 17:26:14] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. [2006-06-20 16:56:31] haakonsk at gmail dot com Same problem still, unfortunately. [2006-06-20 15:10:05] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip [2006-05-18 03:05:11] pnoster at mail dot ru Forgot to add, I experienced this error on Windows Server 2003 SP1. 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
#37111 [Opn]: Apache crashes when strftime is called inside user defined session write func
ID: 37111 User updated by: haakonsk at gmail dot com Reported By: haakonsk at gmail dot com Status: Open Bug Type: Session related Operating System: Windows XP PHP Version: 5.1.2 New Comment: Same problem with PHP5.1.2/Apache1.3.35. Previous Comments: [2006-05-04 19:48:27] haakonsk at gmail dot com Apache version is 1.3.33 [2006-05-04 19:43:56] [EMAIL PROTECTED] Please clarify Apache version. [2006-05-04 07:02:14] haakonsk at gmail dot com I haven't been able to generate the backtrace (need help/directions). This problem is also present with PHP5.1.3. Complete code example (result: apache crashes): [2006-05-01 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-04-23 17:24:17] [EMAIL PROTECTED] The debug pack is now accessible again. Please provide the backtrace. 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
#37111 [Opn]: Apache crashes when strftime is called inside user defined session write func
ID: 37111 User updated by: haakonsk at gmail dot com Reported By: haakonsk at gmail dot com Status: Open Bug Type: Session related Operating System: Windows XP PHP Version: 5.1.2 New Comment: Apache also crashes when getdate or date is called instead of strftime. However, the "time" function does not cause Apache to crash. Previous Comments: [2006-04-17 19:21:49] haakonsk at gmail dot com Description: Apache crashes when strftime is called inside a user-defined session write function. It doesn't seem to be a problem for the other user-defined session functions (at least not open, close or read). Reproduce code: --- session_set_save_handler('sess_open', 'sess_close', 'sess_read', 'sess_write', 'sess_destroy', 'sess_gc'); function sess_write($id, $sess_data) { $time = strftime("%d %b %Y %H:%M:%S"); return true; } Expected result: No crash Actual result: -- Apache crashes. -- Edit this bug report at http://bugs.php.net/?id=37111&edit=1