[Dovecot] Solaris 10 x64 - crash report
Dear dovecot-devel
I have a newly built dovecot-1.0.beta8 crashing at start
May 16 11:11:33 zorch dovecot: [ID 475045 mail.info] Dovecot v1.0.beta8 starting up May 16 11:11:34 zorch dovecot: [ID 920869 mail.error] Login process died too early - shutting down May 16 11:11:34 zorch dovecot: [ID 684838 mail.error] child 28853 (login) killed with signal 11
Built on Solaris 10u1 x64 with Studio11 sun compiler, using
LDFLAGS=-L/opt/csw/lib -R/opt/csw/lib -lssl CPPFLAGS=-I/opt/csw/include ./configure --prefix=/usr/local/dovecot-1.0.beta8 --with-ldap
which begat
[12:40:20][root@zorch:/usr/local/dovecot-1.0.beta8/libexec/dovecot]$ ldd dovecot-auth libssl.so.0.9.8 => /opt/csw/lib/libssl.so.0.9.8 libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1 libpam.so.1 => /lib/libpam.so.1 libldap-2.3.so.0 => /opt/csw/lib/libldap-2.3.so.0 libsocket.so.1 => /lib/libsocket.so.1 libnsl.so.1 => /lib/libnsl.so.1 librt.so.1 => /lib/librt.so.1 libsendfile.so.1 => /lib/libsendfile.so.1 libc.so.1 => /lib/libc.so.1 libcrypto.so.0.9.8 => /opt/csw/lib/libcrypto.so.0.9.8 libdl.so.1 => /lib/libdl.so.1 libgen.so.1 => /lib/libgen.so.1 libcmd.so.1 => /lib/libcmd.so.1 liblber-2.3.so.0 => /opt/csw/lib/pentium/liblber-2.3.so.0 libresolv.so.2 => /lib/libresolv.so.2 libnet.so => /opt/csw/lib/i386/libnet.so libsasl2.so.2 => /opt/csw/lib/i386/libsasl2.so.2 libssl.so.0.9.8 => /opt/csw/lib/pentium/libssl.so.0.9.8 libcrypto.so.0.9.8 => /opt/csw/lib/pentium/libcrypto.so.0.9.8 libmp.so.2 => /lib/libmp.so.2 libmd5.so.1 => /lib/libmd5.so.1 libscf.so.1 => /lib/libscf.so.1 libaio.so.1 => /lib/libaio.so.1 libdoor.so.1 => /lib/libdoor.so.1 libuutil.so.1 => /lib/libuutil.so.1 libm.so.2 => /lib/libm.so.2
which is run using this grep -v '#'ed conf file
protocols = imap ssl_disable = yes login_user = dovecot mail_debug = yes default_mail_env = maildir:~/.maildir protocol imap { listen = *:145 imap_client_workarounds = outlook-idle }
protocol pop3 { } auth_verbose = yes auth_debug = yes auth_debug_passwords = yes auth default { mechanisms = plain passdb pam { } passdb ldap { args = /usr/local/dovecot-1.0.beta8/etc/dovecot-ldap.conf } userdb passwd { } userdb ldap { args = /usr/local/dovecot-1.0.beta8/etc/dovecot-ldap.conf } user = root } plugin { }
which begat
-rw------- 1 root root 4212175 May 16 12:15 /usr/local/dovecot-1.0.beta8/var/run/dovecot/core
I notice in the configure script, that it's building with the system ldap.h, which I don't think is openldap. however the bin is linked to the lib from blastwave.org which is openldap.
How can I specify the correct inc/lib pair? if this is indeed the problem.
Please tell me how to produce a backtrace if one is needed if this is an actual bug.....
Cheers
Rob
-- Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ rob@techniumcast.com | 01248 671928 | 07776 210516
On Tue, 16 May 2006, Rob Shepherd wrote:
Please tell me how to produce a backtrace if one is needed if this is an actual bug.....
Hi, First, make sure that:
mail_drop_priv_before_exec = yes
is set in your dovecot.conf file so you get core dumps. If you have one, maybe you did this already. Then do a "file core" to find out what process caused the core, eg imap.
What I do is move the core file to the same directory as the executable, and run gdb:
gdb imap core backtrace
following by further poking around with gdb. I compile dovecot with gcc, but the idea is the same.
Jeff Earickson Colby College
participants (2)
-
Jeff A. Earickson
-
Rob Shepherd