From owner-freebsd-ports@FreeBSD.ORG Thu Feb 9 06:16:24 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FE9D16A420; Thu, 9 Feb 2006 06:16:24 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 798FE43D46; Thu, 9 Feb 2006 06:16:22 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.4/8.13.4) with ESMTP id k196GP88032225; Thu, 9 Feb 2006 01:16:25 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: eculp@encontacto.net In-Reply-To: <20060208170251.3muhgn2xickwcsgg@mail.encontacto.net> References: <43E9FFAE.5020500@FreeBSD.org> <20060208133916.dzyx74skookookk4@mail.encontacto.net> <43EA4F1F.8060206@FreeBSD.org> <20060208142856.0ojbnsgmmw0c80o0@mail.encontacto.net> <43EA62F9.60604@FreeBSD.org> <20060208170251.3muhgn2xickwcsgg@mail.encontacto.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1s7FfBvkXvmAXhHSPNvt" Organization: MarcusCom, Inc. Date: Thu, 09 Feb 2006 01:16:16 -0500 Message-Id: <1139465776.54060.1.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Cc: freebsd-ports@freebsd.org, Alex Dupre Subject: Re: gamin 0.1.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 06:16:24 -0000 --=-1s7FfBvkXvmAXhHSPNvt Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2006-02-08 at 17:02 -0600, eculp@encontacto.net wrote: > Quoting Alex Dupre : >=20 > > eculp@encontacto.net wrote: > >> IIRC, gamin was dumping core, but since it was a production server I=20 > >> didn't look further but went back to courier. > > > > Was the gam_server to dump core or the courier-imap using libgamin?=20 > > If it was the former it never happened to me, the latter could be a=20 > > courier bug exploited by an unexpected different behaviour of gamin. > > > >> If you think the new version has a chance of working with courier, I=20 > >> could give it a try. Early tomorrow morning or maybe this evening=20 > >> if I can get caught up. (CST). > > > > Giving a real quick look at courier source code I can see a few=20 > > potential bugs regarding missing or uncorrect checks of FAMPending=20 > > return values. I don't know if they can cause logical errors and dump=20 > > core, but surely the fam integration is not perfect. The quick answer=20 > > is "try the new version", even if the probabilities are not many. >=20 > Alex, I was mistaken. I just deinstalled fam and installed the new=20 > gamin port and found that the real problem is that imapd is dumping=20 > core not gamin. >=20 > Feb 8 16:47:58 home kernel: pid 58199 (imapd), uid 80: exited on=20 > signal 11 (core dumped) > Feb 8 16:48:01 home kernel: pid 58201 (imapd), uid 80: exited on=20 > signal 11 (core dumped) > Feb 8 16:48:03 home kernel: pid 58198 (imapd), uid 80: exited on=20 > signal 11 (core dumped) >=20 > and dumping with an Sig 11 that I hate. I always think memory but=20 > switching back to fam it again works perfectly. Not much help I'm=20 > afraid. If there is anything special that I can test for you, let me=20 > know. I've got both compiled now so it isn't difficult to switch back=20 > and forth. Signal 11 is a segmentation fault indicating a NULL pointer dereference. Compile courier with debugging symbols, then get a full backtrace when imapd dumps core: gdb imapd imapd.core (gdb) bt full Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-1s7FfBvkXvmAXhHSPNvt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBD6t4wb2iPiv4Uz4cRAlLzAJ4nDsnFXAAGZOb2pZ2+nTR0M0RRBACcDpu5 EK129YEmYho6mJ/Tokra+0I= =bY8D -----END PGP SIGNATURE----- --=-1s7FfBvkXvmAXhHSPNvt--