Date: Tue, 20 Mar 2001 14:24:20 -0800 From: Sean Chittenden <sean-freebsd-stable@chittenden.org> To: stable@freebsd.org Subject: 4.3 and mod_perl aren't playing nice together... (was :Re: Apache 1.3.19 does not work out of jail either -- UPDATED) Message-ID: <20010320142420.C88245@rand.tgd.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] I don't know if this increases the severity at all, but I can reproduce this on two different machines both using mod_perl, and using either 1.3.19 and 1.3.17. The catch all that's prevented me from taking this to the apache/mod_perl folks is that it builds a-okay on my 4.2 system. Can someone else try to repeat this? -sc (gdb) bt #0 0x2833f550 in sysctl () from /usr/lib/libc.so.4 #1 0x28354fde in .cerror () from /usr/lib/libc.so.4 #2 0x28354ede in exit () from /usr/lib/libc.so.4 #3 0x80bee1c in clean_parent_exit (code=0) at http_main.c:2279 #4 0x80c20d9 in main (argc=2, argv=0xbfbffa1c) at http_main.c:5099 #5 0x805a06b in _start () PS Adding a ServerName directive doesn't fix this. On Fri, Mar 16, 2001 at 11:58:33AM -0800, Sean Chittenden wrote: > Alright, here's the scenario (I don't use jail and it still breaks): > > rand# perl Makefile.PL APACHE_PREFIX=/www/testing APACHE_SRC=../apache-1.3.19/src DO_HTTPD=1 USEA_APACI=1 EVERYTHING=1 > 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 > [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)...done. > Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. > 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 > (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. > > > > mod_perl + kernel (Tuesday build) = problem with sysctl > > > > 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 > > -- > Sean Chittenden sean@chittenden.org -- Sean Chittenden sean@chittenden.org [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Comment: For info see http://www.gnupg.org iEYEARECAAYFAjq32JQACgkQn09c7x7d+q1DYwCeJpVLiRZ18I8qod8682C4Oz+t gB8AoNtHmrcbANslI4XGs2osCBOgC5df =oSW5 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010320142420.C88245>
