Package: ifmail
Version: 2.14tx8.10-26
Severity: normal

Hello Marco,

It appears that using the "verbose" option in /etc/ifmail/config results in a 
segmentation fault when ifcico is called. E.g.:

/etc/inetd.conf:

tfido           stream  tcp4    nowait  ftn     /usr/sbin/tcpd  
/usr/lib/ifmail/ifcico -t 1
tfido           stream  tcp6    nowait  ftn     /usr/sbin/tcpd  
/usr/lib/ifmail/ifcico -t 1
fido            stream  tcp4    nowait  ftn     /usr/sbin/tcpd  
/usr/lib/ifmail/ifcico
fido            stream  tcp6    nowait  ftn     /usr/sbin/tcpd  
/usr/lib/ifmail/ifcico

bbs@glimmer:~$ telnet scbbs.nsupdate.info 60177
Trying 188.149.138.116...
Connected to scbbs.nsupdate.info.
Escape character is '^]'.
Connection closed by foreign host.

bbs@glimmer:~$ telnet scbbs.nsupdate.info 60179
Trying 188.149.138.116...
Connected to scbbs.nsupdate.info.
Escape character is '^]'.
Connection closed by foreign host.
bbs@glimmer:~$

/var/log/messages shows:

Aug 15 11:28:33 glimmer kernel: [  997.807638] ifcico[2891]: segfault at 797854 
ip 00007ffb07726ad1 sp 00007fff6fb95ef8 error 4 in 
libc-2.31.so[7ffb075ec000+14b000]
Aug 15 11:28:33 glimmer kernel: [  997.807646] Code: 84 00 00 00 00 00 0f 1f 00 
31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 89 f9 48 89 fa c5 f9 ef c0 83 
e1 3f 83 f9 20 77 1f <c5> fd 74 0f c5 fd d7 c1 85 c0 0f 85 df 00 00 00 48 83 c7 
20 83 e1

Aug 15 11:28:36 glimmer kernel: [ 1000.925952] ifcico[2896]: segfault at 797854 
ip 00007fbce0605ad1 sp 00007ffde9094898 error 4 in 
libc-2.31.so[7fbce04cb000+14b000]
Aug 15 11:28:36 glimmer kernel: [ 1000.925967] Code: 84 00 00 00 00 00 0f 1f 00 
31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 89 f9 48 89 fa c5 f9 ef c0 83 
e1 3f 83 f9 20 77 1f <c5> fd 74 0f c5 fd d7 c1 85 c0 0f 85 df 00 00 00 48 83 c7 
20 83 e1

Could this possibly be related to Debian bug #872507?
"options" seem to work, but not "verbose".

I'll revert to non-verbose logging in the mean time.

Best regards
Björn


-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ifmail depends on:
ii  adduser  3.118
ii  perl     5.32.1-4+deb11u1

ifmail recommends no packages.

Versions of packages ifmail suggests:
ii  ifcico  2.14tx8.10-26
pn  ifgate  <none>

-- Configuration Files:
/etc/cron.weekly/ifmail changed:
exit 0

/etc/ifmail/config changed:
logfile         /var/log/ifmail/iflog
debugfile       /var/log/ifmail/ifdebug
verbose        7
address                 21:1/202@fsxnet
address                 2:201/137@fidonet
address                 618:500/27@micronet
address                 77:2/107@scinet
include         /etc/ifmail/passwds
magicname       UUCP
inbound         /mnt/bbs/echomail/in/unsecure
listinbound     /mnt/bbs/echomail/in/unsecure
protinbound     /mnt/bbs/echomail/in
outbound        /mnt/bbs/echomail/out/fsxnet
public          /var/local/empty
reqmap          /etc/ifmail/reqmap
nodelist        /mnt/bbs/echomail/nodelists/FSXNET
nodelist        NODELIST        2:201/137@fidonet
nodelist        micronet        618:500/27@micronet
nodelist        scinet          77:2/107@scinet
domtrans        .z1.fidonet             .z1.fidonet.org
domtrans        .z2.fidonet             .z2.fidonet.org
domtrans        .z3.fidonet             .z3.fidonet.org
domtrans        .z4.fidonet             .z4.fidonet.org
domtrans        .fidonet                .ftn
database        /var/spool/ftn/ifdbm
sequencer       /var/spool/ftn/seq
gatebaugroup    fido.
maxgroups       10
maptabdir       /usr/lib/ifmail/maptabs
defaultftnchar          cp437
defaultrfcchar          iso-8859-1
sendmail        /usr/sbin/sendmail -oi -f $F $T
iftoss          /usr/lib/ifmail/iftoss
unzip           /usr/bin/unzip -Lojq $F
unarj           /usr/bin/arj e $F 2> /dev/null
unlzh           /usr/bin/lha xiq $F
unarc           /usr/bin/arc x $F
unzoo           /usr/bin/zoo -extract $F
unrar           /usr/bin/unrar e $F 2> /dev/null
packer          /usr/bin/zip -q9 $F $P
maxfsize        500000
maxpsize        300000
maxmsize 123000
msgidbm         /var/spool/ftn/ifmsgids
ModemPort       (IBN) nomodem
ModemPort       (IFC|ITN|IVM) nomodem
ModemPort       (! 
(V22|V29|V32|V32B|V34|HST|H14|H16|MAX|CSP|V32T|VFC|ZYX|V90C|V90S|X2C|X2S|Z19)) 
nomodem
ModemPort       (! phone 46-) nomodem
PhoneTrans      46-18   /
PhoneTrans      46-     /       0
PhoneTrans              /       00
ModemReset      \d\d\d\d\dATZ\r\d\d\d\d\d
ModemDial       (time Any2100-0800,We0800-1000) ATM0DT\T\r
ModemDial       ATDT\T\r
ModemOK         OK
ModemConnect    CONNECT
ModemError      BUSY
ModemError      NO\sCARRIER
ModemError      NO\sDIAL
ModemError      RING\r
ModemError      RING\s
ModemError      RING1
ModemError      RING2
ModemError      RING3
ModemError      RING4
ModemError      ERROR
ModemError      VOICE
ModemError      NO\sANSWER
ModemError      ABORT
ModemError      INCOMING\sCALL
ModemError      PHONE\sOFF\sHOOK
ModemError      OFF\sHOOK\sRESTRICTED
ModemError      NUMBER\sBLACKLISTED
ModemError      BLACKLIST\sFULL
ModemError      WAITING
ModemError      DIALING\sDISABLED
ModemError      FAIL
ModemError      Delayed\s
ModemError      STOP
ModemError      FAST\sBUSY
ModemError      NO\sPROMPT\sTONE
ModemError      NOT\sSTORED
ModemError      FORBIDDEN
ModemError      BLACKLISTED
ModemError      DELAYED
ModemError      WAHL
TimeoutReset    3
TimeoutConnect  70
DialDelay       0
Name            Star Collision BBS
Location        Uppsala, Sweden
SysOp           Bjorn Wiberg
Phone           46-18-7501515
Speed           9600
Flags           
ICM,TJT,XW,V90C,X2C,VFC,V32T,H16,INA:scbbs.nsupdate.info,IBN,IFC,ITN:60177,IVM:60177,U,ENC


-- no debconf information

Reply via email to