http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4997





------- Additional Comments From [EMAIL PROTECTED]  2006-07-19 09:45 -------
based on the logs (thanks for the full debug log!) it looks like it died at the
IO::Zlib constructor:

---------
  dbg("channel: cleaning out update directory");
  if (!clean_update_dir($UPDTmp)) {
    channel_failed("channel: attempt to clean update dir failed");
    next;
  }

  unlink $CFFTmp || warn "error: can't remove file $CFFTmp: $!\n";

  $tfh = IO::Zlib->new($content_file, "rb");  <<<<DIED HERE
  die "fatal: couldn't read content tmpfile $content_file: $!\n" unless $tfh;

  my $tar = Archive::Tar->new($tfh);
  die "fatal: couldn't create Archive::Tar object!\n" unless $tar;

  dbg("channel: extracting archive");
---------


IO::Zlib line 566, for me, is:

    return tied(*{$self})->$AUTOLOAD(@_);

blargh, what a mess ;)   I think that implies that $self was invalid.

I can't see a reason why this would happen, but clearly it did.
we need to use eval { } around the IO::Zlib calls to trap this...
I suppose assuming that it wouldn't throw random die()s around
was a little naive :(



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to