Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202461 - mail-filter/dspam-3.8.0-r8 and 3.8.0-r9: crash with undefined symbol read_config
Summary: mail-filter/dspam-3.8.0-r8 and 3.8.0-r9: crash with undefined symbol read_config
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-16 12:21 UTC by Alakdae
Modified: 2007-12-17 11:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alakdae 2007-12-16 12:21:57 UTC
Dspam crashes with read_config undefined symbol error. The email is bounced.

Reproducible: Always

Steps to Reproduce:
1. Install dspam-3.8.0-r8 or 3.8.0-r9 
2. Send email to the server

Actual Results:  
Email bounced

Expected Results:  
Email delivered via dspam service

Dec 15 14:32:44 xxx postfix/pipe[23108]: C70D31AA593C: to=<xxx>, relay=dspam, delay=52, delays=52/0.06/0/0.12, dsn=5.3.0, status=bounced (Command died with status 127: "/usr/bin/dspam". Command output: /usr/bin/dspam: symbol lookup error: /usr/bin/dspam: undefined symbol: read_config )

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Sun, 16 Dec 2007 02:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl"
LINGUAS="pl"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="a52 aalib acl acpi alsa apache2 bash-completion bcmath berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups curl dba dbus divx4linux dri dvd dvdr dvdread eds emboss encode esd evo fam fastcgi ffmpeg firefox fortran ftp gd gdbm gif gpm gstreamer hal iconv imap ipv6 isdnlog java javascript jpeg libwww lm_sensors mad mbox midi mikmod mime mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly odbc ogg opengl openmp oss pam pcre pdf pdflib perl php png posix postgres pppd python qt3support qt4 quicktime readline reflection samba sasl sdl session slang sox speex spell spl sse ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l vhosts virtual-users vorbis win32codecs x86 xml xml2 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Cannot run dspam --version with this error:
dspam: symbol lookup error: dspam: undefined symbol: read_config

Postfix master.cf:
dspam                unix    -       n       n       -       10      pipe
  flags=Ru user=dspam argv=/usr/bin/dspam --deliver=innocent,spam --user $user -i -f $sender -- $recipient
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-12-17 05:47:48 UTC
read_config is defined in libdspam, library installed by dspam.

What output does command "ldd /usr/bin/dspam" have?
Comment 2 Alakdae 2007-12-17 11:10:32 UTC
Resolved. 

/usr/bin/dspam was linking against an old lib (installed manually, before dspam installaed from portage) in /usr/local/lib.

Didn't notice that at first because I was looking for "not found".

Deleted the libs and now it's linking against /usr/lib/libdspam*

Sorry for the trouble