Bug #65279 [Fbk->Asn]: Apache crashes if ext=php_snmp.dll is used
| From: | craiga at wvhmhc dot org | Date: | Tue, 23 Jul 2013 13:39:07 +0000 |
| Subject: | Bug #65279 [Fbk->Asn]: Apache crashes if ext=php_snmp.dll is used | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-180429@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65279&edit=1
ID: 65279
User updated by: craiga at wvhmhc dot org
Reported by: craiga at wvhmhc dot org
Summary: Apache crashes if ext=php_snmp.dll is used
-Status: Feedback
+Status: Assigned
Type: Bug
Package: Apache2 related
Operating System: Win Serv 2008 R2
PHP Version: 5.4.14
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Sorry... the debugger is not going to help here.
There is not enough time to choose your process
and build your rule before it bombs.
Previous Comments:
------------------------------------------------------------------------
[2013-07-22 15:18:54] ab@php.net
How do you start apache? Please do not start as service, use the -X option, like
c:\apache\bin\httpd.exe -X
combining that with WinDbg.
------------------------------------------------------------------------
[2013-07-22 14:25:14] craiga at wvhmhc dot org
I got the debug pack and Windows Debug 1.2
It will be no help in this case...
You can only debug a running process, a service, or some IIS and COM stuff.
PHP is not visible in the process list long enough to pick it, if at all.
Debugging Apache gave nothing, as it is not crashing,
just detecting PHP failed to start and shutting down.
------------------------------------------------------------------------
[2013-07-22 07:45:10] ab@php.net
Here's the path to debug symbols
http://windows.php.net/downloads/releases/archives/
------------------------------------------------------------------------
[2013-07-18 18:59:19] craiga at wvhmhc dot org
I do believe the Apache is from the lounge... I wanted the VC9 version.
The dll is there, as evidenced by the fact that command-line PHP runs.
I'll need some help to make a back trace.
Most of the links on http://bugs.php.net/bugs-generating-backtrace-win32.php
are broken.
Where can the debug pack for 5.4.14 be found?
Here is the Apache log for a normal start on my server:
[Wed Jul 17 11:17:35.707265 2013] [core:notice] [pid 3792:tid 276] AH00094: Command line:
'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Wed Jul 17 11:17:35.707265 2013] [mpm_winnt:notice] [pid 3792:tid 276] AH00418: Parent: Created
child process 1436
[Wed Jul 17 11:17:36.081672 2013] [mpm_winnt:notice] [pid 1436:tid 428] AH00354: Child: Starting 64
worker threads.
and with the attempt to use snmp:
[Wed Jul 17 11:14:49.049260 2013] [core:notice] [pid 2976:tid 276] AH00094: Command line:
'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Wed Jul 17 11:14:49.049260 2013] [mpm_winnt:notice] [pid 2976:tid 276] AH00418: Parent: Created
child process 2316
[Wed Jul 17 11:14:49.423667 2013] [mpm_winnt:notice] [pid 2316:tid 428] AH00354: Child: Starting 64
worker threads.
[Wed Jul 17 11:17:19.342550 2013] [mpm_winnt:notice] [pid 2976:tid 276] AH00422: Parent: Received
shutdown signal -- Shutting down the server.
[Wed Jul 17 11:17:21.370589 2013] [mpm_winnt:notice] [pid 2316:tid 428] AH00364: Child: All worker
threads have exited.
[Wed Jul 17 11:17:21.386189 2013] [mpm_winnt:notice] [pid 2976:tid 276] AH00430: Parent: Child
process 2316 exited successfully.
Not a thing in php_errors.log or system event logs.
------------------------------------------------------------------------
[2013-07-18 05:36:19] pajoye@php.net
Are you sure it actually crashes or complain about some DLLs not found?
------------------------------------------------------------------------
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=65279
--
Edit this bug report at https://bugs.php.net/bug.php?id=65279&edit=1