Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20082 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16748 invoked by uid 1010); 16 Nov 2005 22:08:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16733 invoked from network); 16 Nov 2005 22:08:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2005 22:08:22 -0000 X-Host-Fingerprint: 195.197.172.115 gw01.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.115:57267] helo=gw01.mail.saunalahti.fi) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B7/56-07637-4DDAB734 for ; Wed, 16 Nov 2005 17:08:21 -0500 Received: from nest.netphobia.fi (YZDCXXXI.dsl.saunalahti.fi [85.76.35.232]) by gw01.mail.saunalahti.fi (Postfix) with ESMTP id 6C62FFEA9A; Thu, 17 Nov 2005 00:08:15 +0200 (EET) Received: from nest.netphobia.fi (nest.netphobia.fi [127.0.0.1]) by nest.netphobia.fi (8.13.1/8.13.1) with ESMTP id jAGM8ImX001837; Thu, 17 Nov 2005 00:08:18 +0200 Received: from localhost (jani@localhost) by nest.netphobia.fi (8.13.1/8.13.1/Submit) with ESMTP id jAGM8HeB001834; Thu, 17 Nov 2005 00:08:17 +0200 X-Authentication-Warning: nest.netphobia.fi: jani owned process doing -bs Date: Thu, 17 Nov 2005 00:08:17 +0200 (EET) Reply-To: Jani Taskinen To: Michael Sisolak cc: internals@lists.php.net In-Reply-To: <20051116181251.76424.qmail@web51606.mail.yahoo.com> Message-ID: References: <20051116181251.76424.qmail@web51606.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] Debugging possible Apache php_admin_value crash - Win32 crash trace possible? From: sniper@iki.fi (Jani Taskinen) Do you hit the same issue with using the latest PHP 5.1 snapshot? --Jani On Wed, 16 Nov 2005, Michael Sisolak wrote: > > 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 > > -- Give me your money at @ Donating money may make me happier and friendlier for a limited period! Death to all 4 letter abbreviations starting with P!