Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 11:58:33 -0800
From:      Sean Chittenden <sean-freebsd-stable@chittenden.org>
To:        stable@freebsd.org
Cc:        Henk Wevers <henk@home.cg.nu>, 'Miklos Niedermayer' <mico@bsd.hu>
Subject:   Re: Apache 1.3.19 does not work out of jail either -- UPDATED
Message-ID:  <20010316115833.C61074@rand.tgd.net>
In-Reply-To: <20010316112509.A61074@rand.tgd.net>; from "sean-freebsd-stable@chittenden.org" on Fri, Mar 16, 2001 at = 11:25:10AM
References:  <20010316195832.A241@fmdb.c3.hu> <006b01c0ae4b$b74cd560$08010a0a@kpnlep> <20010316112509.A61074@rand.tgd.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--VywGB/WGlW4DM4P8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

	Alright, here's the scenario (I don't use jail and it still breaks):

rand# perl Makefile.PL APACHE_PREFIX=3D/www/testing APACHE_SRC=3D../apache-=
1.3.19/src DO_HTTPD=3D1 USEA_APACI=3D1 EVERYTHING=3D1
Will configure via APACI
[... many lines later...]
Creating Makefile in src
 + configured for FreeBSD 4.3 platform
 + setting C pre-processor to cc -E
 + checking for system header files
 + adding selected modules
    o perl_module uses ConfigStart/End
      + mod_perl build type: OBJ
      + id: mod_perl/1.25
      + id: Perl/5.00503 (freebsd) [perl]
      + setting up mod_perl build environment
      + adjusting Apache build environment
      + enabling Perl support for SSI (mod_include)
[snip]
rand# make install

rand# /www/testing/bin/apachectl configtest
Syntax OK
Segmentation fault - core dumped

rand# ll httpd.core
-rw-------  1 root  wheel  823296 Mar 16 11:40 httpd.core

rand# gdb /www/testing/bin/httpd httpd.core=20
[snip]
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols found).=
..
done.
Reading symbols from /usr/lib/libperl.so.3...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...do=
ne.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...do=
ne.
Reading symbols from /usr/lib/libc_r.so.4...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libutil.so.3...(no debugging symbols found)...
done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found=
)...
done.
#0  0x2822f53c in sysctl () from /usr/lib/libc.so.4

(gdb) bt
#0  0x2822f53c in sysctl () from /usr/lib/libc.so.4
#1  0x28244fca in .cerror () from /usr/lib/libc.so.4
#2  0x28244eca in exit () from /usr/lib/libc.so.4
#3  0x80a6b9f in main ()
#4  0x80549c3 in _start ()

(gdb) run
Starting program: /www/testing/bin/httpd=20
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x2822f53c in sysctl () from /usr/lib/libc.so.4

	And there 'ya have it.  I don't know where to begin proding,
but I'll keep the binaries around incase someone else has any
questions or wants more information.  -sc

> 	I did some looking into this because I had the same problem.
>=20
> mod_perl + kernel (Tuesday build) =3D problem with sysctl
>=20
> 	I'll rebuild apache with mod_perl and see if I can get more
> problems, but I remember looking into it and finding that sysctl() was
> where it wasy dying.  Thoughts anyone?  -sc

--=20
Sean Chittenden                sean@chittenden.org

--VywGB/WGlW4DM4P8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjqycGkACgkQn09c7x7d+q0lTACdFzVrLNdrBywm/vmM7DmNR7fy
FO4AnA5mcxIne26HW2CDs/w3nBJdrkMI
=ucqD
-----END PGP SIGNATURE-----

--VywGB/WGlW4DM4P8--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010316115833.C61074>