Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 77195 invoked from network); 23 Oct 2003 06:11:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Oct 2003 06:11:45 -0000 Received: (qmail 24646 invoked by uid 500); 23 Oct 2003 06:11:22 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 24633 invoked by uid 500); 23 Oct 2003 06:11:22 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 24619 invoked from network); 23 Oct 2003 06:11:22 -0000 Received: from unknown (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 23 Oct 2003 06:11:22 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 8C6E478CE2; Thu, 23 Oct 2003 08:11:32 +0200 (CEST) Message-ID: <3F97712C.9070805@stason.org> Date: Wed, 22 Oct 2003 23:11:56 -0700 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Steve Hay Cc: dev@perl.apache.org Subject: Re: early perl startup in vhost on win32 References: <3E9BD422.1050002@stason.org> <3F47ADCD.9020803@stason.org> <3F4993AC.2080504@stason.org> <3F7494B4.7080006@stason.org> <3F755065.7060001@stason.org> <3F86CDFA.4030601@uk.radan.com> <3F8E3AE9.50101@stason.org> <3F8E68DC.9060700@uk.radan.com> In-Reply-To: <3F8E68DC.9060700@uk.radan.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Steve, Randy, please try the current cvs (just cvs up + make, no need to rebuild from scratch). I have finally been able to solve the segfault with the short config Steve presented. I hope that it solves the problem for you as well. If it does, please try again with the vhost patch that was failing before. I moved quite a few things in mod_perl.c, but the only real change was adding: +#ifdef USE_ITHREADS + /* after other parent perls were started in vhosts, make sure that + * the context is set to the base_perl */ + PERL_SET_CONTEXT(base_perl); +#endif after setting up vhosts, without which, PerlLoadModule in the main server was segfaulting for me. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org