caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: caml-list@inria.fr
Subject: Re: [Caml-list] mod_caml makes Apache segfault
Date: Mon, 6 Sep 2004 17:03:42 +0100	[thread overview]
Message-ID: <20040906160342.GA1808@annexia.org> (raw)
In-Reply-To: <20040906155041.GG7964@alan-schm1p>

[-- Attachment #1: Type: text/plain, Size: 2045 bytes --]

On Mon, Sep 06, 2004 at 05:50:41PM +0200, Alan Schmitt wrote:
> Hi,
> 
> In order to play with cocanwiki, I am currently trying to get mod_caml 
> 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=27550

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 
> to specify two paths for includes:
> PACHEINCDIR := /usr/include/httpd -I /usr/include/apr-0
> 
> I think this is a bug from RedHat (there is a apr.h included from 
> httpd.h without the correct include path).
> 
> I have installed mod_caml following the instruction, added a 
> "LoadModule" line in the config file:
> LoadModule caml_module modules/mod_caml.so
> and restarted httpd.
> 
> The problem is that now Apache does not serve any pages, and I see in 
> the logs a bunch of:
> 
> [Mon Sep 06 14:46:43 2004] [notice] child pid 26207 exit signal Segmentation fault (11)
> [Mon Sep 06 14:46:43 2004] [notice] child pid 26209 exit signal Segmentation fault (11)
> [Mon Sep 06 14:46:52 2004] [notice] child pid 26210 exit signal Segmentation fault (11)
> 
> 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.


-- 
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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-09-06 16:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-06 15:50 Alan Schmitt
2004-09-06 16:02 ` Benjamin Geer
2004-09-06 16:03 ` Richard Jones [this message]
2004-09-07  6:50   ` Alan Schmitt
2004-09-07  8:34     ` Richard Jones
2004-11-09 18:02   ` Paul Argentoff
2004-11-10  3:52     ` N. Owen Gunden
2004-11-10  9:35       ` Richard Jones
2004-11-10 15:27         ` Paul Argentoff
2004-11-10 15:25       ` Paul Argentoff
2004-09-06 16:08 ` [Caml-list] ocamllex parametrized parse regexp lehalle@miriad
2004-09-06 17:34   ` Luc Maranget
2004-09-06 17:49   ` skaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040906160342.GA1808@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).