php.net |  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
Votes:12
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: guaycuru at gmail dot com
New email:
PHP Version: OS:

 

 [2012-02-22 17:57 UTC] guaycuru at gmail dot com
Description:
------------
PHP 5.3.10 (from http://windows.php.net/snapshots/#php-5.3-ts-windows-vc9-x86 )
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     
02a22ec0    
php5ts!zend_iterator_unwrap+584     0093ddf8     0093de8c     00000001     
00d0fbe8    
ntdll!RtlpDosPathNameToRelativeNtPathName_Ustr+1d0     00d0fbe8     051d3e68     
00000006     00000001    




Exception Information
PHP5TS!LEX_SCAN+9D6WARNING


In 
php__PID__8828__Date__02_22_2012__Time_03_53_00PM__963__Second_Chance_Exception_
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-02-22 18:59 UTC] mattficken@php.net
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.

WORKAROUND:
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] pajoye@php.net
Please try using this snapshot:

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

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


 [2012-03-07 10:36 UTC] pajoye@php.net
-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):
http://windows.php.net/downloads/snaps/php-5.3/r324022/php-5.3-ts-windows-vc9-x86-
r324022.zip
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 21:01:28 2024 UTC