Bug #67118 [Com]: php-cgi crashes regularly on IIS 7

From: Date: Fri, 25 Apr 2014 11:55:43 +0000
Subject: Bug #67118 [Com]: php-cgi crashes regularly on IIS 7
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185439@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67118&edit=1 ID: 67118 Comment by: per at interapp dot se Reported by: per at interapp dot se Summary: php-cgi crashes regularly on IIS 7 Status: Assigned Type: Bug Package: Reproducible crash Operating System: Windows 2008 R2 PHP Version: 5.5.11 Assigned To: ab Block user comment: N Private report: N New Comment: Hi, Can we help somehow with this issue? Or a possible workaround? BR Eric Previous Comments: ------------------------------------------------------------------------ [2014-04-25 09:08:22] per at interapp dot se Appears to also be reproducible on 5.2.17 and 5.3.28. BR Eric ------------------------------------------------------------------------ [2014-04-24 21:07:58] per at interapp dot se Hi, We can reproduce it every time with the following 2 php files, both through php-cgi as well as on the command line: http://blogg.jag.se/php5bug.zip Best Regards Eric ------------------------------------------------------------------------ [2014-04-24 20:01:09] per at interapp dot se To reproduce you need the Drupal contrib module Date installed in the sites/all/modules: https://drupal.org/project/date Occurs in file /sites/all/modules/date/date.module:235. You probably also need a content type with a date field on it, and some crappy data. BR Eric ------------------------------------------------------------------------ [2014-04-24 19:39:03] per at interapp dot se Hi, We now know that the last line called before crashing is: date_format($date, DATE_FORMAT_DATETIME); Where bin2hex($date) evaulates to 20. We can however not reproduce this by again running: date_format(hex2bin(20), "Y-m-d H:i:s"); But we can reproduce it by using the $date variable in the code. Do you guys have any ideas on how to proceed from here? Best Regards Eric ------------------------------------------------------------------------ [2014-04-24 12:20:25] per at interapp dot se It appears it's the Cron functionality of Drupal causing this. Installed the Cron Debug module to run cron tasks for modules individually. It almost always fails when running the cron job for the search module: http://domain/admin/config/system/cron/debug/run/search Will try to narrow this down even further. ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=67118 -- Edit this bug report at https://bugs.php.net/bug.php?id=67118&edit=1

« previous php.bugs (#185439) next »