Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2004 09:36:13 -0500
From:      Jason Andresen <jandrese@mitre.org>
To:        Peter Edwards <peter.edwards@openet-telecom.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Pan crashing in libgnuregex after -pthread switchover
Message-ID:  <405B055D.30203@mitre.org>
In-Reply-To: <4059E668.1030405@openet-telecom.com>
References:  <4058AC1C.10208@mitre.org> <xzpwu5i7s9v.fsf@dwp.des.no> <4059B9CD.1010003@openet-telecom.com> <4059C3B0.4080003@mitre.org> <20040318095842.W62520@carver.gumbysoft.com> <4059E668.1030405@openet-telecom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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