[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-06-20 (20:40) |
From: | Alex Samokhvalov <bss98alx@s...> |
Subject: | Re: [Caml-list] mod_caml 1.1.6 |
On 2004-06-20 13:08 Richard Jones wrote: > On Sun, Jun 20, 2004 at 01:45:17PM +0200, Alex Samokhvalov wrote: > > Hi all, > > > > i tried to install mod_caml 1.1.6 on apache 1.3. In both cases i receive > > the same error: > [...] > > #0 0x40226c80 in mod_caml_get_dir_config () > > from /usr/local/apache/libexec/mod_caml.so > > (gdb) bt > > #0 0x40226c80 in mod_caml_get_dir_config () > > from /usr/local/apache/libexec/mod_caml.so > > Ouch, not nice. > > Although I suspect it won't make a difference, can you make sure > you're running the latest version of mod_caml from CVS, which you can > find here: > > https://savannah.nongnu.org/cvs/?group=modcaml > (section: Anonymous CVS Access / Software repository) > > The function where it's segfaulting is very simple: > > CAMLprim value > mod_caml_get_dir_config (value rv) > { > CAMLparam1 (rv); > CAMLlocal1 (config); > request_rec *r = Request_rec_val (rv); > config = *(value *) ap_get_module_config (r->per_dir_config, &caml_module); > CAMLreturn (config); > } As you wrote: ... fprintf (stderr, "rv = %p, r = %p, r->per_dir_config = %p, " "r->server->module_config = %p\n", rv, r, r->per_dir_config, r->server->module_config); config = *(value *) ap_get_module_config (r->per_dir_config, &caml_module); fprintf (stderr, "ap_get_module_config done\n"); ... then the error_log contains: rv = 0x403b74cc, r = 0x80f5924, r->per_dir_config = (nil), r->server->module_config = 0x80b20e4 Alex ------------------- 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