From owner-freebsd-questions@FreeBSD.ORG Sat Jan 29 20:00:15 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4014916A4CE for ; Sat, 29 Jan 2005 20:00:15 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCF6043D48 for ; Sat, 29 Jan 2005 20:00:14 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so27926wri for ; Sat, 29 Jan 2005 12:00:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=PZySzSea+yfls4gqA6DvjielLtWcUCBfhnejp4g5RpAt4YguUdnGBDeBQbcmfYdP0N2Lb3zI3XpvyhS5/+etho2LsLl85JBPI9lwqD6n5EOBA0L7VDeiki5pFFLJ2XUyreftmmjdzRt1RGelI80/mkskE5nnz7WduqpdLDlzkBE= Received: by 10.54.28.80 with SMTP id b80mr5830wrb; Sat, 29 Jan 2005 12:00:14 -0800 (PST) Received: by 10.54.29.48 with HTTP; Sat, 29 Jan 2005 12:00:13 -0800 (PST) Message-ID: <790a9fff0501291200160fe8f1@mail.gmail.com> Date: Sat, 29 Jan 2005 14:00:13 -0600 From: Scot Hetzel To: Mikhail Teterin In-Reply-To: <200501282159.21711.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200501282159.21711.mi+mx@aldan.algebra.com> cc: questions@freebsd.org Subject: Re: Cyrus IMAP crashes after reading /etc/krb5.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Scot Hetzel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2005 20:00:15 -0000 On Fri, 28 Jan 2005 21:59:21 -0500, Mikhail Teterin 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*// -c //.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.