spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David F. Skoll" <>
Subject Re: FuzzyOCR
Date Wed, 13 Jul 2011 15:13:00 GMT
On Wed, 13 Jul 2011 08:01:51 -0700 (PDT)
John Hardin <> wrote:

> All I can think of at this point is permissions issues somehow.

The FuzzyOcr/ might be masking the real exit code.  It evals a bunch
of Perl code in the child process and then:

          # couldn't open file descriptors or exec failed
          chomp($@); my($msg) = "save_execute: $@\n";
          # try to get some attention, log and stderr may be closed
          POSIX::write(2,$msg,length($msg));  print STDERR $msg;
          POSIX::_exit(8);  # must avoid END and destructor processing!

So anything in that eval before the exec() could be dying, or the exec
could be failing... we have no idea.

(That's some of the worst Perl code I've read in a while, btw...)



View raw message