[Pkg-dspam-misc] Bug#722485: dspam: Same problem with stable (3.10.1+dfsg-11) and testing (3.10.2+dfsg-11) versions

Gabriel Francisco frc.gabriel at gmail.com
Fri Nov 1 13:24:34 UTC 2013


Package: dspam
Version: 3.10.2+dfsg-11
Followup-For: Bug #722485

Dear Maintainer,
how are you? 

well, these problems with cssclean and libhash_drv persists with stable (3.10.1+dfsg-11) and testing (3.10.2+dfsg-11) versions,
both versions displays the same messages in /var/log/messages:

Nov  1 00:00:24 mx01 kernel: [18845078.673868] dspam[2740]: segfault at 7f47d011f310 ip 00007f47ebcd42aa sp 00007f47e8aae058 error 4 in libhash_drv.so.7.0.0[7f47ebcd0000+6000]
Nov  1 06:25:36 mx01 kernel: [18868190.191839] cssclean[19612]: segfault at 7f2179513008 ip 0000000000403685 sp 00007fff81082b90 error 7 in cssclean[400000+c000]
Nov  1 10:44:19 mx01 kernel: [18883713.181550] dspam[8664]: segfault at 7fcfd2fde7e0 ip 00007fcfd07a22aa sp 00007fcfcff97058 error 4 in libhash_drv.so.7.0.0[7fcfd079e000+6000]
Nov  1 10:47:20 mx01 kernel: [18883894.040212] dspam[17072]: segfault at 7fa5803fbe38 ip 00007fa5814012aa sp 00007fa557ffa058 error 4 in libhash_drv.so.7.0.0[7fa5813fd000+6000]

These problems occur after ~2000 emails received, even deleting the signatures and css file from /var/spool/dspam/data/local after some emails received dspam crash again.

Here some messages from /var/log/mail.log with the problem:

Oct 31 14:22:33 mx01 dspam[7277]: Reloading configuration
Oct 31 15:01:56 mx01 dspam[7277]: Connection to 127.0.0.1:3310 failed: Bad file descriptor
Oct 31 15:46:59 mx01 dspam[7277]: Failed to free lock file dspam: -1: Bad file descriptor
Oct 31 16:02:47 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/52729b4772778458118970.sig: Bad file descriptor
Oct 31 16:02:47 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Oct 31 16:11:58 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/52729d6e72772143044856.sig: Bad file descriptor
Oct 31 16:11:58 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Oct 31 16:56:57 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/5272a7f972778940917012.sig: Bad file descriptor
Oct 31 16:56:57 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Oct 31 16:57:15 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/5272a80b72779288319226.sig: Bad file descriptor
Oct 31 16:57:15 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Oct 31 17:21:57 mx01 dspam[7277]: Got error -5 in response to MAIL FROM:
Oct 31 17:46:56 mx01 dspam[7277]: Connection to 127.0.0.1:3310 failed: Bad file descriptor
Oct 31 17:47:01 mx01 dspam[7277]: Received error on greeting:
Oct 31 17:47:01 mx01 dspam[7277]: Delivery failed completely
Oct 31 18:01:58 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/5272b73672771701817666.sig: Bad file descriptor
Oct 31 18:01:58 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Oct 31 18:06:56 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/5272b86072772282994736.sig: Bad file descriptor
Oct 31 18:06:56 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Oct 31 18:07:01 mx01 dspam[7277]: Got error -5 in response to MAIL FROM:
Oct 31 18:12:03 mx01 dspam[7277]: write failed on error -1: Bad file descriptor
Oct 31 18:12:04 mx01 dspam[7277]: Packet send failure
Oct 31 18:12:04 mx01 dspam[7277]: Delivery failed completely
Oct 31 18:12:04 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/5272b99472771488916584.sig: Bad file descriptor
Oct 31 18:12:04 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Oct 31 18:17:06 mx01 dspam[7277]: Received error on greeting:
Oct 31 18:17:06 mx01 dspam[7277]: Delivery failed completely
Oct 31 18:17:07 mx01 dspam[7277]: Got error -5 in response to MAIL FROM:
Oct 31 18:17:09 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/5272bac572771698865464.sig: Bad file descriptor
Oct 31 18:17:09 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Oct 31 18:21:44 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/5272bbd872772106110280.sig: Bad file descriptor
Oct 31 18:21:44 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Oct 31 18:21:48 mx01 dspam[7277]: Unable to open file for writing: /var/spool/dspam/data/local/dspam/dspam.lock: Bad file descriptor
Oct 31 18:21:48 mx01 dspam[7277]: Unable to attach DSPAM context. Retrying.
Oct 31 18:22:01 mx01 dspam[7277]: Got error -5 in response to MAIL FROM:
Oct 31 18:27:08 mx01 dspam[7277]: Got error -5 in response to MAIL FROM:
Oct 31 18:51:59 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/5272c2ee72771400836807.sig: Bad file descriptor
Oct 31 18:51:59 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Oct 31 18:52:01 mx01 dspam[7277]: Unable to write file: /var/spool/dspam/data/local/dspam/dspam.sig/5272c2f172771552088570.sig: Bad file descriptor
Oct 31 18:52:01 mx01 dspam[7277]: _ds_set_signature() failed with error -5
Nov  1 10:39:52 mx01 dspam[29449]: Daemon process starting
Nov  1 10:41:37 mx01 dspam[29449]: Daemon terminating on signal 15
Nov  1 10:41:37 mx01 dspam[29449]: Received signal. Waiting for processing threads to exit.
Nov  1 10:41:37 mx01 dspam[29449]: Processing threads terminated.
Nov  1 10:41:37 mx01 dspam[29449]: Daemon process exiting
Nov  1 10:42:51 mx01 dspam[4433]: Daemon process starting
Nov  1 10:44:47 mx01 dspam[9832]: Daemon process starting
Nov  1 10:47:05 mx01 dspam[9832]: Daemon terminating on signal 15
Nov  1 10:47:05 mx01 dspam[9832]: Received signal. Waiting for processing threads to exit.
Nov  1 10:47:05 mx01 dspam[9832]: Processing threads terminated.
Nov  1 10:47:05 mx01 dspam[9832]: Daemon process exiting
Nov  1 10:47:05 mx01 dspam[16785]: Daemon process starting
Nov  1 10:47:18 mx01 dspam[16785]: Received error on greeting:
Nov  1 10:47:18 mx01 dspam[16785]: Delivery failed completely

Maybe might be some problem with ClamAV too because of 'bad file descriptor' in the first lines.

Regards.
Gabriel Francisco.

-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages dspam depends on:
ii  libc6                  2.17-93
ii  libdspam7              3.10.2+dfsg-11
ii  libdspam7-drv-hash     3.10.2+dfsg-11
ii  libdspam7-drv-sqlite3  3.10.2+dfsg-11
ii  libpq5                 9.3.1-1
ii  lsb-base               4.1+Debian8+deb7u1
ii  perl                   5.14.2-21+deb7u1

Versions of packages dspam recommends:
ii  dspam-doc  3.10.2+dfsg-11
ii  procmail   3.22-20

Versions of packages dspam suggests:
ii  clamav-daemon      0.97.8+dfsg-1
pn  dspam-webfrontend  <none>

-- Configuration Files:
/etc/default/dspam changed:
START=yes
USER=dspam
MAINTENANCE_OPTIONS="--with-sql-autoupdate --with-sql-optimization"
RUN_NOTIFY="no"

/etc/dspam/default.prefs changed:
trainingMode=TEFT
spamAction=deliver
spamSubject=[SPAM]
enableBNR=on
enableWhitelist=on
statisticalSedation=5
signatureLocation=message
whitelistThreshold=10
showFactors=off

/etc/dspam/dspam.conf changed:
Home /var/spool/dspam
StorageDriver /usr/lib/x86_64-linux-gnu/dspam/libhash_drv.so
TrustedDeliveryAgent "/usr/bin/procmail"       # Linux
DeliveryHost		127.0.0.1
DeliveryPort		10025
DeliveryIdent		localhost
DeliveryProto		SMTP
EnablePlusedDetail	on
PlusedCharacter	+
PlusedUserLowercase	on
OnFail error
Trust root
Trust dspam
Trust www-data
Trust mail
Trust daemon
Trust amavis
Trust vmail
TrainingMode teft
TestConditionalTraining on
Feature noise
Feature whitelist
Algorithm graham burton
Tokenizer osb
PValue bcr
WebStats on
Preference "trainingMode=TEFT"		# { TOE | TUM | TEFT | NOTRAIN } -> default:teft
Preference "spamAction=deliver"		# { quarantine | tag | deliver } -> default:quarantine
Preference "spamSubject=[SPAM]"		# { string } -> default:[SPAM]
Preference "statisticalSedation=5"	# { 0 - 10 } -> default:0
Preference "enableBNR=on"		# { on | off } -> default:off
Preference "enableWhitelist=on"		# { on | off } -> default:on
Preference "signatureLocation=message"	# { message | headers } -> default:message
Preference "tagSpam=off"		# { on | off }
Preference "tagNonspam=off"		# { on | off }
Preference "showFactors=off"		# { on | off } -> default:off
Preference "optIn=off"			# { on | off }
Preference "optOut=off"			# { on | off }
Preference "whitelistThreshold=10"	# { Integer } -> default:10
Preference "makeCorpus=off"		# { on | off } -> default:off
Preference "storeFragments=off"		# { on | off } -> default:off
Preference "localStore="		# { on | off } -> default:username
Preference "processorBias=on"		# { on | off } -> default:on
Preference "fallbackDomain=off"		# { on | off } -> default:off
Preference "trainPristine=off"		# { on | off } -> default:off
Preference "optOutClamAV=off"		# { on | off } -> default:off
Preference "ignoreRBLLookups=off"	# { on | off } -> default:off
Preference "RBLInoculate=off"		# { on | off } -> default:off
Preference "notifications=off"		# { on | off } -> default:off
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride fallbackDomain
AllowOverride ignoreGroups
AllowOverride ignoreRBLLookups
AllowOverride localStore
AllowOverride makeCorpus
AllowOverride optIn
AllowOverride optOut
AllowOverride optOutClamAV
AllowOverride processorBias
AllowOverride RBLInoculate
AllowOverride showFactors
AllowOverride signatureLocation
AllowOverride spamAction
AllowOverride spamSubject
AllowOverride statisticalSedation
AllowOverride storeFragments
AllowOverride tagNonspam
AllowOverride tagSpam
AllowOverride trainPristine
AllowOverride trainingMode
AllowOverride whitelistThreshold
AllowOverride dailyQuarantineSummary
AllowOverride notifications
Notifications	off
PurgeSignatures 14	# Stale signatures
PurgeNeutral	90	# Tokens with neutralish probabilities
PurgeUnused	90	# Unused tokens
PurgeHapaxes	30	# Tokens with less than 5 hits (hapaxes)
PurgeHits1S	15	# Tokens with only 1 spam hit
PurgeHits1I	15	# Tokens with only 1 innocent hit
LocalMX 127.0.0.1
SystemLog	on
UserLog		on
Opt out
TrackSources spam nonspam virus
ClamAVPort		3310
ClamAVHost		127.0.0.1
ClamAVResponse		spam
ServerHost		127.0.0.1
ServerPort		2424
ServerQueueSize	32
ServerPID		/var/run/dspam/dspam.pid
ServerMode auto
ServerParameters	"--deliver=innocent -d %u"
ServerIdent		"localhost.localdomain"
ClientHost	127.0.0.1
ClientPort	2424
ProcessorURLContext on
ProcessorBias on
StripRcptDomain off
GroupConfig /var/spool/dspam/group
Include /etc/dspam/dspam.d/


-- no debconf information



More information about the Pkg-dspam-misc mailing list