Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2005 14:00:13 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Mikhail Teterin <mi+mx@aldan.algebra.com>
Cc:        questions@freebsd.org
Subject:   Re: Cyrus IMAP crashes after reading /etc/krb5.conf
Message-ID:  <790a9fff0501291200160fe8f1@mail.gmail.com>
In-Reply-To: <200501282159.21711.mi%2Bmx@aldan.algebra.com>
References:  <200501282159.21711.mi%2Bmx@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Jan 2005 21:59:21 -0500, Mikhail Teterin
<mi+mx@aldan.algebra.com> wrote:
> Hello!
> 
> I'm trying to configure a freshly built mail/cyrus-imapd22 to work and
> authenticate accounts -- Kerberos and plain text.
> 
> The GSSAPI authentication works already. After doing kinit, I can do ``imtest
> -m GSSAPI hostname'' and it succeeds.
> 
> Now I'm trying to login with plain text (over SSL). Cyrus' imapd keeps
> crashing from SIGBUS. According to ktrace, this happens right after reading
> the krb5.conf (I replaced our domain with "example" below):
> 
The freebsd-security list is for security issue with the FreeBSD
operating system.
Your question involves a port question. freebsd-questions, cyrus
mailing list, or freebsd-ports is where you should have posted.

You'll need to use gdb on the cyrus-imapd .core file to find out where
it is failing.
You'll also need a version of the cyrus-imapd compiled with debugging
symbols to get something usefull out of gdb.

i.e.

gdb /usr/ports/mail/cyrus-imapd22/work/cyrus-imapd-2.2*/<location of
file>/<name of cyrus-imapd> -c /<location of core file>/<name of
cyrus-imapd>.core

(check the man page, I'm not sure -c is correct for the core file)

then use bt (backtrace) in gdb and it will show you the src file &
function where the failure is occuring. You may also want to look at
the values of some of the variables (i.e. p varname, p *varname, p
&varname)

Scot

PS. I BCC freebsd-security, do not post any replies there.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0501291200160fe8f1>