Return-Path: Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 83470 invoked by uid 500); 9 Jan 2002 18:09:44 -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 83448 invoked from network); 9 Jan 2002 18:09:43 -0000 X-Authentication-Warning: mako.covalent.net: dougm owned process doing -bs Date: Wed, 9 Jan 2002 10:15:33 -0800 (PST) From: Doug MacEachern X-Sender: dougm@localhost To: Stas Bekman cc: dev@perl.apache.org Subject: Re: core dump at the server shutdown In-Reply-To: <3C3C7DE7.8050506@stason.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, 10 Jan 2002, Stas Bekman wrote: > The recent commits have introduced this core dump at the server > shutdown. This is with bleadperl patch level 14054. the fix to run modperl_perl_destruct at server shutdown has been exposing bugs elsewhere. this one is a bug in the eliza protocol test. notice in eliza.t you send: print $socket "$_\n"; but the module does not strip the newline when testing: $last++ if $buff eq 'good bye'; which never happens. so eliza.t exits and eliza.pm is blocking on recv() when the server is shutdown. eliza.t should probably also test that the strings match rather than: ok $reply; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org