php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55390 win + apache2 + php crash
Submitted: 2011-08-10 06:24 UTC Modified: 2011-11-05 10:06 UTC
From: giorgio dot liscio at email dot it Assigned:
Status: Closed Package: *General Issues
PHP Version: 5.4SVN-2011-08-10 (snap) OS: windows 7 x64 ultimate
Private report: No CVE-ID: None
 [2011-08-10 06:24 UTC] giorgio dot liscio at email dot it
Description:
------------
i can't identify the problem yet but php simply crash when i include a file

the included file is executed totally but at the end something goes wrong

(it is not a simple include, i'm trying to identify the code that crashes apache)

according to windows php snaps:

      Thursday, July 28, 2011  2:33 AM        <dir> r313803 <-- this works
     Tuesday, August 02, 2011 11:52 AM        <dir> r314086 <-- this crashes
... and crashes with latest snap too

event name:		APPCRASH
app name:		httpd.exe
app vers:		2.2.17.0
timestamp:		4cbc89f4
err module:		MSVCR90.dll
module version:		9.0.30729.6161
module timestamp:	4dace5b9
exception code:		c0000005
exception offset:	0003ae7a
os version:		6.1.7601.2.1.0.256.1
locale:	1040
additional info1:	0a9e
additional info2:	0a9e372d3b4ad19135b953a78882e789
additional info3:	0a9e
additional info4:	0a9e372d3b4ad19135b953a78882e789


not sure if it is related because it is not logged at every page load, but sometimes apache logs "zend_mm_heap corrupted"

thanks in advance


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-22 14:46 UTC] kalle@php.net
-Status: Open +Status: Feedback
 [2011-08-22 14:46 UTC] kalle@php.net
Do you have any extensions like Xdebug, APC or other extensions that may hook into the include construct?
 [2011-08-22 15:19 UTC] pajoye@php.net
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.

.
 [2011-08-22 18:02 UTC] giorgio dot liscio at email dot it
can I use the "without compiler method" to provide a backtrace of php as apache module? I don't think it is related to apache but i will probably need a webserver to run the evil script
 [2011-08-22 18:27 UTC] pajoye@php.net
Yes, it is enough and if you can provide a script to reproduce it, even better.
 [2011-11-05 10:06 UTC] giorgio dot liscio at email dot it
hello, I've tested with the latest head of the branch and now works good, so this was fixed in these months

sorry for taking a long time to provide feedback, but providing a bug report is a total pain, at least on windows.

I really like the new php release process, but it is not compatible with the actual testing/debugging process. I think php should reinvent its beta testing by reaching "normal people" too. I'm not a computer hacker, but i should be able to provide a debug report, but at the moment is really too hard to do.

See how mozilla works, debug report is embedded and easy to use, nightly and aurora builds are accessible to every audience, included "noobs", if they are interested into debugging.

I think php should do as mozilla is doing!

btw I'm setting this as resolved, who knows what was the bug, now works perfectly ;)
 [2011-11-05 10:06 UTC] giorgio dot liscio at email dot it
-Status: Feedback +Status: Closed
 [2011-11-05 10:06 UTC] giorgio dot liscio at email dot it
resolved, no crash at all now!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC