Edit report at https://bugs.php.net/bug.php?id=65279&edit=1
ID: 65279 Updated by: a...@php.net Reported by: craiga at wvhmhc dot org Summary: Apache crashes if ext=php_snmp.dll is used -Status: Assigned +Status: Feedback 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: Without a debugger we don't know what happens at all. There are at least two options: 1. - open windbg - click file->open executable and point it to httpd.exe, don't forget -X in the arguments field - click debug->go ... i had to do that twice as it haven't found symbols for the first time. The symbols have to be setup before of course. At this point it should be crashing inside windbg 2. Setup a debugger for unhandled exceptions, here's the paper http://support.microsoft.com/kb/121434 . After this every crash will invoke windbg. Don't give up, you can do it :) Previous Comments: ------------------------------------------------------------------------ [2013-07-23 13:39:07] craiga at wvhmhc dot org 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. ------------------------------------------------------------------------ [2013-07-22 15:18:54] a...@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] a...@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. ------------------------------------------------------------------------ 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