perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <>
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 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:
For additional commands, e-mail:

View raw message