Re: [mp2] segfaulting apache in ap_pcw_walk_files_config

[prev] [thread] [next] [Date index for 2005/05/26]

From: Flavio Curti
Subject: Re: [mp2] segfaulting apache in ap_pcw_walk_files_config
Date: 09:50 on 26 May 2005
On 5/26/05, Philippe M. Chiasson <gozer@xxxxxxxxx.xxx> wrote:
> Oupss, my bad, that should have been
> (gdb) print *s
> (gdb) print *dconf
(gdb) print *s
$1 =3D {process =3D 0x80c0120, next =3D 0x935a270, defn_name =3D 0x0,=20
  defn_line_number =3D 0, server_admin =3D 0x81e8678 "you@xxxxxxx.xxx",=20
  server_hostname =3D 0x81e84d8 "localhost", port =3D 8529,=20
  error_fname =3D 0x81e85d0
"/usr/src/debian-packages/cyb-mod-perl2/mod_perl-2.0.0/t/logs/error_log",
error_log =3D 0x80f8240, loglevel =3D 7, is_virtual =3D 0,
  module_config =3D 0x80fc240, lookup_defaults =3D 0x80fd590, addrs =3D 0x8=
0fc1d8,=20
  timeout =3D 300000000, keep_alive_timeout =3D 15000000, keep_alive_max =
=3D 100,=20
  keep_alive =3D 1, path =3D 0x0, pathlen =3D 0, names =3D 0x0, wild_names =
=3D 0x0,=20
  limit_req_line =3D 8190, limit_req_fieldsize =3D 8190, limit_req_fields =
=3D 100}
(gdb) print *dconf
$2 =3D {d =3D 0x0, d_components =3D 0, opts =3D 31 '\037', opts_add =3D 0 '=
\0',=20
  opts_remove =3D 0 '\0', override =3D 63 '?', ap_default_type =3D 0x0,=20
  satisfy =3D 0x80fe528, ap_auth_type =3D 0x0, ap_auth_name =3D 0x0,=20
  ap_requires =3D 0x0, response_code_strings =3D 0x0, hostname_lookups =3D =
0,=20
  do_rfc1413 =3D -2, content_md5 =3D -2, use_canonical_name =3D 3, d_is_fnm=
atch =3D 0,=20
  add_default_charset =3D 2, add_default_charset_name =3D 0x80a76f7 "iso-88=
59-1",=20
  limit_cpu =3D 0x0, limit_mem =3D 0x0, limit_nproc =3D 0x0, limit_req_body=
 =3D -1,=20
  limit_xml_body =3D -1, server_signature =3D 4294967295, loglevel =3D 2,=
=20
  sec_file =3D 0x0, r =3D 0x80fe628, mime_type =3D 0x0, handler =3D 0x0,=20
  output_filters =3D 0x0, input_filters =3D 0x0, accept_path_info =3D 0,=20
  ct_output_filters =3D 0x3, etag_bits =3D 0, etag_add =3D 0, etag_remove =
=3D 0,=20
  enable_mmap =3D 0, enable_sendfile =3D 0, allow_encoded_slashes =3D 0}
(gdb)=20
> Okay, so you've got a slightly strange build situation ;-)

Yes I realized this as well and tried different thing for normalising
it. I compiled Apache the standard way and it didn't help out. Except
from the httpd2 packages this is a stock debian sarge and sid
system...

Anyway, I will send you the configure commands from my custom debian Packag=
es:

> Can you send me the _exact_ commands you use to configure apache and mod_=
perl ?
(I noticed that I set CFLAGS for the apache build but none for
mod_perl and tried setting the sames for mod_perl, didn't help)
mod-perl:
  perl Makefile.PL MP_APXS=3D/usr/sbin/apxs MP_DEBUG=3D1

Apache:
        CFLAGS=3D"-Wall -g -O2 -pipe -I/usr/include/xmltok
-I/usr/include/openssl  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 "
LDFLAGS=3D"-ldl -lexpat -lcrypt -ldb-4.2" \
./configure \
--with-program-name=3Dhttpd2 --with-dbm=3Ddb42 \
        --enable-logio \
--localstatedir=3D/var/log/apache \
--with-mpm=3Dprefork \
--enable-so \
--enable-charset-lite \
--enable-deflate=3Dshared \
--enable-mime-magic=3Dshared \
--enable-cern-meta \
--enable-expires=3Dshared \
--enable-headers \
--enable-ssl=3Dshared \
--enable-proxy=3Dshared \
--enable-proxy-connect=3Dshared \
--enable-proxy-ftp=3Dshared \
--enable-proxy-http=3Dshared \
--enable-http \
--enable-info=3Dshared \
--enable-cgi=3Dshared \
--enable-cache=3Dshared \
--enable-mem-cache=3Dshared \
--enable-disk-cache=3Dshared \
--enable-usertrack=3Dshared \
--enable-unique-id=3Dshared \
--enable-dav=3Dshared \
--enable-dav-fs=3Dshared \
--enable-vhost-alias=3Dshared \
--enable-auth=3Dshared \
--enable-auth-anon=3Dshared \
--enable-auth-dbm=3Dshared \
--enable-auth-digest=3Dshared \
--enable-file-cache=3Dshared \
--enable-speling=3Dshared \
--enable-rewrite=3Dshared \
--with-suexec-bin \
--enable-layout=3DCyberlink

Hope that helps and thank you

Flavio Curti
--=20
http://no-way.org/~fcu/

(message missing)

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config
Philippe M. Chiasson 06:22 on 24 May 2005

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config
Philippe M. Chiasson 04:52 on 25 May 2005

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config
Philippe M. Chiasson 09:16 on 25 May 2005

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config
Philippe M. Chiasson 09:23 on 26 May 2005

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config
Flavio Curti 09:50 on 26 May 2005

Generated at 20:12 on 05 Jun 2005 by mariachi v0.52