SIGSEGV problem with ifnews

Paolo Didone' (dido@arf.dsi.unive.it)
Thu, 10 Jul 1997 18:27:03 +0100

Hi Eugene! tnx for your work on ifmail!

I have a problem. I use a script like this to gate my news:

-------------------------------------[/etc/news/fidosend]-------------
#!/bin/sh
## SH script to send fido batches out trought ifmail.

. /etc/news/innshellvars

if [ ! -f $SERVERPID ]; then
exit;
fi

if [ $# != 1 ]; then
echo "$0 [$$]: Usage: $0 site"
exit 1
else
SITE=$1
fi

if [ -s $BATCH/$SITE ]; then
$NEWSBIN/batcher -b0 -v -p "/usr/local/lib/ifmail/ifnews -x0 %s" $SITE $BATCH/$SITE
$NEWSBIN/ctlinnd -s -t30 flush ''
else
echo "$0 [$$]: no articles for $SITE"
fi

----------------------------------------------------------[ end ]-------

but ifnews had some problem :

-------------------------------[ /var/log/ifmail/sysiflog ]-------------
[...]
Jul 10 00:30:02 macondo ifnews[364]: envrecip: 333/333
Jul 10 00:30:02 macondo ifnews[364]: route: 333/333
Jul 10 00:30:02 macondo ifnews[364]: caught SIGSEGV at offset 0x40072634
Jul 10 00:30:02 macondo ifnews[364]: called from 0x0805237a
Jul 10 00:30:02 macondo ifnews[364]: called from 0x08049f1e
Jul 10 00:30:02 macondo ifnews[364]: called from 0x0804979e
----------------------------------------------------------[ end ]-------

I'm new to ifmail and i can't resolve the problem. I cannot post my echo at
all :(

-rwsr-xr-x 2 fnet uucp 107420 Jul 7 19:31 /usr/local/lib/ifmail/ifnews
-rwxr-xr-x 1 root root 10496 Apr 28 14:14 /usr/lib/news/bin/batcher
-rwxr-xr-x 1 root root 11124 Apr 28 14:14 /usr/lib/news/bin/ctlinnd

-- 
  .+'''+.
  DidoNet
  `+,,,+'