|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61166 PHP crashing (Drupal site)
Submitted: 2012-02-22 17:57 UTC Modified: 2013-02-18 00:35 UTC
Avg. Score:4.7 ± 0.6
Reproduced:11 of 11 (100.0%)
Same Version:4 (36.4%)
Same OS:6 (54.5%)
From: guaycuru at gmail dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.3SVN-2012-02-22 (snap) OS: Windows 7 x64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: guaycuru at gmail dot com
New email:
PHP Version: OS:


 [2012-02-22 17:57 UTC] guaycuru at gmail dot com
PHP 5.3.10 (from )
I tried a clean install with just the basic modules, and the crash still 
happens, so it's not module related.
Whenever I try to load my Drupal website (which works fine on Linux), PHP 
crashes. If I'm laoding via apache, I get a "Connection reset" error, with 
windows reporting that apache restartted because of a php5ts.dll error.
If I load the index.php script via command line I also get the crash, producing 
this backtrace.

A test script is not doable, because it's a whole Drupal site...

Expected result:
PHP not to crash when loading the site...

Actual result:
Thread 0 - System ID 8832
Entry point   php+3002 
Create time   22/02/2012 15:52:59 
Time spent in user mode   0 Days 0:0:0.62 
Time spent in kernel mode   0 Days 0:0:0.109 

Full Call Stack

Function     Arg 1     Arg 2     Arg 3     Arg 4   Source 
php5ts!lex_scan+9d6     0093dd60     02a22ec0     02a22ec0     0093dd8c    
php5ts!zend_register_auto_global+ae     0093dd58     02a22ec0     04ce5840     
php5ts!zend_iterator_unwrap+584     0093ddf8     0093de8c     00000001     
ntdll!RtlpDosPathNameToRelativeNtPathName_Ustr+1d0     00d0fbe8     051d3e68     
00000006     00000001    

Exception Information

C0000005.dmp the assembly instruction at php5ts!lex_scan+9d6 in C:\Program Files 
(x86)\PHP\php5ts.dll from The PHP Group has caused an access violation exception 
(0xC0000005) when trying to read from memory location 0x00b75000 on thread 0


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-02-22 18:59 UTC]
Thank you for helping to make PHP better.

What version of Apache are you using? Where did you download it from?

What version of Drupal are you using?
 [2012-02-22 19:12 UTC] guaycuru at gmail dot com
I tried Apache 2.2.21 and 2.4.1, both downloaded from Apache Lounge.
Anyway the crash happens using PHP CLI, so it's not apache related.

I'm using Drupal 7
 [2012-02-23 17:37 UTC] mmoreno at pobox dot com
This was crashing Drupal 7 for me too.  I bet you're encountering the
4096 byte bug referenced in bugs 60758 and 60998.  The responses have
been that it's either fixed in SVN or not a bug so I'm confused about
the status since recent snapshots are still affected.  Seems to only
affect Windows.

Find all Drupal files that are exactly 4096 bytes or a multiple
(e.g. 8192, 12288) and edit them slightly by adding a blank line or
a comment in order to change the file size.

Hope this helps.
 [2012-02-23 17:55 UTC] guaycuru at gmail dot com
Yep, that's exactly it!
The file was 20480 bytes. Added one blank space and the crash was gone!
It's definetely not fixed! =\
Thanks a lot for clearing this up!
 [2012-03-07 10:36 UTC]
Please try using this snapshot:
For Windows:

 [2012-03-07 10:36 UTC]
-Status: Open +Status: Feedback
 [2012-03-08 18:52 UTC] mmoreno at pobox dot com
I've confirmed this problem has NOT been fixed using this snapshot (2012-03-08):
 [2012-05-03 14:27 UTC] mmoreno at pobox dot com
Looks like this issue has been fixed in 5.3.11.
 [2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Jun 05 00:03:38 2023 UTC