From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA20201; Mon, 6 Sep 2004 18:03:44 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA20155 for ; Mon, 6 Sep 2004 18:03:43 +0200 (MET DST) Received: from annexia.force9.co.uk (annexia.force9.co.uk [212.56.101.183]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i86G3hFV013098 for ; Mon, 6 Sep 2004 18:03:43 +0200 Received: from rich by annexia.force9.co.uk with local (Exim 3.36 #1 (Debian)) id 1C4Ly2-0000Ty-00 for ; Mon, 06 Sep 2004 17:03:42 +0100 Date: Mon, 6 Sep 2004 17:03:42 +0100 To: caml-list@inria.fr Subject: Re: [Caml-list] mod_caml makes Apache segfault Message-ID: <20040906160342.GA1808@annexia.org> References: <20040906155041.GG7964@alan-schm1p> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <20040906155041.GG7964@alan-schm1p> User-Agent: Mutt/1.5.5.1+cvs20040105i From: Richard Jones X-Miltered: at concorde with ID 413C8A5F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 segfault:01 2004:99 show-stopper:01 bug:01 pcre:01 bugzilla:01 bug:01 usr:01 httpd:01 usr:01 httpd:01 restarted:01 2004:99 pcre:01 X-Attachments: type="application/pgp-signature" name="signature.asc" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 06, 2004 at 05:50:41PM +0200, Alan Schmitt wrote: > Hi, >=20 > In order to play with cocanwiki, I am currently trying to get mod_caml=20 > to work on a server here (Fedora Core 1, Apache 2.0.50). Hi Alan, First thing to say is that there is a show-stopper bug in Apache 2 which prevents modules which use PCRE from working. mod_caml is one of those modules: http://issues.apache.org/bugzilla/show_bug.cgi?id=3D27550 If you want to see this bug fixed, please add your comments to that page. There are suggestions on that page for compiling a version of Apache which doesn't cause conflicting symbols, however it's probably a case of it's easier to use a version of Apache 1.3 precompiled for FC1, which definitely should work. > First of all, a small trick: in order to get mod_caml to compile, I had= =20 > to specify two paths for includes: > PACHEINCDIR :=3D /usr/include/httpd -I /usr/include/apr-0 >=20 > I think this is a bug from RedHat (there is a apr.h included from=20 > httpd.h without the correct include path). >=20 > I have installed mod_caml following the instruction, added a=20 > "LoadModule" line in the config file: > LoadModule caml_module modules/mod_caml.so > and restarted httpd. >=20 > The problem is that now Apache does not serve any pages, and I see in=20 > the logs a bunch of: >=20 > [Mon Sep 06 14:46:43 2004] [notice] child pid 26207 exit signal Segmentat= ion fault (11) > [Mon Sep 06 14:46:43 2004] [notice] child pid 26209 exit signal Segmentat= ion fault (11) > [Mon Sep 06 14:46:52 2004] [notice] child pid 26210 exit signal Segmentat= ion fault (11) >=20 > Does someone know how to get mod_caml to work on such FC1 with Apache 2? Just to check it is the PCRE bug, can you get a stack trace. IIRC the command is: gdb run /usr/sbin/apache -X [segfault] bt Rich. --=20 Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment http://www.YouUnlimited.co.uk/ - management courses --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFBPIpe4le1M6q9pzoRAh1/AJ9SCFi0ArPanSWTfex5YfNF+AmGmgCfQlro sEfdw+r9+pSRV2xvMWNuvvw= =SOlw -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners