perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: core dump at the server shutdown
Date Wed, 09 Jan 2002 18:15:33 GMT
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


Mime
View raw message