Edit report at https://bugs.php.net/bug.php?id=61166edit=1
ID: 61166
User updated by:guaycuru at gmail dot com
Reported by:guaycuru at gmail dot com
Summary:PHP crashing (Drupal site)
Status: Open
Type: Bug
Package:Reproducible crash
Operating System: Windows 7 x64
PHP Version:5.3SVN-2012-02-22 (snap)
Block user comment: N
Private report: N
New Comment:
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!
Previous Comments:
[2012-02-23 17:37:03] 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-22 19:12:33] 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-22 18:59:25] mattfic...@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 17:57:03] 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 0001
00d0fbe8
ntdll!RtlpDosPathNameToRelativeNtPathName_Ustr+1d0 00d0fbe8 051d3e68
0006 0001
Exception Information
PHP5TS!LEX_SCAN+9D6WARNING
In
php__PID__8828__Date__02_22_2012__Time_03_53_00PM__963__Second_Chance_Exception_
C005.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
(0xC005) when trying to read from memory location 0x00b75000 on thread 0
--
Edit this bug report at https://bugs.php.net/bug.php?id=61166edit=1