You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/08/15 01:36:18 UTC

can't even start httpd 2.0.47

I've tried to test whether mp2 works fine with 2.0.47, but I couldn't even 
start 2.0.47. It segfaults at the startup:

Switching to Thread 1078145696 (LWP 25292)]
ap_hook_translate_name (pf=0x81330a8, aszPre=0x5c, aszSucc=0xbffff248,
     nOrder=1076284261) at request.c:107
107     AP_IMPLEMENT_HOOK_RUN_FIRST(int,translate_name,
(gdb) bt
#0  ap_hook_translate_name (pf=0x81330a8, aszPre=0x5c, aszSucc=0xbffff248,
     nOrder=1076284261) at request.c:107
#1  0x00000000 in ?? ()
#2  0x400162e0 in __libc_missing_32bit_uids () from /lib/ld-linux.so.2
#3  0xbffff238 in ?? ()
#4  0x080d9755 in ap_register_hooks (m=0x81330a8, p=0x5c) at config.c:439
Previous frame identical to this frame (corrupt stack?)
(gdb) The program is running.  Exit anyway? (y or n) y

The httpd was built as:

CFLAGS="-O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED"                   \
./configure --prefix=/home/stas/httpd/prefork-2.0.47           \
--with-mpm=prefork                                             \
--enable-maintainer-mode                                       \
--enable-so --enable-shared                                    \
--enable-auth-anon  --enable-maintainer-mode                   \
--enable-auth-dbm   --enable-auth-db    --enable-auth-digest   \
--enable-file-cache --enable-echo       --enable-cache         \
--enable-mime-magic --enable-usertrack  --enable-vhost-alias   \
--enable-cern-meta  --enable-expires    --enable-headers       \
--enable-unique-id  --enable-proxy      --enable-proxy-connect \
--enable-proxy-ftp  --enable-proxy-http --enable-dav           \
--enable-suexec     --enable-cgi        --enable-dav-fs        \
--enable-rewrite    --enable-info       --enable-deflate       \
--enable-ssl --with-ssl=/usr/include/

Anybody has a better luck with it?

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: can't even start httpd 2.0.47

Posted by Geoffrey Young <ge...@modperlcookbook.org>.

Stas Bekman wrote:
> Stas Bekman wrote:
> 
>> I've tried to test whether mp2 works fine with 2.0.47, but I couldn't
>> even start 2.0.47. It segfaults at the startup:
> 
> 
> the same story with 2.0.48.
> 
> it segfaults doing a simple thing like 'httpd -h'
> 
> It does work starting with 2.0.49. I suppose that it has something to do
> with the compiler. I had an older version of gcc back when those older
> versions were released.

hmm, I have no problem getting 2.0.47 to work with this compiler:

  gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: can't even start httpd 2.0.47

Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> I've tried to test whether mp2 works fine with 2.0.47, but I couldn't 
> even start 2.0.47. It segfaults at the startup:

the same story with 2.0.48.

it segfaults doing a simple thing like 'httpd -h'

It does work starting with 2.0.49. I suppose that it has something to do 
with the compiler. I had an older version of gcc back when those older 
versions were released.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org