Pan crashing in libgnuregex after -pthread switchover

Jason Andresen jandrese at mitre.org
Fri Mar 19 06:36:30 PST 2004


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 at mitre.org
  |\/ |  |    |    / _|  Network and Distributed Systems Engineer
_|  _|___|  _| _|_\___| Office: 703-883-7755



More information about the freebsd-current mailing list