Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20070 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95948 invoked by uid 1010); 16 Nov 2005 18:12:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95933 invoked from network); 16 Nov 2005 18:12:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2005 18:12:56 -0000 X-Host-Fingerprint: 206.190.38.211 web51606.mail.yahoo.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([206.190.38.211:46998] helo=web51606.mail.yahoo.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5F/06-07637-6A67B734 for ; Wed, 16 Nov 2005 13:12:54 -0500 Received: (qmail 76426 invoked by uid 60001); 16 Nov 2005 18:12:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1BoJqTAwNKV/yQXRjWU1oi1yeF+2XylS5h2P9Pc7CfoT24he8e2a8/isvcE9gCm0ounO012WJhh0jkVM65iIyBKtw8rXqmh5uL/kwUSz5mRTTTWi2hTUS0gpCY81j/tKHTyIa/hD49HNZLbImk8PdjIGcYuG52xZpHhHkqiQ1Gw= ; Message-ID: <20051116181251.76424.qmail@web51606.mail.yahoo.com> Received: from [24.215.131.184] by web51606.mail.yahoo.com via HTTP; Wed, 16 Nov 2005 10:12:51 PST Date: Wed, 16 Nov 2005 10:12:51 -0800 (PST) To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Debugging possible Apache php_admin_value crash - Win32 crash trace possible? From: msisolak@yahoo.com (Michael Sisolak) I'm trying to debug an issue I'm seeing with PHP 5.0.5 and Apache 2.0.55 (using apache2handler SAPI) running under Windows 2000 Server. I need to set the mssql.max_procs setting to 300. If I change it in php.ini everything works fine and the system is quite stable. To keep all my config changes in one place, however, I wanted to use php_admin_value in httpd.conf instead. As soon as I switched on "php_admin_value mssql.max_procs 300", however, Apache2 started resetting about every 10 minutes or so with errors like: [notice] Parent: child process exited with status 3221225477 -- Restarting. I've tested several times and it routinely crashes when I use php_admin_value and doesn't when I stick with just php.ini. Now 3221225477 = 0xC0000005 = Access Violation so I assume there is some kind of memory corruption happening, but I can't find a way to debug to see what is going on here. Of course it only happens on my production servers and I can't get it to reproduce anywhere else. Does anyone have suggestions about my next step to debug this? I need to find out where the access violation is happening, but Apache eats the error and restarts the process. Is there any magic that can be used to tell Apache to let the error fall though so it can be caught by Dr. Watson or something similar? Or a way to tell PHP to at least record where the violation occurs on the crash? Michael Sisolak msisolak@yahoo.com __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs