From owner-freebsd-current@FreeBSD.ORG Fri Mar 19 06:36:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3D6416A4CE for ; Fri, 19 Mar 2004 06:36:29 -0800 (PST) Received: from smtp-bedford.mitre.org (smtp-bedford-x.mitre.org [192.160.51.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 882DC43D41 for ; Fri, 19 Mar 2004 06:36:29 -0800 (PST) (envelope-from jandrese@mitre.org) Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with ESMTP id i2JEaSu18877 for ; Fri, 19 Mar 2004 09:36:28 -0500 Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with ESMTP id i2JEaRc18810; Fri, 19 Mar 2004 09:36:27 -0500 Received: from mm112324-2k.mitre.org (128.29.3.14) by mailhub1.mitre.org with SMTP id 6657115; Fri, 19 Mar 2004 09:36:18 -0500 Message-ID: <405B055D.30203@mitre.org> Date: Fri, 19 Mar 2004 09:36:13 -0500 From: Jason Andresen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Edwards References: <4058AC1C.10208@mitre.org> <4059B9CD.1010003@openet-telecom.com> <4059C3B0.4080003@mitre.org> <20040318095842.W62520@carver.gumbysoft.com> <4059E668.1030405@openet-telecom.com> In-Reply-To: <4059E668.1030405@openet-telecom.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Andrey Chernov cc: freebsd-current@freebsd.org Subject: Re: Pan crashing in libgnuregex after -pthread switchover X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 14:36:30 -0000 Peter Edwards wrote: > Doug White wrote: > >> For the record, the OpenLDAP server has the same problem. >> >> >> > On reflection, I think the most likely candidate is picking up the > FreeBSD regex headers, but linking to the GNU regex library. There seems > to be some activity afoot there recently, but I wasn't been following > it. Maybe just adding -I /usr/include/gnu to the CFLAGS would help. > (I've an old mail from Andrey Chernov in my -current mailbox that > mentioned he wanted to do some work on this. Any comments, Andrey?) > That seems to fix the problem. I'm surprised that picking up the wrong include file would cause crashes at runtime, but forcing Pan to use the gnuregex header file fixed the problem. -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755