From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 17 13:20:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C2A51065670 for ; Tue, 17 Jan 2012 13:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 02F028FC0C for ; Tue, 17 Jan 2012 13:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0HDKA89051293 for ; Tue, 17 Jan 2012 13:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0HDKAsR051292; Tue, 17 Jan 2012 13:20:10 GMT (envelope-from gnats) Resent-Date: Tue, 17 Jan 2012 13:20:10 GMT Resent-Message-Id: <201201171320.q0HDKAsR051292@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Geoffroy Desvernay Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19601106566B for ; Tue, 17 Jan 2012 13:16:36 +0000 (UTC) (envelope-from root@ec-m.fr) Received: from meli.ec-m.fr (meli.ec-m.fr [147.94.19.138]) by mx1.freebsd.org (Postfix) with ESMTP id C7BF88FC14 for ; Tue, 17 Jan 2012 13:16:35 +0000 (UTC) Received: from amavis3.serv.int (amavis3.serv.int [10.3.0.47]) by meli.ec-m.fr (GrosseBox 1743 XXL) with ESMTP id 6D96827883F; Tue, 17 Jan 2012 14:16:35 +0100 (CET) Received: from meli.ec-m.fr ([10.3.0.12]) by amavis3.serv.int (amavis3.serv.int [10.3.0.47]) (amavisd-new, port 10024) with LMTP id In03sZqorMif; Tue, 17 Jan 2012 14:16:28 +0100 (CET) Received: from dgeo.sysadm.ec-m.fr (dgeo.sysadm.ec-m.fr [147.94.19.169]) by meli.ec-m.fr (GrosseBox 1743 XXL) with ESMTP id 3EB492789E7; Tue, 17 Jan 2012 14:16:29 +0100 (CET) Received: by dgeo.sysadm.ec-m.fr (Postfix, from userid 0) id 970491CCFB; Tue, 17 Jan 2012 14:16:28 +0100 (CET) Message-Id: <20120117131628.970491CCFB@dgeo.sysadm.ec-m.fr> Date: Tue, 17 Jan 2012 14:16:28 +0100 (CET) From: Geoffroy Desvernay To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: gecko@FreeBSD.org, dgeo@centrale-marseille.fr Subject: ports/164239: [PATCH] mail/thunderbird: crash with nss_ldap X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 13:20:11 -0000 >Number: 164239 >Category: ports >Synopsis: [PATCH] mail/thunderbird: crash with nss_ldap >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 17 13:20:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Geoffroy Desvernay >Release: FreeBSD 9.0-RELEASE amd64 >Organization: Ecole Centrale de Marseille >Environment: System: FreeBSD dgeo.sysadm.ec-m.fr 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sun Jan 15 17:00:54 CET 2012 >Description: Crash 'signal 11' instead of launching thunderbird if using an LDAP (via nss_ldap) account. backtrace ends in ldap_ functions. Making some research about this sig11 crash made me find that this port seems to be missing CFLAGS+= -DLDAP_DEPRECATED (at least works for meĀ®) It seems that this flag has to be set with openldap > 2.3, it should be the case in any freebsd install now (but freebsd with anciens ports of course) I'm not sure if the port should include 'USE_OPENLDAP' or CFLAG or a patch ? This (old) gnome bug seems to indicate that it should be done in the port: https://bugzilla.gnome.org/show_bug.cgi?id=456276 (already referenced in 2007: http://freebsd.monkey.org/freebsd-gnome/200707/msg00104.html) googling for "thunderbird ldap crash nss_ldap" indicates that all *X systems using thunderbird seems to have this same problem. https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/507089 http://forums.opensuse.org/english/get-technical-help-here/applications/429617-thunderbird-3-crashes-wit-segmentation-fault-due-ldap.html padl's guys says the bug id thunderbird's: http://bugzilla.padl.com/show_bug.cgi?id=203 HTH... Port maintainer (gecko@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: Install current thunderbird port on a system using nss_ldap, then launch thunderbird with an LDAP account. >Fix: Add CFLAGS+= -DLDAP_DEPRECATED --- thunderbird-9.0.patch begins here --- diff -ruN --exclude=CVS /usr/ports/mail/thunderbird.orig/Makefile /usr/ports/mail/thunderbird/Makefile --- /usr/ports/mail/thunderbird.orig/Makefile 2011-12-22 08:17:59.000000000 +0100 +++ /usr/ports/mail/thunderbird/Makefile 2012-01-16 15:04:38.000000000 +0100 @@ -72,6 +72,8 @@ .endif .endif +CFLAGS+= -DLDAP_DEPRECATED + .if ${HAVE_GNOME:Mlibgnomeui}!="" USE_GNOME+= libgnomeui MOZ_OPTIONS+= --enable-gnomeui --- thunderbird-9.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: