[CentOS] cyrus-sasl mysql backend

Wed Jul 5 01:10:31 UTC 2006
Feizhou <feizhou at graffiti.net>

Matt Hyclak wrote:
> On Tue, Jul 04, 2006 at 05:11:05PM +0800, Feizhou enlightened us:
> 
>>guess what...RHEL4's postfix also crashes with using cyrus-sasl code 
>>with the sql plugin.
>>
>>there must be something wrong with the way cyrus-sasl-sql was built...
> 
> 
> You still haven't specified which version of cyrus-sasl-sql you're using,
> other than a mention that you once recompiled it from or on (not real clear)
> FC2. 

Oh yeah, I better also mention that that was the x86-64 edition of FC2 
on a dual Opteron box and to make it perfectly clear, that is a 
different box to what I have now which is just a P4 box running Centos 4 
which I keep updated and therefore Centos 4.3.

> 
> It's tough for people to help if you don't provide the details and/or if 
> you are bastardizing CentOS.

Sir, I stated the use of Centos 4.3, there are no updates for 
cyrus-sasl* available and you are naive to think that everything in 
RHEL4/Centos 4 works properly. Look at the mess Redhat made with their 
kernel vm patch for those who require performance in addition to stability.

I take offense at the notion that reporting problems with distribution 
provided software is equivalent to 'bastardizing CentOS' especially 
since I took pains to point out that the code comes from Redhat and not 
from the Centos project.

An attempt to get a backtrace gives these results:

--------------------------------------------------------------------------
GNU gdb Red Hat Linux (6.3.0.0-1.96rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host 
libthread_db library "/lib/tls/libthread_db.so.1".

Attaching to program: /usr/libexec/postfix/smtpd, process 29765
Reading symbols from /usr/lib/mysql/libmysqlclient.so.14...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.14
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /lib/libpcre.so.0...done.
Loaded symbols for /lib/libpcre.so.0
Reading symbols from /lib/libssl.so.4...done.
Loaded symbols for /lib/libssl.so.4
Reading symbols from /lib/libcrypto.so.4...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /lib/tls/i686/libdb-4.2.so...done.
Loaded symbols for /lib/tls/i686/libdb-4.2.so
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1208244544 (LWP 29765)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
0x007f37a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) Detaching from program: /usr/libexec/postfix/smtpd, process 29765
------------------------------------------------------------------------

All traces show the crash in _dl_sysinfo_int80 for those who are 
interested in licking this one. Are there any debug rpms available?