By Date: <-- -->
By Thread: <-- -->

Problem with pcre on SuSE and Gentoo



There is a problem with the pcre library in conjunction with the Apache Web server on SuSE and Gentoo platforms. This issue has been known for a while in the Apache / PHP community and is documented – among other places – here:

 

http://mail-archives.apache.org/mod_mbox/httpd-bugs/200408.mbox/%3C20040810065249.27978.qmail (at) nagoya.betaversion.org%3E

 

It does not affect FC, RHEL, and CentOS because the Apache RPM for these distributions is patched to not use the internal pcre library that comes with Apache but instead use the external one installed using a separate RPM.

 

What happens: When sipXpbx is started Apache core dumps when loading the module mod_sipxauth. The last call in strace is to pcre.

 

On SuSE Apache 2.0.54 includes pcre-3.9 and I suspect the core dump occurs because pcre-3.9 is incompatible with pcre-4.5 or pcre-5.0 used by sipxpbx.

 

Does this problem ring a bell with anyone?

 

Apache 2.2 potentially fixes this issue (FC5 and SuSE 10.1) as there now is an option to either use the internal or external pcre library. In addition they seem to have upgraded to pcre-5.0. It is unclear though at this point whether the Apache 2.2 RPM distributed with these distributions will be standard built to either use the internal or external version of pcre.

 

--martin

 

_______________________________________________
sipx-dev mailing list
sipx-dev (at) list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev